QTom
QTom

Reputation: 1521

How do I delete a user from an azure B2C Active Directory programatically with C#

I have created a B2C(Preview) Azure Active Directory to allow people to sign up to a website. The website works fine but I now require the ability to delete a user who has signed up from the active directory. How do I do this through C# code?

I have found answers such as this and this however it feels like I'm missing something fundamental because I have no idea what LDAP is or where I am meant to get that url.

Upvotes: 1

Views: 2634

Answers (1)

Alex Belotserkovskiy
Alex Belotserkovskiy

Reputation: 4062

use Azure AD Graph API, it is providing the access to the Azure AD directory.

Sample is here.

I am not completely sure (i made a research right now), but it looks like the Azure AD does not support LDAP yet. Tutorials you have found are local AD-related, but Azure AD is not a complete replacement for that. You can read about AD (highly recommended! very interesting) here.

Upvotes: 2

Related Questions