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;