I have an embedded canvas app in my development environment. When I export this app as a package and import it in my test environment, the App ID is getting changed. Because of this, I need to manually change the App ID in the form where I am using it. Is there any way to export the app with the same ID?
Hi @MadhanSA ,
The whole idea of an App ID is that it is unique.
So exporting still leaves the original with the number. If the exported apps (or apps) had the same number, the system would have no idea which one to launch,
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
I agree. But I am not going to import the app in the same environment. The App ID will still be unique in the new environment.
Hi @MadhanSA ,
Actually, when you import a canvas app from one Environment to another one, it would create a new canvas app in your Target Environment rather than just copy/move the original canvas app into your Target Environment.
So the App Id value of the import app in your Target Environment would be different from that in your Source Environment. If you want to make the App Id constant during the importing process, I afraid that there is no way to achieve your needs in PowerApps currently.
If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
Note: In order to distinguish which Environment this canvas app is from, the App Id value within different Environment would be unique.
Does anybody know how to make it not a constant? For some reason when I try and deploy to a different environment within the tenant the app id stays the same so any changes I make in one environment affects the other.
Not sure if you found a solution for this yet, but the resolution is to set the App Name in the embedded canvas app control properties of the model-driven form. When an App Name is present is takes precedence over the App ID hence you won't need to change anything after a solution import.
Hope this helps!
Thanks for this tip, Eric. Unfortunately, that solution is not working for us. Now the embedded app is pulling from a different environment and performing functions on another CDSs data 😞
I'll have to start a Support ticket I guess
Hi @BishopTecConsul, then your issue is not because of the App ID. It sounds like you haven't updated your connector/data source in the other environments. Still still point to your origination CDS/Dataverse.
Wish it were so easy. I have a copy of the canvas app in multiple environments in the same tenant. All connections are up to date and turned on after solution import. Strangely, it’s not the originating sandbox that it is still connected to, but one of other environment in the tenant.
Check out new user group experience and if you are a leader please create your group
Check out how to claim yours today!
We are excited to announce that Demo Extravaganza for 2021 has started!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks