Skip to main content

Notifications

Community site session details

Community site session details

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

Invalid connections inside solution workflows after importing a managed solution package

(0) ShareShare
ReportReport
Posted on 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 at
    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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Governance and Administering

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 11 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 9

#3
bscarlavai33 Profile Picture

bscarlavai33 5 Super User 2025 Season 1

Overall leaderboard

Featured topics