Skip to content

Validate tenant_id values #14821

@chlowell

Description

@chlowell

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").

Metadata

Metadata

Assignees

No one assigned

    Labels

    Azure.IdentityClientThis issue points to a problem in the data-plane of the library.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions