From 255e904e4ded174525faeaab26c3e542fbabc6dd Mon Sep 17 00:00:00 2001 From: CeciliaAvila Date: Wed, 6 Nov 2024 11:28:20 -0300 Subject: [PATCH] Tag MsalServiceClientCredentialsFactory obsolete --- .../Authentication/MsalServiceClientCredentialsFactory.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/Microsoft.Bot.Connector/Authentication/MsalServiceClientCredentialsFactory.cs b/libraries/Microsoft.Bot.Connector/Authentication/MsalServiceClientCredentialsFactory.cs index 27f6c33d04..d1b8f77287 100644 --- a/libraries/Microsoft.Bot.Connector/Authentication/MsalServiceClientCredentialsFactory.cs +++ b/libraries/Microsoft.Bot.Connector/Authentication/MsalServiceClientCredentialsFactory.cs @@ -18,6 +18,7 @@ namespace Microsoft.Bot.Connector.Authentication /// /// Credential factory that uses MSAL to acquire tokens. /// + [Obsolete("Use the ServiceClientCredentialsFactory implementation that corresponds to the authentication type (MSI, Certificate, Federated, etc.).", false)] public class MsalServiceClientCredentialsFactory : ServiceClientCredentialsFactory { private readonly IConfidentialClientApplication _clientApplication;