Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

No way to specify Authority in GraphClient .with_certificate

Open Haeherfeder opened this issue 5 months ago • 0 comments

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

Haeherfeder avatar Jul 15 '25 14:07 Haeherfeder