Forum Discussion
jaspervo
May 27, 2019Copper Contributor
Read Intune apps from Microsoft Graph
Hi, From a SharePoint WebPart I'm trying to fetch the Intune Apps for the logged in user. However when I call the endpoint (/v1.0/deviceAppManagement/mobileApps) I get a 401 response. "error": {...
Alexander Vanyurikhin
May 27, 2019Iron Contributor
To check license assignment you can use "Troubleshooting" panel in Intune console, just select user and it should show you if there is any issue with license.
If you can get info using your account through the same web-part, that more like permission issue rather than license issue.
I can only recommend you to check this article, maybe consent is missing.
- jaspervoMay 27, 2019Copper Contributor
Alexander Vanyurikhin Thanks for the pointer. I cannot access the Intune configuration myself so I will ask someone to check that for me.
As for the permissions for Microsoft Graph 'User.Read' and 'DeviceManagementApps.Read.All' where consented to by an admin. So that should work...