EnvironmentCredentialOptions.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 Azure.Identity.EnvironmentCredentialOptions.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 Azure.Identity.EnvironmentCredentialOptions.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.
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
Remarks
Defaults to the value of environment variable AZURE_ADDITIONALLY_ALLOWED_TENANTS
. Values can be a semi-colon delimited list of tenant IDs , or '*' to denote any tenant ID.
Applies to
Azure SDK for .NET