Add-EntraDeviceRegisteredOwner
Adds a registered owner for a device.
Syntax
Default (Default)
Add-EntraDeviceRegisteredOwner
-DeviceId <String>
-OwnerId <String>
[<CommonParameters>]
Description
The Add-EntraDeviceRegisteredOwner cmdlet adds a registered owner for a Microsoft Entra ID device.
In delegated scenarios involving work or school accounts, the signed-in user must have a supported Microsoft Entra role or a custom role with the required permissions. The following least privileged roles are supported for this operation:
- Intune Administrator
- Windows 365 Administrator
Parameters
-DeviceId
Specifies the object ID.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | ObjectId |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-OwnerId
Specifies the ID of the Active Directory object to add.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | RefObjectId |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.