<PackageReference Include="Microsoft.Identity.Client" Version="4.84.2" />

Microsoft.Identity.Client.TenantProfile

public class TenantProfile
Represents an account in a specific tenant. The same account can exist in its home tenant and also as a guest in multiple other tenants. Access tokens and Id Tokens are tenant specific and this object provides high level information about all the ID tokens associated with the account.
namespace Microsoft.Identity.Client { public class TenantProfile { public string Oid { get; } public string TenantId { get; } public ClaimsPrincipal ClaimsPrincipal { get; } public bool IsHomeTenant { get; } } }