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

Notifications

Announcements

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 445

#2
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 321 Super User 2025 Season 2

Last 30 days Overall leaderboard