How do you grant the nesecarry privilages to access devicemanagement through the graph api?
I'm trying to make calls to an endpoint like this, but i'm not allowed to. https://graph.microsoft.com/beta/deviceAppManagement/mobileApps
To use the Intune API it seems you need the DeviceManagementConfiguration.ReadWrite.All scope, but i can't find where i set this.
I've tried to both register my app in the Azure AD and register the application in the app registration portal.
Do I need to download the app manifest and manually set this scope?
