Credentials use tenant_id values to construct URLs, so we should verify their characters are within [A-Z], [a-z], [0-9], '-', '.'
When they are not, we should raise ValueError("Invalid tenant id provided. You can locate your tenant id by following the instructions here: https://docs.microsoft.com/partner-center/find-ids-and-domain-names").
Credentials use
tenant_idvalues to construct URLs, so we should verify their characters are within [A-Z], [a-z], [0-9], '-', '.'When they are not, we should raise
ValueError("Invalid tenant id provided. You can locate your tenant id by following the instructions here: https://docs.microsoft.com/partner-center/find-ids-and-domain-names").