Graph mobile apps does not return all objects.

Anonymous
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 Security Intune Other
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 53,981 Reputation points Microsoft External Staff
    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.