3
votes

I have successfully implemented the authorization flow but when I try to use scope from different api's like the office outlook task api and the graph calendar api I got an error message AADSTS70011: The provided value for the input parameter 'scope' is not valid.

This doesn't work

scopes=https://outlook.office.com/tasks.readwrite offline_access https://graph.microsoft.com/Calendars.Read Write

This works

scopes=https://outlook.office.com/tasks.readwrite offline_access

or

scopes=offline_access https://graph.microsoft.com/Calendars.Read

Is it possible to request scopes from different api's at once or do I need two separated calls

1

1 Answers

2
votes

You have to make two calls. Azure's endpoint doesn't support mixing scopes from different resources in one call.