Create a New User Account with Power Automate

Do you get a lot of request for New Users? Using out of the box features of Microsoft 365 you can create a simple process to request and automatically create a new user. In this video I demonstrate the features including adding the user to a Microsoft 365 Group.

Here are the details of the Workflow shown in the video

Generate Password

This example generates a random password. The password can be emailed to the requestor and configured to change on the first login. If you policy requires MFA (it should) , Entra will prompt for the details at the first login.

Create User

Map the details from the Form into the related fields. I have mapped the email address to the User Principal Name (UPN) and this must be unique.

Add the user to a Group

You can find the “Group Id” from the URL in the Admin Centre by click on a group and selecting the text after the right hand most “/”. The value can also be found in the Azure Admin Portal in the Entra Group details, or in the M365 Admin Portal by selecting a Group.

In Power Automate, use the GUID in the Group ID field of the “Add user to group” Entra ID action. The User ID is the ID of the user you want to add to the group.

This Workflow can be extended to include additional groups, update existing users, add custom attributes etc. The “Update User” action includes support for custom attributes.

In conclusion, Power Automate Entra ID actions can be used to automate some common User Administration tasks. Perfect to freeing up the IT Support team to focus on other support tasks. The workflow can include approvals and log request data for audit needs.

Learn more about Power Automate Entra ID Actions.


Discover more from SharePoint Moments

Subscribe to get the latest posts sent to your email.

2 comments

  1. I do not see a action in power automate that can create a user .

    There is not Azure ID connector

    I have also looked under premium but no such action

Leave a comment