Hello folks,
I am trying to automate our onboarding process but can't find a solution to add this information when using "Create user", I am not a pro power automation user but I guess it is possible to automate "Employee type and Manager" maybe using customizable extension attribute from "Update user".
Any help would be really appreciated 🙏🙏
Thanks a lot🥂
Hi @Everart_Araujo,
Elaiza Benitez has written a nice blogpost about setting app an application for using Graph API in a Power Automate flow, How to authenticate as an application with Microsoft Graph API with flow.
Thank's for your reply, I am using a Form to collect the responses and have 0 knowledge about Graph API, in that case, can you point a tutorial so I can get started with Graph Api and Azure add?
Thanks for your help mate🙏
Hi @Everart_Araujo,
A workaround could be to create the user via Graph API instead. With this approach you can add fields like employeeType in the body.
Below is an example
This setup uses a HTTP action which is part of a premium connector and also requires you to setup an app in azure ad with the correct Graph API permissions.
{
"accountEnabled": true,
"displayName": "Roger Federer",
"mailNickname": "roger",
"userPrincipalName": "roger@contoso.onmicrosoft.com",
"passwordProfile" : {
"forceChangePasswordNextSignIn": true,
"password": "yourcustompassword"
},
"employeeType": "Best tennis player of all time"
}
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492