42
votes

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?

5

5 Answers

73
votes

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.

enter image description here

103
votes

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.

enter image description here

1
votes

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.

1
votes

Unable to delete Azure AD due to Enterprise Apps (Delete grayed out)

Login to a Powershell (Admin)

  1. Install-Module -Name MSOnline
  2. connect-msolservice (Provide GA Creds)

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

  1. Get-MsolServicePrincipal -All | Remove-MsolServicePrincipal
  2. Sign-out and Sign-in Azure Portal
  3. All enterprise apps will now be deleted --> You can Delete Azure AD Directory now
0
votes

Whilst old, I stubmled across this issue earlier and found this post.

The portal has changed and none of the above worked for me (although I did not edit the manifest) - what I did do was go into AAD > Enterprise Applications and, from there, I could delete the Native applications.

Hope this helps someone (possibly me!) later.