You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { CredentialLogger, formatError } from "../util/logging";
export function checkTenantId(logger: CredentialLogger, tenantId: string): void {
if (!tenantId.match(/^[0-9a-zA-Z-.:/]+$/)) {
const error = new Error(
"Invalid tenant id provided. You can locate your tenant id by following the instructions listed here: https://docs.microsoft.com/partner-center/find-ids-and-domain-names."