Skip to content

No way to specify Authority in GraphClient .with_certificate #977

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

    Labels

    authAll authentication flowsenhancementNew feature or improvement requestgraphGraphClient, Outlook, Teams, Planner, OneNote

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions