Share via


MicrosoftIdentityApplicationOptions.TenantId Property

Definition

Gets or sets the tenant ID. If your application is multi-tenant, you can also use "common" if it supports both work and school, or personal accounts accounts, or "organizations" if your application supports only work and school accounts. If your application is single tenant, set this property to the tenant ID or domain name. If your application works only for Microsoft personal accounts, use "consumers".

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

Property Value

Applies to