Remove-AzureRmADServicePrincipal

Remove-AzureRmADServicePrincipal

Deletes the azure active directory service principal.

Syntax

Parameter Set: ObjectIdParameterSet
Remove-AzureRmADServicePrincipal -ObjectId <Guid> [-Force] [-PassThru] [ <CommonParameters>]

Detailed Description

This is the Description section

Deletes the azure active directory service principal.

Parameters

-Force

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ObjectId<Guid>

Aliases

PrincipalId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-PassThru

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

-------------------------- Delete AAD service principal. --------------------------

Deletes the given azure active directory service principal.

PS C:\> Remove-AzureRmADServicePrincipal -ObjectId 61b5d8ea-fdc6-40a2-8d5b-ad447c678d45 -Force

New-AzureRmADServicePrincipal

Get-AzureRmADServicePrincipal