List Collector and Look Up User in Entra ID

Luiz Lucena
Mega Sage

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.

Screenshot 2025-09-05 at 14.45.40.png

 

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.

5 REPLIES 5

Chavan AP
Tera Guru

Could you pleas share the flow context

Chavan AP
[ Architect | Certified Professional]

Was this response helpful? If so, please mark it as Helpful and Accept as Solution to help others find answers.

Hi @Chavan AP 

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.

i am thinking there is a issue with "Look up user", can you just test action with hardcoded values, see what it gives 

Chavan AP
[ Architect | Certified Professional]

Was this response helpful? If so, please mark it as Helpful and Accept as Solution to help others find answers.

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.