Forum Discussion
elmirt
Jun 11, 2021Copper Contributor
Add Teams group to Project for the Web with Power Automate
Hello, we are looking for a solution to add a Teams group to a project in "Project for the Web" with a flow. In the web we have just to select the group and click on "Add" like in the screensh...
gbartumeu
Jul 19, 2023Copper Contributor
Hello PhilippS1,
I did it using Power Automate.
On Dataverse, the Team table will automatically add the Team you recently created. But if you want you can add it by yourself.
Then you will need to relate this Team with Team roles associations: Project Team Memeber and Project Common.
Here is how I have done it using a "Relate Action" (In Spanish..):
1. Table name: Teams
2. Row Id: Your Team Id
3. Relate: Team Role Associaton table
4. Relate with: https://[Your dynamics URL]/api/data/v9.1/roles(ROLE ID), where the role ID you should copy it from your "Team Roles" Dataverse table.
Hope it helps!!
PhilippS1
Jul 19, 2023Copper Contributor
Thank you very much for your help! I appreciate it!
Unfortunately I have no success. For me it does not create a row in the dataverse table "Table" after the creation of the team.
I have then set the entry once manually, unfortunately without success. Here once my flow:
In the actions that are used to relate the role, I used the team ID that I got from the action before. Not the team ID, which I received in the first action.
If it is not too much effort for you and you find time, could you show me your whole flow? I can understand if it is too much work though.