Automatically assign a Person to Users in D365 HR


If you work with Microsoft Dynamics 365 Human Resources, you know that you can assign a Person to a User within the system. For instance, a new marketing employee will be assigned to a Marketing Manager. If you work in a big organization that hires a lot of people on a monthly basis, you know that it takes a lot of time to assign all these new employees. You might want to consider using an automatic way to do this to save time. In this article, we show you how to setup an automatic process to make this possible.

How to setup the process

The steps look like this:

Step 1: Get the data from the odata URI of workers as shown below with all the authentication with the Active Directory OAuth.

Step 3: Create a ‘for each’ loop. In addition to this, apply the body of the output from previous steps and create a compose action to get the details of fields.

Assign person to user in d365 human resources

Step 4: Post the data through the http connector to Person Users entity with the required fields and schedule it on a weekly or on a monthly basis to automate the update without manual intervention.

D365 HR assign user

Step 5: If done correctly, all should be setup now. Lets test it.

We will run the Power Automate flow to map the user Alicia and April with the workers

Test run of atomization of d365 roles

Below is the output.

Test example automation D365 roles

As you can see, the ‘Person’ fields are now filled in.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: