cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
NewBee117
Level: Powered On

Power Automate (Flow) called by PowerApps, runs for one domain but not others.

One of my PowerApps calls Flow using a button to run a store procedure.  Users from the same AD domain with me run it just fine, however, users from a different domain of the same forest fail to update the database, flow status is successful. Where else can I look to find the break point? Is there a way to find out who run the Flow? Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Delid4ve
Level 10

Re: Power Automate (Flow) called by PowerApps, runs for one domain but not others.

If the flow is completing problem must be sql side.
Have you tried adding
Begin transaction / commit transaction to your stored procedure and then checking the transaction logs?

I still find the whole ms permission model weird, ie you create a connection to OneDrive for business and use credentials for it, however whoever invokes the flow from PowerApps it uses their crendentials and their onedrive, why ask for credentials in the first place? Maybe something similar happening here

View solution in original post

5 REPLIES 5
Delid4ve
Level 10

Re: Power Automate (Flow) called by PowerApps, runs for one domain but not others.

the App, flow, gateway and connection shared with the other domain users? Only have one domain so trying to get my head around it.
NewBee117
Level: Powered On

Re: Power Automate (Flow) called by PowerApps, runs for one domain but not others.

The app is shared with the users and everything within PowerApps run fine, except that button calling the Flow.  Sharing for Flow and Gateway are for admins or co-owners only? The connection to the database is using basic authentication with a SQL server service account. 

Delid4ve
Level 10

Re: Power Automate (Flow) called by PowerApps, runs for one domain but not others.

If the flow is completing problem must be sql side.
Have you tried adding
Begin transaction / commit transaction to your stored procedure and then checking the transaction logs?

I still find the whole ms permission model weird, ie you create a connection to OneDrive for business and use credentials for it, however whoever invokes the flow from PowerApps it uses their crendentials and their onedrive, why ask for credentials in the first place? Maybe something similar happening here

View solution in original post

Community Support Team
Community Support Team

Re: Power Automate (Flow) called by PowerApps, runs for one domain but not others.

Hi @NewBee117 ,

 

Please check on below documentation:

https://docs.microsoft.com/en-us/power-automate/share-buttons

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
NewBee117
Level: Powered On

Re: Power Automate (Flow) called by PowerApps, runs for one domain but not others.

You are correct, we've found the problem in the stored procedure. Once the logic is modified to include the condition, it is now working. It is not AD domain related at all. Thank you all for trying to help along the way!    🙂

Helpful resources

Announcements
thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (6,734)