web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Run failed: Connection...
Power Apps
Unanswered

Run failed: Connection not configured for this service.

(0) ShareShare
ReportReport
Posted on by 95

Hi,

 

I have a power apps button flow that works in my unmanaged test solution and environment. 

 

When I deploy to a production environment as a managed solution, I get this error when I click the button in the power app:

 

Run failed: Connection not configured for this service.

 

I found this article:

https://powerusers.microsoft.com/t5/Using-Connectors/connection-not-configured-for-this-service/m-p/896780#M11894

 

However, as per the article the basic user role needs to be modified cannot be modified:

 

danru_0-1697629138025.png

 

What other solution is there to solve this error?

 

Thanks a lot!

 

Regards,

 

Daniel

 

I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @danru ,

     

    We can copy the 'Basic User' role and customize the copied one.

     

    Best Regards,

    Wearsky

  • danru Profile Picture
    95 on at

    Hi @v-xiaochen-msft

     

    Thanks for coming back to me. I did as you said and it's still not working.

     

    I noticed that the flow in question was turned off when it imported as part of the managed solution.

     

    I tried to turn it on and got this error:

     

    Flow client error returned with status code "BadRequest" and details "{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'DynamicOperationRequestClientFailure' and message 'The dynamic operation request to API 'sharepointonline' operation 'GetTable' failed with status code 'NotFound'. This may indicate invalid input parameters. Error response: {\r\n "status": 404,\r\n "message": "List View Not Found\r\nclientRequestId: a41391d4-08fd-405f-b36e-de734db9cecf\r\nserviceRequestId: a41391d4-08fd-405f-b36e-de734db9cecf"\r\n}'."}}".

     

    The flow has these connectors and uses connection references:

     

    danru_0-1697702151031.png

     

    The flow was set up with elevated permissions in the test environment so that a service account is used to run the Azure key vault and Excel connectors to control access but allow the flow to retrieve data from these sources.

     

    When after deployment to production in the managed solution, this configuration was reset so all connectors used the run-only user connection (More below). 

     

     

    danru_1-1697702253602.png

     

    I changed it back to the service account for Azure KV and Excel but when I save I get this error:

     

    danru_2-1697702395207.png

    I'm perplexed. Any advise you can give will be most appreciated!

     

    Thank you so much.

     

    Regards,

     

    Daniel

     

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 308

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard