Add other operating system to disable device from update-mgdevice command

François Simansour 5 Reputation points
2024-05-21T14:57:06.59+00:00

I try to disable a device with the command : update-mgdevice -deviceid "IDofTheDevice" -AccountEnabled:$false

But I get that answer when I tried for an Android or iOS device : Update-MgDevice_UpdateExpanded: Properties other than ExtendedAttribute1..15 can be modified only on windows devices.

For a windows device : success

Can you let it available for Android or iOS device too ?

Thank you

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,124 questions
0 comments No comments
{count} vote