Hi!
I am trying to create a scheduled flow that auto adds employees to different tags based on their department that is listed in 0365.
My flow uses "Search for Users', then a condition that the department of the user is equal to a certain name,
Inside, I use 'List the members of a tag' to get the current list of users attached to said tag.
Then I have another condition that the Teams Display name for a tag member has to be equal to the display name from the department condition. If it is false, the user is added to the tag (currently just sending me a chat instead).
For some reason when I run this I get the same users ran through 3-4 times but then I have one user not included at all. Is there a way to stop this in the 'Search for Users' action? I want every user ran through only once.
I would also appreciate any tips on my flow if you see anything that could be better :-)