PS Script | Inserting users in groups based on user fields content
Hi,
I am trying to enroll users in specific groups based on their department and office fields content. I can go to each group (via Entra) and define dynamic rules but it will take ages as I have hundreds of groups.
Is there a way, through scripting, to insert users in specific groups based on the content of user fields?
Example: userA with department=dpto1 and office=ofc1 would be automatically enrolled in group
dpto1-ofc1@domain
Thanks/Brgds
joao
Hi, I am trying to enroll users in specific groups based on their department and office fields content. I can go to each group (via Entra) and define dynamic rules but it will take ages as I have hundreds of groups. Is there a way, through scripting, to insert users in specific groups based on the content of user fields? Example: userA with department=dpto1 and office=ofc1 would be automatically enrolled in groupdpto1-ofc1@domain Thanks/Brgdsjoao Read More