Sometimes we don't want to manage users inside the application, but want to ship it to the cloud and use safer, easier and proven user management system then Azure B2C is the best choice. To fulfil this kind of requirement we need to create, read and update user accounts inside the Azure directory. Azure AD Graph API provides us feature to handle this tasks programmatically efficiently.
It was interesting topic and challenge for us, as we have never done this kind of things previously. How can we access our local active directory user on internet, that was my first question when I read the requirement from one of my client.