List Collector and Look Up User in Entra ID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago - last edited 4 weeks ago
Hi everyone,
I'm trying to get a user list in a List Collector and pass to Look up User in Entra ID, to get the ObjectID of each user in the list to pass to the Add Users to Group in Entra ID.
However, I'm hitting a roadblock.
I'm successfully getting the user list and passing to a For Each step, but the Look Up User in Entra ID is looking up only the first one on the list and I don't know why neither know how to solve. Also, how to pass to the Add Users to Group will be another challenge.
EDIT: Correcting, I'm successfully getting each user Object ID from Entra ID, but not sure how to pass those users as a single batch to Entra ID to add them in the group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Could you pleas share the flow context
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @Ajay_Chavan
In the context there is nothing that can helps, no logs, no error, only the first user in the loop was passed to the Entra ID steps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
i am thinking there is a issue with "Look up user", can you just test action with hardcoded values, see what it gives
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
The look up action is out of the box, it accepts only one user at time. That's why I put a For Each before, to look up each user ID in Entra.
But I'm not being able to proceed, I'm seeing the documentation mentioning a script action within the loop to store the list of users as an array.
Right now, that is the part I'm stuck.