Moving a Canvas app into a solution and keeping the associated URL and ID in different environments

michelcarloModern Workplace2 years ago21 Views



If for any reason you have built a Canvas app outside of a Solution, and published it to multiple environments using the export/import functionality of Power Apps, if later you decide to add it to a solution (best practice) and redeploy the app to those environments using solution export/import, you will be duplicating the canvas app and the canvas app present in the solution will have a different ID and by consequence a different access URL, which can be a pain if there are a lot of users already using the app and you want them to use the new version (from the solution).

However, we can use a special Power Apps PowerShell cmdlet before importing the solution into those environments and avoid this hassle:

Set-AdminPowerAppDesiredLogicalName

How to use the cmdlet and make the solution import work correctly keeping the same app ID

The following steps assume that app already is imported in multiple environments such as dev/UAT/Production and not added to any…



Source link

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
February 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28   
« Jan   Mar »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...