Forum Discussion
shambari
Aug 07, 2024Copper Contributor
Does Intune support expanding categories for mobile apps in the Graph API?
Hello everyone, I'm using the Graph API to list mobile apps. I successfully use the $expand parameter with assignments, and I receive the mobile apps along with their assignments. However, when I tr...
Aug 08, 2024
If I use Microsft Graph-X-Ray, (I wrote a blog about that here https://powershellisfun.com/2023/10/07/powershell-intune-and-microsoft-graph-x-ray/). I see this when changing categories for an App:
GET https://graph.microsoft.com/beta/deviceAppManagement/mobileApps/8158287f-af1c-4178-b55e-a49144e2afa6/?$expand=categories,assignments
$expand=categories,assignments, perhaps you need both in the request? But check out listing and changing things while having Graph X-Ray open in your browser. It will show you the URL and PowerShell cmdlets
- shambariAug 12, 2024Copper Contributorthanks for replying, but what i'm looking for is to get catgeories of all mobileApps not only for a specific appId
- Aug 12, 2024I understand. I was referring to how you could see the request using Microsoft Graph X-Ray. And that it showed me how to use $expand=categories,assignments , did that do anything to your original request? (Change deviceAppManagement/mobileApps?$filter=(isof('microsoft.graph.win32LobApp') and isAssigned eq true)&$expand=assignments to deviceAppManagement/mobileApps?$filter=(isof('microsoft.graph.win32LobApp') and isAssigned eq true)&$expand=categories,assignments )
- shambariAug 12, 2024Copper Contributor