Skip to content

No way to specify Authority in GraphClient .with_certificate #977

@Haeherfeder

Description

@Haeherfeder

the error is

ValueError: Unable to get authority configuration for https://login.microsoftonline.com/XXXXXXXX. Authority would typically be in a format of https://login.microsoftonline.com/your_tenant or https://tenant_name.ciamlogin.com or https://tenant_name.b2clogin.com/tenant.onmicrosoft.com/policy.  Also please double check your tenant name or GUID is correct.

the correct one would be XXXX.ciamlogin.com, but i can't change it with GraphClient. it works with ClientContext and with_client_certificate (as i can use it there as tenant, and it works)
doesnt work either, same error, but needed more work to make a request

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions