Last active
February 8, 2023 20:25
-
-
Save maisarissi/4854ae1b7fffae63659e3c29bebfea03 to your computer and use it in GitHub Desktop.
msgraph-dotnet-v4-create-user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//create user using v4 | |
var user = new User() | |
{ | |
DisplayName = "Adele V", | |
}; | |
await graphServiceClient | |
.Users | |
.Request() | |
.AddAsync(user); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment