< Back
Remove-AzureRmADServicePrincipal
Post
NAME Remove-AzureRmADServicePrincipal
SYNOPSIS
Deletes the azure active directory service principal.
SYNTAX
Remove-AzureRmADServicePrincipal [-DefaultProfile <IAzureContextContainer>] [-Force] -ObjectId <Guid> [-PassThru] [-Confirm] [-WhatIf]
[<CommonParameters>]
DESCRIPTION
Deletes the azure active directory service principal.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Force [<SwitchParameter>]
{{Fill Force Description}}
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-ObjectId <Guid>
The object id of the service principal to delete.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
If specified, returns the deleted service principal.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Graph.RBAC.Version1_6.ActiveDirectory.PSADServicePrincipal
NOTES
Keywords: azure, azurerm, arm, resource, management, manager, resource, group, template, deployment
Delete AAD service principal.
PS C:\\> Remove-AzureRmADServicePrincipal -ObjectId 61b5d8ea-fdc6-40a2-8d5b-ad447c678d45
Deletes the given azure active directory service principal.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... eprincipal
New-AzureRmADServicePrincipal
Get-AzureRmADServicePrincipal
Set-AzureRmADServicePrincipal
Remove-AzureRmADApplication
Remove-AzureRmADAppCredential
SYNOPSIS
Deletes the azure active directory service principal.
SYNTAX
Remove-AzureRmADServicePrincipal [-DefaultProfile <IAzureContextContainer>] [-Force] -ObjectId <Guid> [-PassThru] [-Confirm] [-WhatIf]
[<CommonParameters>]
DESCRIPTION
Deletes the azure active directory service principal.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Force [<SwitchParameter>]
{{Fill Force Description}}
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-ObjectId <Guid>
The object id of the service principal to delete.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
If specified, returns the deleted service principal.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Graph.RBAC.Version1_6.ActiveDirectory.PSADServicePrincipal
NOTES
Keywords: azure, azurerm, arm, resource, management, manager, resource, group, template, deployment
Delete AAD service principal.
PS C:\\> Remove-AzureRmADServicePrincipal -ObjectId 61b5d8ea-fdc6-40a2-8d5b-ad447c678d45
Deletes the given azure active directory service principal.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... eprincipal
New-AzureRmADServicePrincipal
Get-AzureRmADServicePrincipal
Set-AzureRmADServicePrincipal
Remove-AzureRmADApplication
Remove-AzureRmADAppCredential