Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
SQL server security team presents a code sample ( as VS project) allowing to enable communication traces for ADAL managed library used to support Universal Authentication with MFA for SQL DB ( see also Azure AD authentication extensions for Azure SQL DB and SQL DW tools ). The ADAL traces help to troubleshoot communication issues related to Azure AD and ADAL authentication. The attached C# code sample is based on existing blog post Token-based authentication including Multi-factor auth (MFA) for Azure SQL DB using Azure Active Directory (AD) (see the details there) and was extended by the ADAL traces. The sample below collects all ADAL traces and writes them to the application console. Please note that it is possible to choose different level of tracing (see the comments in the main program). For further questions on this topic please contact SQLAADAuth@microsoft.com alias.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in