I am facing this error for a different permission Device.ReadWrite.All . I am trying to get an access token using authorization code grant workflow, but get this error. If I use client credentials grant workflow, I am able to receive the token.
The error is The application xxx asked for scope Device.ReadWrite.All that doesn't exist on the resource xxx. Contact the vendor
- Can anyone please explain why this happens
- Device.ReadWrite.All is application permission so can I only get token using client credentials grant workflow?