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

Microsoft.Identity.Client.AccountId

public class AccountId
An identifier for an account in a specific tenant. Returned by HomeAccountId
namespace Microsoft.Identity.Client { public class AccountId { public string Identifier { get; } public string ObjectId { get; } public string TenantId { get; } public AccountId(string identifier, string objectId, string tenantId); public AccountId(string adfsIdentifier); } }