Friday, 7 June 2019

Deleting Azure Active Directory Tenant – Unable to delete all Enterprise Applications - Can't Delete Azure DevOps from within User Interface

Encountered an issue today with removal of an Azure AD Tenant that is no longer used. When attempting to delete the Azure AD Directory - I simply received warnings that I had to "Delete All Enterprise Applications" - with a warning status indicator.

When I tried to remove the single Azure Enterprise Application (Azure DevOps) - the Delete button was disabled. As you could imagine - this put me in a bit of a pickle!

The fix that worked for me is as follows:

1. Create a new Global Admin account in the Azure Active Directory you are trying to delete. Make sure you copy the temporary password as you'll need to log in with it.

2. To ensure you have the Azure AD Powershell extensions, Start Powershell and run:
Install-Module -Name AzureAD

3. Once done run Connect-AzureAD. You will be prompted to login. Login with the user you created and will be asked to change your password.


4. Run
Get-AzureADServicePrincipalto retrieve the Object Id of the Enterprise Application that you can't delete.

5. Run
Remove-AzureADServicePrincipal -objectid [enter objectid here] directly.

6. Remove your temporary user.

You should now be able to delete your Azure Active Directory (Azure AD) Tenant instance.

Source: https://blogs.msdn.microsoft.com/kennethteo/2017/09/19/deleting-azure-ad-tenant/

17 comments:

Bhanu Sree said...

Nice Article!!!
Microsoft Azure DevOps Training
Azure DevOps online training in hyderabad

Alisah Wilson said...

Great and awesome blog thank you for sharing...I just want to say that all the information you have given here is wonderful. Thank you very much for this one. And I hope this will be useful for everyone.
Programming Assignment Help
Do My Database Assignment

hookstefan said...

assignment help in UK
Management dissertation writing service UK
With the assistance of our master coaches, students present the assignments in the given time and can show signs of improvement grades without hardly lifting a finger.

hrroman said...

If you are stuck with your Management assignment then in this case you can opt for our Management Assignment. we provide the bestMarketing assignment help.We also provideConsumer Behaviour Assignment Help for students across the globe. for more information contact us +16692714848.

Write For us said...

Hello There. I found your blog using google. This is a very well written article. I'll be sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will definitely return. If you want write for us please visit here:mobile app development guest post

Ava Beth said...

The Programming Homework Help specialist that worked on my Java programming assignment was a bit slow. He must have been a rookie from the way he interacted with me. While I'm not saying that he offended me, the expert left so many mistakes on the Java documentation. What's good, he delivered it on time and I must appreciate him for the best efforts and good grades. I'll hire Java Homework Help him again, though not emergency orders.

Ava Beth said...

I recommend this Statistics Assignment Help expert to all statistics students desperate for assistance with their assignments and thirsty for knowledge. He's both a good assignment writer and tutor; very professional and experienced! He got my assignment done within a few hours — long before the deadline. I appreciate his skills and recommend them to all. Oh! I also recommend statisticshomeworkhelper.com for the lowest Statistics Homework Help prices.

Ava Beth said...

I have an incomplete Matlab Assignment Help that I need to be done. Only five questions are remaining. I couldn't complete them because of a family emergency that I got caught up in. I need someone better than me to do the task and clearly outline the solutions so that I get an easy time reviewing them before sending them for the final review by my lecturer. Please only award the task to a Bachelor's degree Matlab Homework Helpp specialist; no diplomas or less, please.

Ava Beth said...

I thought I was served by the best Economics Assignment Help expert ever on my first assignment until I kept getting higher grades with subsequent experts across the seasons. I then realized that economicshomeworkhelper.com doesn't take chances when it comes to hiring their Economics Homework Help specialists. All the experts are well qualified and experienced for the assignments. Keep it up!

Emily Madison said...

The Programming Assignment Help experts do exactly what they claim to have the ability to do on their profiles. I wish to know how the merchant chooses the experts. It's quite difficult to bring together such an elite group of programmers from different parts of the globe and still convince them to accept serving students at a low price. Meanwhile, thanks for saving my wallet a great deal. I won't hesitate to come back again for fast Java Assignment Help.

Emily Madison said...

Their free revisions are a boon to most students. They save our wallets while serving us with perfection. I know about very many other Statistics Homework Help specialists that only do the first revision for free and charge students for the rest. I requested two revisions after the rookie Statistics Assignment Help provider that worked on my order messed it up twice. While it wasn't a pleasant experience, the final paper was a great one.

Emily Madison said...

Since my freshman year (my last year at the university), I have used Matlab Homework Help services for various types of assignments. My question is; when shall they give me a discount for being one of their loyal customers? Or how do they reward loyal clients? I'm not very serious about this, because it isn't my right, so don't regard me as one of those stubborn customers, please. Meanwhile, I'm happy with Matlab Assignment Help great services.

Emily Madison said...

My order was delivered later than instructed, but I understood that it was due to the instructions I added. The good news is that everything was flawless, from the introduction and references to the formatting and language. The Economics Homework Help provider was very communicative and fluent. I think he can serve me with a few Economics classes, too. Meanwhile, please keep me posted about your availability so that we plan how to get the glasses going live.

Lucy Amelia said...

I'm writing to express my sincere and full satisfaction with your honest Programming Homework Help. They served me with the highest level of dedication and professionalism, which I believe no other organization like theirs is capable of. Thanks for offering me cutting-edge Java Homework Help tutoring services. I'm now ready for my exams with knowledge from their experts.

Lucy Amelia said...

Hello there? How do you deal with missed deadlines? I need Statistics Assignment Help from there but the assignment has a very tight deadline that if missed, I lose a lot. So what's their guarantee if they miss the deadline? The order needs to be done within the next 20 hours from the time I shall send it. Right now, it is 22 hours before the deadline. They confirm that there shall be available to do it. I'm impressed by their profile and record in Statistics Homework Help.

Lucy Amelia said...

Hey. I'm faced with a do-or-die situation here. I failed a signal processing assignment and I have to redo it. If I fail again, I'll not do the unit for a third time up to the end of two academic years. I hope Matlab Assignment Help experts can feel the pain I'll face in case I fail. That's why I need Matlab Homework Help services from one of their best experts. I'm ready to pay anything for this project. Kindly help if they can feel me.

Lucy Amelia said...

I spent half the amount I used to spend to get Economics Homework Help of the same length from another provider online. Moreover, I got the fastest and most excellent service from the Economics Assignment Help provider than ever. I just pray that the organization doesn't bring down the quality of their services in any way so that I continue this way to the end of my college studies.