Remove Primary User
Removes the primary user from a device.
Last updated
Was this helpful?
Removes the primary user from a device.
This script removes the assigned primary user from a specified Azure AD device. It requires the DeviceId of the target device and the name of the caller for auditing purposes.
Device → General → Remove Primary User
Full Runbook name
rjgit-device_general_remove-primary-user
Type: Microsoft Graph
DeviceManagementManagedDevices.ReadWrite.All
The unique identifier of the device from which the primary user will be removed. It will be prefilled from the RealmJoin Portal and is hidden in the UI.
Required
true
Default Value
Type
String
Last updated
Was this helpful?
Was this helpful?