Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Legacy CDS Connection in PowerApp stopping publishing

I had a canvas power app that connected to a CDS data source.


Because of licensing issues, I rewrote the app to use SharePoint lists. I deleted any fo the old flows I had used and wrote brand new ones.


In the app, I deleted all references to the CDS connectors.


Then I spun up a brand new CDS instance, imported the solution into it, rejigged all the Sharepoint connectors and the flows, saved. Then I hit Publish and... it says it cannot publish as the CDS (custom) entity is not in the environment.


Now there is no reference anywhere in this new instance to the CDS connector so I cannot delete it. I assume there must be some link in the app buried deep down I cannot access that thinks it is still connected to CDS.


Now interestingly, when I went to share with everyone it failed as it then showed CDS cannot be shared with Everyone. So at last I see a reference to it, but no way to remove it.




Is this a Microsoft support call issue? I am not sure I have the time so I many have to manually rebuild the app ...

Power Apps
Power Apps

Hey, do you have an ICM on this that we can reference?


Did you publish the original app after removing the CDS connections and before importing the solution to the new environment?

Just saving the app is not enough since the solution has a reference to the last published app.




Sure, 120040122003143 @LanceDelano 

@Kunal, I am currently on version 80 odd of this app, and I removed this CDS connector a long time ago and have done multiple pubishes since.


I have actually found it is suprisingly easy to rebuild an app from scratch. I have maybe 8 screens in this app, and a CTRL-A and copy and paste into a new app takes only 5 minutes, (Plus the time to add connectors and flows) so I will just go that route as I need to launch this app tomorrow.

Helpful resources

2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,032)