You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* We split audience from Authority URL here. Audience can be one of the following:
124
+
* The Azure AD authority audience enumeration
125
+
* The tenant ID, which can be:
126
+
* - A GUID (the ID of your Azure AD instance), for single-tenant applications
127
+
* - A domain name associated with your Azure AD instance (also for single-tenant applications)
128
+
* One of these placeholders as a tenant ID in place of the Azure AD authority audience enumeration:
129
+
* - `organizations` for a multitenant application
130
+
* - `consumers` to sign in users only with their personal accounts
131
+
* - `common` to sign in users with their work and school accounts or their personal Microsoft accounts
132
+
*
133
+
* MSAL will throw a meaningful exception if you specify both the Azure AD authority audience and the tenant ID.
134
+
* If you don't specify an audience, your app will target Azure AD and personal Microsoft accounts as an audience. (That is, it will behave as though `common` were specified.)
135
+
* More information: https://docs.microsoft.com/azure/active-directory/develop/msal-client-application-configuration
SqlClientEventSource.Log.TryTraceEvent("AcquireTokenAsync | Acquired access token for Active Directory Service Principal auth mode. Expiry Time: {0}",result.ExpiresOn);
SqlClientEventSource.Log.TryTraceEvent("AcquireTokenAsync | Acquired access token for Active Directory Service Principal auth mode. Expiry Time: {0}",accessToken.ExpiresOn);
0 commit comments