question

DougGilmour-6577 avatar image
0 Votes"
DougGilmour-6577 asked ·

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

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://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/users-close-account
https://go.microsoft.com/fwlink/?linkid=873123

azure-active-directoryazure-ad-b2b
10 |1000 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
1 Vote"
amanpreetsingh-msft answered ·

@DougGilmour-6577
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.


·
10 |1000 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.