web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / New AppID when updatin...
Power Apps
Unanswered

New AppID when updating solution?

(0) ShareShare
ReportReport
Posted on by 2,563

Hi

 

I have a solution that uses deeplinking to a powerapps in emails.
The deeplink contains the URL of the application with the AppID and some variables.

 

I have the one DEV enviroment, unmanaged solution and one PROD enviroment managed solutions.

I make the changes I need ion DEV export it as managed and move it to PROD.

Will an update or upgrade always change the AppID, as this breaks my deeplinking in emails, they will now point to an app that does no longer exists.

 

I maybe should have thought the deeplinking part thru more, but is it correct that each time i make an update, export from dev to prod, I will get a new AppID? And if yes, how can I solve this with still using deeplinks to to point to the correct app?

I have the same question (0)
  • joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at

    Hello @JimmyWork,

     

    As long as you update the solution in the Prod environment, the app ID will not change. Your deeplinks are going to continue to work.

    You might still consider using environment variables for your links, as you will be able to change the app ID in an environment variable more easily than if you have hardcoded it in your app (if you're not doing this already): https://learn.microsoft.com/en-us/power-apps/maker/data-platform/environmentvariables

     

  • JimmyW Profile Picture
    2,563 on at

    Thank you for answering. @joe_hannes_col 

    I'm using environmental variables, nothing is hardcoded.

     

    But I develop in DEV, unmanaged solution.

    The I publish to PROD as managed solution. 

     

    What you are saying I should develop in PROD? Because once I update a solution from DEV to PROD a new ID is generated.

     

    Would you say this is the correct approach for PowerApps, and DEV, UAT, PROD environments are basically one? Then why package it as solutions? have 2 solutions for each one dev and one prod, will just be a messy clutter?

  • joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at

    Hello @JimmyWork,

     

    Sorry, developing in Prod is not what I meant at all. Developing in a Dev environment and then pushing the solution to Prod (with intermediate steps like UAT, if applicable) is absolutely the correct approach.

    What I was trying to say is:

    • You start developing a solution in Dev, and add a Canvas App to your solution.
    • You then import this solution into Prod. When you first import the Canvas App inside the solution, an app ID is generated for this app in Prod.
    • When you make changes to your solution in Dev, and then import the updated solution into Prod, the app ID will not change. Your links will continue to work (as long as you do not overwrite the environment variable values in Prod with the ones from Dev, that is).
  • JimmyW Profile Picture
    2,563 on at

    @joe_hannes_col Thank you for clarifying.

    However if I use environmental variables based on App ID would they not need to be updated when moving from DEV to PROD

  • Verified answer
    joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at

    Hello @JimmyWork,

    The environment variable(s) would have to be set to the app ID in Dev for the DEV environment, and to the app ID in Prod for the PROD environment.

    So after you first imported your app to PROD as part of your solution, you will have to retrieve the PROD app ID, and then you will have to update the environment variable with this PROD app ID. If you haven't already, please review the limitations on environment variables, for example, you might have to turn off and then turn on flows that use your environment variable to enforce the new value.

  • JimmyW Profile Picture
    2,563 on at

    @joe_hannes_col Thank you for taking your time and answering me.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard