MS Graph Intune API to get all mobileApps including "Microsoft 365 Apps (Windows 10 and later)"

Clegg, Mark 21 Reputation points
2022-01-19T14:15:22.663+00:00

Hi

I'm using https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps to try to get a list of all Windows apps we have setup.

I can limit the result set using $filter=(isof('microsoft.graph.win32LobApp') or isof('microsoft.graph.microsoftStoreForBusinessApp') but that doesn't seem to include the "Microsoft 365 Apps (Windows 10 and later)" apps we have setup.

I can't even find those apps using their displayname - e.g. "$filter=displayname eq 'Microsoft 365 Apps' "

But if I use their guid, e.g. https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps/{guid} I can retrieve the details for those apps individually.

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#deviceAppManagement/mobileApps/$entity",
    "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "displayName": "Microsoft 365 Apps",
    "description": "Microsoft 365 Apps",
    ...

(It would seem that these records don't have an @odata.type field.?)

How can I get a list of these apps, or in general ALL Windows (x86/x64) mobileapps.

Thanks.

Microsoft Security | Intune | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Lu Dai-MSFT 28,516 Reputation points
    2022-01-20T03:24:05.457+00:00

    @Clegg, Mark Thanks for posting in our Q&A.

    For this issue, I have done the test in my lab. I tried the following URL and I got the "Microsoft 365 Apps (Windows 10 and later)".
    https://graph.microsoft.com/beta/deviceAppManagement/mobileApps?$filter=(isof(%27microsoft.graph.officeSuiteApp%27)%20or%20true)&$orderby=displayName&

    166570-image.png

    Hope it will help.


    If the answer is the right solution, 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.


0 additional answers

Sort by: Most helpful

Your answer

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