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

adding Guest users (external contacts) to O365 groups

Hi,

 

I want to use flow to add external contacts (like Gmail,Hotmail emails ids) to the office365 group.  As per definition, the office365 group can add external contacts as guests and send them an email invitation, when someone manually adds external contact (Gmail, etc) from OWA or Outlook.

 

I have made a simple form, which passes values ( name, email and group name)  to flow, which successfully adds the email to the provided group name. (O365 hosted email id)

 

But when I use the external email address (like Gmail) it gives below error and the user is not added in the group.

 

Error
Action 'Add_member_to_group' failed
Error details:
Invalid target for navigation property update. URI must target an entity.
 
error.png
 
The form and flow are working fine with Office365 already created email ids. The issue is with external ids,  which as per definition of O365 groups can be added. This is also called guest users in office365 groups.
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @wakhan007,

 

It is impossible to add an external user to O365 Group, but you should get its UPN.

And there is no action could get UPN of an external user, so the only way you could do is store these user UPN into an Excel table. When a response submits, use Filter array action to find corresponding UPN, and add it into the Group.

 

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

Hi @wakhan007,

 

The Add member to group wants the User Principal name, it is a string of code, not an Email address.

Annotation 2020-06-23 140541.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.

So it's not possible? What if i add the external email id as contact first and then import that contact in GroupID.

Hi @wakhan007,

 

It is impossible to add an external user to O365 Group, but you should get its UPN.

And there is no action could get UPN of an external user, so the only way you could do is store these user UPN into an Excel table. When a response submits, use Filter array action to find corresponding UPN, and add it into the Group.

 

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (3,157)