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 / Power Apps Deployment ...
Power Apps
Unanswered

Power Apps Deployment Issue, Unable to update/select connections, Managed Solution

(0) ShareShare
ReportReport
Posted on by 23

Hi Experts,

I have a Power Apps which uses the following connections:
1)Office 365 Outlook
2)Bing Maps
3)PowerApps Notifications
4)CDS

And everything works fine in Development instance.
The app was included in the solution and exported the solution as a managed solution. And the managed solution got imported successfully in the target instance but when I want to run the app, the below screen (pic 1) gets opened and not able to process further.
Pic 1.png

 

I have added all the connections, still, I get the above screen.

Pic 2.png

 

The easy option is to export package and import in the target instance but not sure if it possible with a managed solution.

Many thanks in advance.
Hemant Kumar


Pic 1.png
Pic 2.png
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @hemantkumar ,

    Connections require authentication and consent, which requires an interactive user session and therefore cannot be transported via solutions. So these three data sources will all become invalid in the target environment.

    So you need to create connection inside the app.

    However, managed solution has this limit:

    If a canvas app is packaged in a managed solution, it can't be edited and re-published in the target environment. Use unmanaged solutions if the apps require editing in the target environment.

    So please use unmanaged solutions. After you import this app to target environment, edit the app, recreate connection with these three data sources.

     

    Here's the doc about limit in solution for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/use-solution-explorer#known-limitations

     

     

    Best regards,

     

  • Hemant Kumar Sahu Profile Picture
    23 on at

    Thank you @v-yutliu-msft for your response.

    Yes, it works very well when the app is part of the un-managed solution or imported independent, but the app can be edited by another user easily in the target instance.
    So I don't the app to be edited by any other user in the target instance, that is the reason I included the app in the managed solution. And also, I added all the connections prior to importing the solution in the target instance, except CDS other data sources say " This app needs access to this connection."


    So I just wanted to check Is this possible at the moment or Is there anything that I am missing?



    Thank You
    Hemant

     

  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @hemantkumar ,

    1)I'm afraid you could only use unmanaged solution to import.

    This is solution's limit.

    If you want others can not edit this app, you could change others' permission in this environment.

     

    2)You need to recreate connection inside the app, not just in powerapps studio.

     

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @hemantkumar,

     

    Were you able to fix this issue with managed solutions? 

    I am having the same issue. I want the customer to be able to use their connections but not be able to edit the app. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard