共用方式為


ApplicationOptions.TenantId Property

Definition

Tenant from which the application will allow users to sign it. This can be: a domain associated with a tenant, a GUID (tenant id), or a meta-tenant (e.g. consumers). This property is mutually exclusive with AadAuthorityAudience. If both are provided, an exception will be thrown.

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

Property Value

Remarks

The name of the property was chosen to ensure compatibility with AzureAdOptions in ASP.NET Core configuration files (even the semantics would be tenant)

Applies to