question

JoeHubbert-5833 avatar image
0 Votes"
JoeHubbert-5833 asked amanpreetsingh-msft answered

Unable to delete Azure Active Directory tenant because of orphaned "enterprise applications"

Hi All,

I'm trying to delete an Azure AD tenant but I am unable to because of remaining enterprise applications.
I have removed all that I can using PowerShell that are not blocked for being Microsoft Internal.

There are a couple of managed identities that would have been made for Azure Data Explorer clusters which have been deleted. These managed identities have no owner or users/groups assigned to them.

The subscription they were created in no longer exists and there are no other subscriptions in this tenant.
I have global administrator rights but I still don't have the right permissions to delete these objects.

Has anyone had a workaround for this?

Thanks,
Joe


115077-image.png
115066-image.png
115116-image.png
115117-image.png [2]: /answers/storage/attachments/115152-image.png


azure-active-directoryazure-managed-identity
image.png (17.0 KiB)
image.png (22.4 KiB)
image.png (36.2 KiB)
image.png (15.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered

Hi @JoeHubbert-5833 · Thank you for reaching out.

I worked on this issue few days back and found that there is no other option than opening a support ticket and engage the Product Team to delete the object from the backend.

The best practice is to turn off the Managed Identity before deleting the resource.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.