Unable to delete an Azure B2C tenant

Dommicentl 26 Reputation points
2022-11-12T21:13:59.867+00:00

I am unable to delete an Azure B2C tenant. I have the tenant connectlogintest.onmicrosoft.com linked to a subscription in my main tenant. I want to delete this B2C tenant. In the deletion screen I have green checkmarks on all the checks. However, when I try to delete the tenant, I get the following error:
259808-image.png

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,655 questions
Azure Active Directory External Identities
{count} votes

Accepted answer
  1. Givary-MSFT 14,791 Reputation points Microsoft Employee
    2022-11-14T09:31:42.027+00:00

    @Dommicentl As I understand you are trying to delete Azure AD B2C tenant and getting the above mentioned error ( in the question), error states there are some enterprise applications are present in the tenant due to which you are unable to delete.

    Try to delete the apps within the tenant, by following the below steps

    1. Browse to AAD Portal -> Enterprise Applications -> Change filter to All \ Any \ Any -> Delete the applications if you see in the list.
    2. Browse to Properties blade of each app -> Delete or if you can't delete them change "Enable for users to sign-in" to No

    Also you can refer to this How do I delete my Azure AD B2C tenant? and let me know if the issue still persists, we can connect offline and troubleshoot further.

    Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.


1 additional answer

Sort by: Most helpful
  1. JimmySalian-2011 31,901 Reputation points
    2022-11-13T13:15:49.407+00:00

    Hi Dom,

    It seems there is a dependant resource attached to this tenant and hence you are not able to delete, can you check if the resources detached and removed or deleted prior to deleting this tenant?
    If there are no resources and still you get this error I will suggest you to raise a support case with Microsoft.

    Hope this helps.
    JS

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

    0 comments No comments