DefaultAzureCredentialOptions.SharedTokenCacheTenantId Property


Specifies the tenant id of the preferred authentication account, to be retrieved from the shared token cache for single sign on authentication with development tools, in the case multiple accounts are found in the shared token.

public string SharedTokenCacheTenantId { get; set; }
member this.SharedTokenCacheTenantId : string with get, set
Public Property SharedTokenCacheTenantId As String

Property Value



If multiple accounts are found in the shared token cache and no value is specified, or the specified value matches no accounts in the cache the SharedTokenCacheCredential will not be used for authentication.

Applies to