Hello,
I'm having difficulties with adding users to an Office365 group.
These are my flows:
Flow 1: Takes the input from a Microsoft Form to a Sharepoint List.
Flow 2: Triggers whenever a new item is added to the Sharepoint list. Starts an approval. After the approval the user is created in Azure AD.
After the user is created in Azure AD I add the user to an office365 group using the Office365 groups -> Add member to group action.
I select the group from the drop down and I user the UPN based collected from the previous Azure AD -> create user action.
For some reason I keep getting this error: Action add user to group failed: Invalid target for navigation property update. URI must target an entity.
I already tried using the GUID but this gives me an error: Resource '......0-8beb-4300-ae3e-1ef9f543a14e' does not exist or one of its queried reference-property objects are not present. I used the Powershell Get-UnifiedGroup command to get this GUID.
Hopefully someone can help me solve this issue 🙂
Thanks a lot!
Solved! Go to Solution.
Ok so I found a solution to my problem which, to be fair, was mentioned in the link provided by abm:
Hi @Michaelvds
This post might help.
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @Michaelvds
Thanks for your reply.
Use Search for users.
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogProud to be a Flownaut!
Hello,
So I just tried using the Search for users -> upn. This gives me the same error:
Proud to be a Flownaut!
Hi,
Thanks for your assistance!
That is weird..
Are you selecting the group from the dropdown list in the action?
—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others
Proud to be a Flownaut!
Yes, I do.
Hi @Michaelvds
Are you searching one user or multiple (Search for users v2)?
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi,
I'm using Search for users v2 (limited to 1 entry)
Ok so I found a solution to my problem which, to be fair, was mentioned in the link provided by abm:
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
72 | |
27 | |
22 | |
15 | |
13 |
User | Count |
---|---|
141 | |
42 | |
42 | |
34 | |
30 |