Muokkaa

Jaa


Add-AzureADMSApplicationOwner

Adds an owner for an application object.

Syntax

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

Description

Adds an owner for an application object.

Examples

Example 1: Add an owner to an application

PS C:\>Add-AzureADMSApplicationOwner -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb -RefObjectId bbbbbbbb-1111-2222-3333-cccccccccccc

This command adds an owner to an application.

Parameters

-ObjectId

The unique identifier of the object specific Microsoft Entra ID object

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

-RefObjectId

The unique identifier of the specific Microsoft Entra ID object that will be assigned as owner/manager/member

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

Inputs

string