共用方式為


InteractiveBrowserCredentialOptions.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, and the credential will acquire tokens for any requested tenant.

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