This cmdlet cmdlet is utilized within the Azure PowerShell module to delete an Azure AD service principal.
You can also use -ApplicatonId, -ServicePrincipalName, -DisplayName, -InputObject, or -ApplicationObject interchangeably with -ObjectId to delete an Azure AD service principal.
The following is an example for removing service principal by display name:
Elevate your administrative capabilities using ManageEngine ADManager Plus, the all-inclusive solution for effortless management and in-depth reporting across AD, Microsoft 365, Exchange Server, and Google Workspace. With ADManager Plus, administrators can:
For in-depth look at ADManager Plus' array of features and capabilities, please click here.
Simplify Azure AD management and reporting with ADManager Plus
Get 30-day free trial.For AD User Management
For AD User Reporting
For GPO Management
For Password Management
For AD Group Management
For File Access Management
For AD Computer Management
For Office 365 Management
For Exchange Management
For Microsoft Graph PowerShell
Entra ID user management
Entra ID reporting
Entra ID group management and reporting
Entra ID domain management
Entra ID contact management and reporting
Other Entra ID tasks
For Windows Powershell
For AD User Management
For AD User Reporting
For GPO Management
For Password Management
For AD Group Management
For File Access Management
For AD Computer Management
For Office 365 Management
For Exchange Management