Error trying to close account in viral directory and trying to delete directory entirely

Doug Gilmour 1 Reputation point
2020-02-21T19:29:15.573+00:00

Greetings
I'm testing Azure B2B functionality with custom apps and want to delete a viral Azure AD that was configured as part of the sign in process. I am first trying to delete accounts out of it. The normal user "delete" button is greyed out and I found an article that discussed having to use the "Close Account" option that seems to be a bit hidden. When I tried using it, I'm getting an error.

"errorCode": "GdprRvsDeleteSelfError"

Referenced pages:
https://learn.microsoft.com/en-us/azure/active-directory/users-groups-roles/users-close-account
https://go.microsoft.com/fwlink/?linkid=873123

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,636 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,437 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,306 Reputation points
    2020-02-24T04:23:30.8+00:00

    @Doug Gilmour
    Did you try to perform an internal admin takeover as mentioned here. Once you are able to perform admin takeover, you can delete Azure AD tenant after deleting all the objects in the tenant.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept as answer" wherever the information provided helps you to help others in the community.

    1 person found this answer helpful.
    0 comments No comments