Edit

Share via


Add-AzureADMSApplicationOwner

Adds an owner for an application object.

Syntax

Default (Default)

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-RefObjectId

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

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.

Inputs

string