cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hemantkumar
Frequent Visitor

PowerApps Flow Error : "Connection not configured for this service", when its in included in the Managed Solution and deployed

Hello Experts,

I have a flow used in Canvas app, and its part of managed solution, it works well in my Development instance but when I deployed the managed solution to the target instance I am getting the "Connection not configured for this service" error in Canvas App.

I checked the flows, the status of flow is 'On' and connection details they look good, I tried recreating the connections still I get the same error.

The flow name is ParseData.Run() in Dev instance in my CanvasApp.
And at Target instance in Canvas App, when I remove the flow reference and add it again then I noticed it gets new name (_1 added to it) so it becomes ParseData_1.Run() and it works as expected , I think which is not a right approach to go and change it manually. 

Could anyone suggest what could be the problem and how it could be resolved?
Thank you very much in advance.

Regards,
Hemant 



12 REPLIES 12
Steve_Wilmer
Frequent Visitor

I have the same problem. Did you find a solution.  It seems a reasonable thing to expect to work.

 

Being a managed solution you cannot update the connection. If you use a unmanaged solution you can update the connection, but then cannot use update to load new versions of your app.

Steve_Wilmer
Frequent Visitor

I have found my solution.

Import managed solution... on the App do edit which opens the managed solution in Treeview. If you look at your connection it will be 'Not Connected'.   I removed the Connection, then on the button executing the flow, I took a copy of my existing code, readded the flow from the menu, once the skeleton flow template was there I copied my code back in, saved the App... Published.. then my connection to the flow was back.

 

ABYYC
Advocate I
Advocate I

@Steve_Wilmer, this worked for me as well, thank you.

Disappointing the workaround is necessary though.

Could you please share step by step procedure to rectify such error. I have created a Power App and an Power Automate flow which is triggered from click on a button. The flow is running from my web power app and also from Power App mobile but other members are able to initiate flow from web power app in laptop but they are not in position to initiate through mobile.

I don't have the experience with deploying to mobile to help you with this problem. From what you say it is working from some mobiles and not from others. All I can suggest is if you can find any pattern it is happening on one type of mobile or another.  Maybe if you completely remove permission for that person, and readd them it might force an update on the underlying connection. The crux of the problem is that you need the underlying connection to update on that mobile, but I cannot answer that question.

Hi @aaroh_bits....The solution presented here worked for me as well.

 

But this workaround creates two more issues as follow:

  1. Now the Canvas App in the managed solution has "unmanaged customizations". So when you upgrade your app in the development environment, export and then import it in the production environment, those changes won't be visible.
  2. At the moment, you cannot "Remove Unmanaged Customizations" specifically for the Canvas App, so you are basically stuck with a version of the app, which cannot be upgrade or modified if required. The recent update from MS points that now canvas app will also support the RemoveActiveCustomizations. But do not know the timeline.

 

If anything i wrote above is wrong, then please do correct. Happy learning 🙂

Thanks @abhishekgawde a lot for your pointer. 🙏

Point 2 a real bummer as we keep on adding / enhancing the app regularly. 
@yashag2255  ...do you have some insights on this please?  

Hi @aaroh_bits , after the update from release wave 1, 2021 all the issues seem to have been resolved.

  1. Connection References are maintained when export/ import of solution is performed. The Canvas App triggered flow does not have to be reconfigured.
  2. Now the Remove Unmanaged Customization is also supported for the Canvas App components.

Hi @abhishekgawde  ..

 

Thanks for your pointer. 
We are already on Power Apps release wave 1, 2021. 

We raised Microsoft ticket and issue is resolved. 

 

  1. Navigate to Power Apps Admin Center
  2. Selected the Environment you are working. 
  3. Click on Settings on top bar.  
  4. Go to User + Permissions >> Security Roles  
  5. Under the Security Roles, find the Basic User role , click on  ellipses (...) >> Edit
  6. Under Customization tab >>  Select Process >> assign Read access to the Organization
    aaroh_bits_0-1618898288076.png

     

  7. Workflow with OneDrive connection  works without any issue. 

    Hope it helps someone. 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (58,546)