AcquireTokenOptions.Tenant Property

Definition

(Microsoft identity specific) Enables to override the tenant/account for which to get a token. This is useful in multi-tenant apps in the cases where a given user account is a guest in other tenants, and you want to acquire tokens for a specific tenant.

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

Property Value

Remarks

Can be the tenant ID or domain name.

Applies to