Add-AzureADDeviceRegisteredOwner

Adds a registered owner for a device.

Syntax

Add-AzureADDeviceRegisteredOwner
   -ObjectId <String>
   -RefObjectId <String>
   [<CommonParameters>]

Description

The Add-AzureADDeviceRegisteredOwner cmdlet adds a registered owner for an Azure Active Directory device.

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Parameters

-ObjectId

Specifies the object ID.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-RefObjectId

Specifies the ID of the Active Directory object to add.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Notes

See the migration guide for Add-AzureADDeviceRegisteredOwner to the Microsoft Graph PowerShell.