Showing results for 
Search instead for 
Did you mean: 

[Publish] How to create and assign access teams to a dataverse row using power automate flow?


Step-by-step process of creating access teams using Microsoft power automate flow

Step 1: Create a new automated cloud flow.

To create a new automated cloud flow, start by choosing a name for the flow that you prefer. Next, select the trigger option "When a row is added, modified, or deleted." You can find this trigger by searching for "dataverse" in the "Choose your flow's trigger" text input field, as shown in Figure 1. Once you have selected the trigger, you can proceed with creating your automated cloud flow.

Figure 1.png

Figure 1: Automated cloud flow creation using dataverse trigger.


Step 2: Customize your trigger. 

Select the change type, table name, and scope based on your requirements. I have chosen the attributes as shown in Figure 2.

Figure 2.png


Figure 2: Trigger customization


Step 3: List rows using the email address of the creator of the row. 

Insert a new step and select the “List rows” action from the dataverse connector. As shown in Figure 3 below, filter the rows in the user's table such that the domainname eq ‘’.

Figure 3.png

Figure 3: List Users using their email.


Step 4:

To add a new step, search for the dataverse connector in the search field. From the list of dropdowns, select the "perform a bound action" action. In the table name field, type "Users" and in the Action name field, enter "AddUserstoRecordTeam".

Figure 4.png

 Figure 4: Perform a bound action


In the "Row ID" field, insert a value called “User (Unique identifier for the user)” that gets listed under the “List Rows” section. This will create an apply to each loop automatically.

Figure 5.png

Figure 4.1: Insert "User" in Row ID


Step 5:

Further, the "record" field is the row that you want to associate this access team to. Follow this blog post by Jon Russell to get the plural name of any table. I know you would say the plural name for Account is nothing but Accounts!! But in one of the scenarios, it was not just adding “s” in the end.   

Figure 6.png

 Figure 5: Add the record.

Step 6:

In the "teamtemplate teamtemplateid" field fill in the GUID of your action (Read/Write/Delete/Append/Append to) template. If you have created a template, you can find it in the Team Templates table’s “primary key for team templates” column. If you do not have a team template, create it in the admin center. Let me know if I have to write another blog for this.


Figure 7.png

Figure 6: Insert team template ID.


That's it! Awesome, your access team creation process has been successfully completed! It gets created when a new row is added to the dataverse table. Doesn't it feel great? With unclear documentation, the process was as daunting as entering a scary house during Halloween. I spent a lot of time configuring this, but it was worth it. Now, you repeat the same process from list rows to the end to add the creator’s manager to the same team.  

About the Author
  • Experienced Consultant with a demonstrated history of working in the information technology and services industry. Skilled in Office 365, Azure, SharePoint Online, PowerShell, Nintex, K2, SharePoint Designer workflow automation, PowerApps, Microsoft Flow, PowerShell, Active Directory, Operating Systems, Networking, and JavaScript. Strong consulting professional with a Bachelor of Engineering (B.E.) focused in Information Technology from Mumbai University.
  • I am a Microsoft Business Applications MVP and a Senior Manager at EY. I am a technology enthusiast and problem solver. I work/speak/blog/Vlog on Microsoft technology, including Office 365, Power Apps, Power Automate, SharePoint, and Teams Etc. I am helping global clients on Power Platform adoption and empowering them with Power Platform possibilities, capabilities, and easiness. I am a leader of the Houston Power Platform User Group and Power Automate community superuser. I love traveling , exploring new places, and meeting people from different cultures.
  • Read more about me and my achievements at: MCT | SharePoint, Microsoft 365 and Power Platform Consultant | Contributor on SharePoint StackExchange, MSFT Techcommunity
  • Encodian Owner / Founder - Ex Microsoft Consulting Services - Architect / Developer - 20 years in SharePoint - PowerPlatform Fan
  • Founder of SKILLFUL SARDINE, a company focused on productivity and the Power Platform. You can find me on LinkedIn: and twitter I also write at, so if you want some Power Automate, SharePoint or Power Apps content I'm your guy 🙂
  • I am the Owner/Principal Architect at Don't Pa..Panic Consulting. I've been working in the information technology industry for over 30 years, and have played key roles in several enterprise SharePoint architectural design review, Intranet deployment, application development, and migration projects. I've been a Microsoft Most Valuable Professional (MVP) 15 consecutive years and am also a Microsoft Certified SharePoint Masters (MCSM) since 2013.
  • Big fan of Power Platform technologies and implemented many solutions.
  • Passionate #Programmer #SharePoint #SPFx #M365 #Power Platform| Microsoft MVP | SharePoint StackOverflow, Github, PnP contributor
  • Web site – Youtube channel -