I\'m trying to integrate with Outlook\'s APIs (more specifically I want to list a users\' contacts, and be able to do some CRUD on them).
I created an Azure account,
Authenticate with your own identity: This will use your own identity (the app identity). This OAuth flow is called client credentials grant flow.
'Authenticate with your own identity' is not an allowed method for Microsoft Personal accounts.
Check this source here, if any of us are using a personal account then the client credentials flow won't work for us. https://github.com/O365/python-o365#authentication-steps
I didn't reproduce your issue on my side. My steps are as below for your reference.
1.Register an Application on Azure portal and grant it graph permission.
2.Get the access token.
3.Before calling the api, you need to confirm that the account needs to be a valid email address. Mine is demo101@**.onmicrosoft.com.
4.Call the graph api.