Microsoft.Identity.Client.Utils.AuthorityHelpers static class AuthorityHelpers Documentation Code public static string GetTenantId(Uri authorityUri) Retrieve the TenantId for an Authority URL.