Changed ExcludeSharedTokenCacheCredential
default value from false to true on DefaultAzureCredentialsOptions
Starting in Azure.Identity 1.4.0-beta.4 the default value of the ExcludeSharedTokenCacheCredential
property on DefaultAzureCredentialsOptions
has changed from false to true, excluding the SharedTokenCacheCredential
from the DefaultAzureCredential
authentication flow by default. We expect that few users will be impacted by this change as the VisualStudioCredential
has effectively replaced the SharedTokenCacheCredential
in this authentication flow. However, users who find this change does negatively impact them can still invoke the old behavior by explicitly setting the value to false.
var credential = new DefaultAzureCredential(new DefaultAzureCredentialOptions
{
ExcludeSharedTokenCacheCredential = false
});
More information on this change and the consideration behind it can be found here.