cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jawilson
New Member

Updating entire list with O365 User Data

I have a list of people and I use a flow to automatically populate their reporting manager when the item is created or updated. This part works well but I would like to schedule the manager field to be updated periodically as sometimes the item isn't modified in a while and therefore the manager field will become out of date. I can't seem to get any of my flow attempts to work.

 

Can someone please suggest the easiest way to complete this?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

I tried a very simple:

- Scheduled occurrence trigger

- Get items (my list of people)

- Get Manager (automatically created an Apply to Each)

- Update Items (automatically created an Apply to Each). 

 

It will not allow me to select the 'Manager' field that I got earlier. If I select the Apply To Each, the flow won't run. 

 

Thanks

View solution in original post

3 REPLIES 3
Pstork1
Dual Super User III
Dual Super User III

Depending on the trigger you are using it could be as easy as replacing the trigger with a recurrence trigger.  Are you triggering the flow manually?



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

I tried a very simple:

- Scheduled occurrence trigger

- Get items (my list of people)

- Get Manager (automatically created an Apply to Each)

- Update Items (automatically created an Apply to Each). 

 

It will not allow me to select the 'Manager' field that I got earlier. If I select the Apply To Each, the flow won't run. 

 

Thanks

View solution in original post

Pstork1
Dual Super User III
Dual Super User III

Put the update item step inside the apply to each loop for the manager.  Then you can use the manager that you get back from that step.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,444)