Graph mobile apps does not return all objects.

Konrad Rajngruber 0 Reputation points
2024-03-08T07:58:31.6133333+00:00

Hello,

i'm trying to retrieve a list of all intune deployed applications from microsoft graph.

As a base i'm using mobileApps get request described here https://learn.microsoft.com/en-us/graph/api/intune-apps-webapp-list?view=graph-rest-1.0&tabs=http. Most of apps are retrieved without issues but there is one type that is not visible until i directly specify appId.

Apps created using GUI - microsoft store (new) are not listed on the get request. As sample i've used visual studio code.

Does anyone had same issue and found a solution? Is that expected behavior at graph?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,544 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,315 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 42,796 Reputation points Microsoft Vendor
    2024-03-11T05:52:44.9466667+00:00

    @Konrad Rajngruber, Thanks for posting in Q&A. For the API you queried, I find it is for web app. To query all the apps in Intune, you can try the following method:

    Action: GET

    URL: https://graph.microsoft.com/beta/deviceAppManagement/mobileApps?$filter=(microsoft.graph.managedApp/appAvailability+eq+null+or+microsoft.graph.managedApp/appAvailability+eq+'lineOfBusiness'+or+isAssigned+eq+true)&$orderby=displayName&

    User's image

    https://learn.microsoft.com/en-us/graph/api/intune-apps-mobileapp-list?view=graph-rest-1.0&tabs=http

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.