Office365-REST-Python-Client
Office365-REST-Python-Client copied to clipboard
No way to specify Authority in GraphClient .with_certificate
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