I've received notification email from Microsoft about stop supporting Basic Authentication in the Outlook REST API v1.0 which I've been using in my Azure AD registered python flask app.
The API which Microsoft removing, has been superseded by the Microsoft Graph and Outlook REST v2.0 API’s.
What should I have to do in order to move to v2.0?
Here is the part of my config.py file:
O365_BASE_URL = 'https://graph.microsoft.com/v1.0/'
O365_AUTH_URL = 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize'
O365_TOKEN_URL = 'https://login.microsoftonline.com/common/oauth2/v2.0/token'
Do I need to change
O365_BASE_URL = 'https://graph.microsoft.com/v1.0/'
to
O365_BASE_URL = 'https://graph.microsoft.com/v2.0/'