AcquireTokenResult.TenantId 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.
(Microsoft Identity specific) In the case of Azure AD, Azure AD B2C, or Microsoft Entra External IDs, gets an identifier for the tenant for which the token was acquired. This property will be null if tenant information is not returned by the service or the service is not Azure AD.
public string? TenantId { get; set; }
member this.TenantId : string with get, set
Public Property TenantId As String