Wriju's BLOG

.NET, Cloud and everything

Add User to Azure Active Directory using Graph API

This post should have appeared before the other related posts. However let us see from the ground up how we can build an application to use Azure AD Graph API to add the user to AAD. We first need to add an application in AAD Open the Azure AD in portal and open the application… Read more

Azure AD Graph API Create List of Users

Getting the list of users from AD is bit tricky. Firstly the call is Asynchronous and it is delayed. So no such straight forward foreach loop can help, Define the data model After that we can write something like, private async Task GetUsers() { List<UserGridData> userData = new List<UserGridData>(); var adClient = GetAADClient();   var… Read more