Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Weird issue with Teams/Dataverse automated flow

(0) ShareShare
ReportReport
Posted on by 1,393
I have a Team with Dataverse for Teams enabled. In that Dataverse environment, I have a table called "AppUsers" that's used in a couple of apps. To populate that table, I created a flow in the environment that runs when users are added to the Team and adds them to the table. It's a very simple flow with just the "When a member is added" trigger, an action to get the user's Office 365 profile, and then an "add row to table" action.
 
This works, but for some reason, it adds each user twice. I've checked the flow run data and as far as I can tell, the "add row to table" action is only happening once, so I'm not sure why it's producing two rows in the table.
 
Here's the flow: 
ChadVKealey_0-1635865472418.png

 

  • ChadVKealey Profile Picture
    1,393 on at
    Re: Weird issue with Teams/Dataverse automated flow

    That's the weird thing: it's only triggering once. I also checked to see if I had another flow that might be responsible (I initially tested in another environment before I realized I needed to create it IN that Team's Dataverse environment), but nothing. So, the flow only runs once, and there's only one "add row" action, but it's creating the row twice.

  • Expiscornovus Profile Picture
    31,648 Most Valuable Professional on at
    Re: Weird issue with Teams/Dataverse automated flow

    Hi @ChadVKealey,

     

    My suggestion would be to have a look at the trigger action of both events in the flow history, that might give you a clue why it is triggering twice. 

     

    In the meantime it is also possible to implement a workaround. You could use a list rows action with a filter query to see if the row for the user already exists. If that action returns a result you can skip the creation of a new row.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow