Microsoft 365 Developer Blog

A developer platform for building collaborative apps for hybrid work

30DaysMSGraph – Day 16 – Use Case: Create user in Azure AD

In Day 15 we registered an Azure Active Directory (Azure AD) application and created a console application using .Net Core.  The application uses a client secret and the Microsoft Authentication Library (MSAL) to establish an authentication context with the Microsoft Graph API.  Today we'll extend that application to create a user within Azure AD.