cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thomas_praxis
Frequent Visitor

Add new user accounts (Azure Active Directory) to Office 365 group based on domain in UPN

Hello,

 

For employee onboarding, I would like to create a flow that will add Azure AD accounts that have certain domains in their UPN to a specific Office 365 account.  The flow should run on a schedule, perhaps 2 to 4 times a day, and check Azure AD for users accounts that meet the criteria and then add them to the group.

 

I found the Add Member to Group connector but I'm not sure how to configure the User Principle Name field in the connector.

 

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @thomas_praxis,

 

The User Principal Name field of Add member to group only support UPN, it is a string of 32-digits code, you could get them by using Get user action of Azure AD connector:

Annotation 2020-08-06 101413.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
yashag2255
Dual Super User II
Dual Super User II

Hi @thomas_praxis 

 

You can pass the user email address for the UPN. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Hi @yashag2255 , thank you for your response. 

 

I've added a screen print of the Add member to group connector I am trying to use.  Sorry I can't get the picture embed to work.

 

By default it requires UPN.  Are you suggesting I pull the email address through the Expression somehow?

 

 

Hi @thomas_praxis,

 

The User Principal Name field of Add member to group only support UPN, it is a string of 32-digits code, you could get them by using Get user action of Azure AD connector:

Annotation 2020-08-06 101413.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,417)