microsoftgraph / powershell-intune-samples

This repository of PowerShell sample scripts show how to access Intune service resources. They demonstrate this by making HTTPS RESTful API requests to the Microsoft Graph API from PowerShell.
MIT License
1.36k stars 658 forks source link

Incorrect URI for Assigning Android ManagedAppPolicy #266

Open ghostbuster1002 opened 7 months ago

ghostbuster1002 commented 7 months ago

https://github.com/microsoftgraph/powershell-intune-samples/blob/9d0dac47b1058584e1026119d4fd7f635eb446d5/AppProtectionPolicy/ManagedAppPolicy_Add_Assign.ps1#L286-L289

Should have URI for Android not iOS and $graphAPIVersion variable isn't used.