Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

SQL Authentication and PowerApps trigger in Power Automate

(0) ShareShare
ReportReport
Posted on by 15

Hello Folks, I just need a clarification regarding the SQL Authentication and the trigger of Powerapps in flow.

 

I get that the Powerapps trigger in workflow uses the credentials of the user that triggers the flow and the  SQL Authentication connection uses the credentials I declared when I built it. Now , I encounter an issue when other user trigger the flow that uses the sql authentication with direct connection (cloud services). "Flow.Run failed: Connection not configured for this service.".

 

What is the best connection when using a Powerapps trigger? 

 

Thank you

  • cloudless54321 Profile Picture
    cloudless54321 15 on at
    Re: SQL Authentication and PowerApps trigger in Power Automate

    Yes, it is the powerapps trigger.  "Manage Only Users " is available only in "Manual trigger" and not available in power apps trigger based on what I research. It uses the credentials of the user who runs the flow however I have a SQL action inside the flow that configured as SQL Authentication type where it only uses the credentials of the owner who built the connection that's why I like to know what type of SQL connection is best with Powerapps trigger .

    cloudless54321_0-1692178662912.png

     

    cloudless54321_1-1692178819644.png

     

     

  • yashag2255 Profile Picture
    yashag2255 24,442 on at
    Re: SQL Authentication and PowerApps trigger in Power Automate

    @cloudless54321 

     

    You should use the Power Apps V2 trigger for the run only users feature. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • cloudless54321 Profile Picture
    cloudless54321 15 on at
    Re: SQL Authentication and PowerApps trigger in Power Automate

    Powerapps trigger does not have "run only users "

    cloudless54321_1-1692167223114.png

     

     

  • yashag2255 Profile Picture
    yashag2255 24,442 on at
    Re: SQL Authentication and PowerApps trigger in Power Automate

    Hi @cloudless54321 

     

    As the Power Apps trigger is a type of manual trigger, you can configure run only users. In the flow details page, you should be able to see a section for configuring run only users in the right side of the page. 

     

    In that section, you will be able to see all the connections used in the flow and then you can configure settings for those connections if they should be provided by the run only user or if the flow should use the flow owner's connection for the selected service. Once you configure these settings, refresh the flow in the Power App and publish the app. This will fix the issue. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard