Skip to main content

Notifications

Power Apps - Power Apps Governance and Administ...
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

 

Categories:
  • danru Profile Picture
    danru 95 on at
    Re: Run failed: Connection not configured for this service.

    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

     

     

     

  • Re: Run failed: Connection not configured for this service.

    Hi @danru ,

     

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

     

    Best Regards,

    Wearsky

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

End of Year Newsletter…

End of Year Community Newsletter…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #11 New Opportunities…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,609

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,420

Leaderboard

Featured topics