Skip to main content
Community site session details

Community site session details

Session Id : zot3jVJFS1yR73r7K5oklh
Power Apps - Power Apps Governance and Administ...
Unanswered

Invalid connections inside solution workflows after importing a managed solution package

Like (0) ShareShare
ReportReport
Posted on 27 Sep 2021 12:40:42 by 287

Hello folks,

 

I have had this daunting problem for a while now with a client. I have an unmanaged package in my own tenant where the development happens (Power Apps, Flows, Dataverse tables, custom security role) and when the client's solution requires an update, I'm pushing a managed package (zip-file) to their tenant using the "Upgrade" -option when importing the package. Just as a point, this target environment is located in another tenant and they are using the "(default)" -environment. I don't know if that helps.

 

Lately, after updating the app successfully, some of the workflows are turned off. When trying to turn these Flows on from the solution, I'm getting the following error which says I'm missing some connection references even though I'm not. All the flows in the target environment are using the connection references listed in the solution.
Screenshot_62.png

 

When I open the turned off -Flow in the target environment, I see that there are 2 invalid SharePoint connections:

Screenshot_63.png

 

In my source org, the connection is correctly configured to use the connection reference in the solution as seen below:

Screenshot_64.png

 

After I "fix" the connection in the target environment, save the flow and turn it back on, it creates an unmanaged layer in the component.

Screenshot_65.png

 

Some have suggested removing this unmanaged layer and that's what we have done, but that turns off the Flow and the connection issue is there again. There is no way I could turn on the Flow without creating an unmanaged layer.

 

Stuck with this. Any help from the community experts?

 

Thanks,

 

Ville

Categories:
  • v-xiaochen-msft Profile Picture
    on 30 Sep 2021 at 05:26:40
    Re: Invalid connections inside solution workflows after importing a managed solution package

    Hi @VilPel ,

     

    I did a test but I did not encounter your problem.

    I guess there is a problem with the sharepoint connection in your target tenant. Could you try to create a new connection to test it again?

     

    In addition, you could try to export the unmanaged solution (not managed solution) from the souce tenant to the target tenant.

    Then you could modify your flow to fix it an turn it on.

    At this point you could export the unmanaged solution in the target tenant  .(Export as managed solution)

    Please don't forget to delete the components in the target environment.

    Then you could import the managed solution to the target tenant again.

     

    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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Featured topics

Loading complete