msgraph-sdk-python-core
msgraph-sdk-python-core copied to clipboard
cannot log in due to bad reply URL
I tried to follow the steps in the README, but when I run client.get('/me')
, I always get AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application
.
I use an application generated by Microsoft Graph Quick Start, with redirect URI set to http://localhost/callback
.
I also tried specifying the redirect URI directly with browser_credential = InteractiveBrowserCredential(client_id='xxx', redirect_uri='http://localhost:8400/callback')
, but it did not help.
I tried several variants of the URI, changing it both in Azure portal and in the python command, but nothing helped.
What am I doing wrong?
Additional context I use python 3.9.1 running in terminal on Windows 10, together with my company's Microsoft account.