Forum Discussion
vivekmoosanisim
Sep 19, 2024Copper Contributor
Fetch apps visible on https://myapps.microsoft.com/ via Graph API
Is it possible to fetch all applications I typically see on https://myapps.microsoft.com/ via Graph API ?
Is there an alternate way to fetch this if not and show the same applications as part of a custom portal we have for our employees.
3 Replies
Sort By
- There is no endpoint for that. The list you see on that page is a combination of several things (apps corresponding to the licenses assigned to the user, apps published by admins, direct app assignments, etc), and there is no single place to get them.
- vivekmoosanisimCopper Contributor
Thanks VasilMichev. We are ok integrating the response from multiple API endpoints.
I could get whats in Azure via `GET /users/{id | userPrincipalName}/appRoleAssignments` and then looking up the app details using the resourceId from above in `GET /servicePrincipals`.
Are there API I can consume for the apps corresponding to licenses assigned ? I see this Graph API `GET /users/{id}/licenseDetails` but how can the response be used to get list of the apps (display name, icon, url) is some thing I am not able to figure out. Is that possible ?- There's none, afaik. Most of them are fairly straightforward, and you can just copy the details from the portal if needed. Speaking of which, if you capture the network output in the MyApps portal you can see the calls being made - try reverse engineering those (though some APIs aren't open to costumer use).