DefaultAzureCredentialOptions.AdditionallyAllowedTenants Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies tenants in addition to the specified TenantId for which the credential may acquire tokens. Add the wildcard value "*" to allow the credential to acquire tokens for any tenant the logged in account can access. If no value is specified for TenantId, this option will have no effect on that authentication method, and the credential will acquire tokens for any requested tenant when using that method. This value can also be set by setting the environment variable AZURE_ADDITIONALLY_ALLOWED_TENANTS.
public System.Collections.Generic.IList<string> AdditionallyAllowedTenants { get; }
member this.AdditionallyAllowedTenants : System.Collections.Generic.IList<string>
Public ReadOnly Property AdditionallyAllowedTenants As IList(Of String)