Azure.Identity.Validations static class Validations Documentation Code public static bool IsValidateSubscriptionNameOrId(string subscription) public static Uri ValidateAuthorityHost(Uri authorityHost) public static string ValidateTenantId(string tenantId, string argumentName = null, bool allowNull = false)