Επεξεργασία

Κοινή χρήση μέσω


Remove-AzureADMSApplicationOwner

Removes an owner from an application object.

Syntax

Default (Default)

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.

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

-OwnerId

Specifies the ID of the owner.

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