Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to let the user itself delete its AzureB2C account?

I'm looking for a way to let the user delete their AzureB2C user account out of an iOS/Android mobile app. I use at the moment the MSAL lib from Microsoft to let the user create, login and change their password within the app.

Starting from now Apple defined a new AppStore requirement: 5.1.1(v): Apps supporting account creation must also offer account deletion.

So I was looking into ways to let the user delete their account out of the app. But It seems that there is no user flow for this right now.

Are there any plans to add a "Delete account" user flow? Or did I miss something?

like image 432
Pepper Avatar asked Oct 23 '25 16:10

Pepper


1 Answers

You can find a sample for a user journey that allows a user to delete their account here:

https://github.com/azure-ad-b2c/samples/tree/master/policies/delete-my-account

It only is possible with custom policies.

Otherwise your application needs to call MS Graph API and delete the users account from the directory. https://learn.microsoft.com/en-us/graph/api/user-delete?view=graph-rest-1.0&tabs=http

like image 165
Jas Suri - MSFT Avatar answered Oct 27 '25 03:10

Jas Suri - MSFT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!