cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
niegg
Level: Power Up

Write manager form azure to dynamics

Hi together, 

 

I want to write each night the manger from azure to dynamics 365 (Lookupfield manager on the entity systemuser). For this, i want to use a flow. 

 

I created the following:

 

Step 1 : Recurrence once a Day. 

Step 2 : List records (all User in Dynamics 365)

Step 3 : Get manager (office 365)

Step 4 : List records (internalemailaddress eq 'Emailaddress from Manager')

Step 5: Update 1. record (Current Item from 1. apply to each) with "Manager Value" form current Item from 2. apply to each.

 

update1.JPGupdate2.JPG

 

the Flow fails in the update step. If i update a normal text field, it works. In the "current item" i receive a json. Probably i have to put in something like this

update3.JPG

 

 

Or how I can handle this? 

 

Thanks, 

Nic

 

 

2 REPLIES 2
niegg
Level: Power Up

Re: Write manager form azure to dynamics

Okay, i got it. I need to add instead of the current item the user Man LOL

thx

Community Support Team
Community Support Team

Re: Write manager form azure to dynamics

Hi @niegg,

 

Have your problem be solved?  If yes, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best Regards,

Alice

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 203 members 5,454 guests
Please welcome our newest community members: