Successfully using the graph endpoint with Azure AD v2 authentication. All working perfectly.
Graph endpoint does not support outlook tasks so need to use the outlook api endpoint outlook.office.com/api.
Am establishing scope at authentication with scope parameter. Using identical code, just different endpoint e.g.
https://graph.microsoft.com/beta/me/messages - works https://outlook.office.com/api/beta/me/messages - 401 Unauthorized
What am I missing? What does outlook.office.com need different from graph endpoint to work?