Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete Azure DevOps enterprise application?

Tags:

azure-ad-b2c

I have an Azure AD B2C tenant that I want to delete (pita process!). So I have to delete manually all registered applications first. And somehow I got an enterprise application named "Azure DevOps" registered there. Which is undeletable. How to remove it?

enter image description here

like image 704
Michael Chudinov Avatar asked Jan 13 '20 16:01

Michael Chudinov


People also ask

How do I remove an azure enterprise application?

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.

How do I disable apps in Azure?

If you want to disable the application which integrate with Azure AD through OAuth 2.0, we can disable it as figure below through the new portal: Switch your Azure active directory->All applicaitons->Select the application you want to manage->Properties->Set the option Enabled for users sign-in to NO.


2 Answers

I have found that there is no ne3ed to delete this application in order to delete the B2C tenant. Go to the properties of this application, then set "Enable users to sign-in to No". Then it will be posssible to delete the B2C tenant. enter image description here

like image 85
Michael Chudinov Avatar answered Oct 21 '22 12:10

Michael Chudinov


If you are trying to delete the Azure AD B2C tenant, I guess you have deleted all the users and admins.

Anyway, you need an admin account (if you don't have one, just create it) to log in to Azure AD in Powershell and use Remove-AzureADServicePrincipal -objectid to delete this enterprise app.

See details here.

like image 43
Allen Wu Avatar answered Oct 21 '22 13:10

Allen Wu