The title of my issue is clear enough by itself I hope.... I have only one application in my Applications list in Azure Active Directory. I would like to delete that, because it was only for experimental purposes. But I cannot delete it, the delete icon in the drawer is greyed.
What can I do to delete the application from AAD?
Search for and select the application that you want to delete. For example, Azure AD SAML Toolkit 1. In the Manage section of the left menu, select Properties. At the top of the Properties pane, select Delete, and then select Yes to confirm you want to delete the application from your Azure AD tenant.
To do this, follow these steps: In the Azure AD B2C directory, locate and select the Azure Active Directory blade in the Azure portal. On the Overview menu, select Delete Directory. Follow the instructions in the portal.
While service principals cannot be deleted, they are actually whitelisted against the deletion task for an Azure AD instance. This means even though these service principals still exist, the deletion of the Azure AD instance will not be stopped.
For those coming by later and are using the new (preview) Azure Portal and are trying to remove a Native App;
The issue is due to the availableToOtherTenants
setting, which you can not edit in the UI at the moment of writing. However, you can add the Manifest manually through the Azure Portal and edit the setting. After the edit, you can remove the app.
If it's a multi-tenant app, you need to convert it back to a single-tenant app before you can delete it. Please confirm that the setting 'Application is Multi-Tenant' (on the configure tab) is set to No.
Just adding to this - make sure that you are the owner of the application - if you're not, assign yourself ownership and delete will be enabled.
Unable to delete Azure AD due to Enterprise Apps (Delete grayed out)
Login to a Powershell (Admin)
CAUTION: Following step may delete all the objects/applications recursively and may present multiple errors as well, but in the end, all this will help you to be finally able to delete the Azure AD instance successfully
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With