Muokkaa

Jaa


Remove-AzureADMSApplicationOwner

Removes an owner from an application object.

Syntax

Remove-AzureADMSApplicationOwner
      -ObjectId <String>
      -OwnerId <String>
      [<CommonParameters>]

Description

Removes an owner from an application object.

Examples

Example 1: Remove an owner from an application

PS C:\>Remove-AzureADMSApplicationOwner -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb" -OwnerId "bbbbbbbb-1111-2222-3333-cccccccccccc"

This command removes the owner from the specified application.

Parameters

-ObjectId

Specifies the ID of an application in Azure AD.

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

-OwnerId

Specifies the ID of the owner.

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

Inputs

string