khiar mohamed
khiar mohamed

Reputation: 11

Endpoint in Microsoft Graph Explorer to retrieve a list of all applications a user has access to

I'm working on a project where I need to retrieve a list of all applications that a user has access to in Microsoft Graph Explorer. By "applications," I mean Microsoft 365 applications like Outlook, PowerPoint, Word, and others.

I've been exploring the Microsoft Graph API, but I couldn't find a direct endpoint that provides this information. I am specifically using Microsoft Graph Explorer for testing and development purposes.

Is there a specific endpoint in Microsoft Graph Explorer or a combination of endpoints that I can use to achieve this? I need to get a list of applications that a user has access to, similar to what is shown on the "My Apps" page on myapps.com.

If anyone has experience with Microsoft Graph API or Microsoft Graph Explorer and can guide me on how to approach this, I would greatly appreciate it. Any example code or API calls would be helpful.

I expected the response from the /me/applications endpoint to include a list of individual applications that the user has access to, such as Outlook, PowerPoint, Sharepoint, admin, contacts, Word, and any other Microsoft 365 applications assigned to the user.

Upvotes: 1

Views: 267

Answers (1)

CarolMsft
CarolMsft

Reputation: 124

There is currently no Graph endpoint for MyApps. However, if looking to retrieve M365 applications, you can use licenseDetails (https://graph.microsoft.com/v1.0/users/{id/upn}/licenseDetails) as a work around but you would need to refer to the Service Plan identifiers for mapping as listed here- Product names and service plan identifiers for licensing - Microsoft Entra | Microsoft Learn

Upvotes: 3

Related Questions