cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Community Support
Community Support

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

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
Highlighted
Dual Super User III
Dual Super User III

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

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!

Highlighted
New Member

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

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?

 

 

Highlighted
Community Support
Community Support

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

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

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (3,543)