Share via


DefaultAzureCredentialOptions.AdditionallyAllowedTenants Property

Definition

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)

Property Value

Applies to