Customer Engagement & Dynamics CRM Forum

Expand all | Collapse all

Moving an App from Sandbox to Production

  • 1.  Moving an App from Sandbox to Production

    Posted Sep 10, 2020 09:05 AM
    Hello User Group,

    My question today is: how do we move an App from one instance to another?

    My organization has not yet updated to the Unified Interface. We are planning to do this in October. The plan is to update our Sandbox Instance and then create an App there. After the App is finished, I can update the Production Instance and move the App from Sandbox to Production so our users can use the new App and it will be immediately available for all their CRM needs.

    How can this be done? Is it something that can be done? If so, what tools do we require, if any? I want to make sure I do not need to update our Production Instance first and then start working on an App for them to use.

    Thank you,
    Ian

    #Admin #Technical #DeploymentandImplementation​​​​

    ------------------------------
    Ian Fineberg
    Kemper System America Inc
    West Seneca NY
    ------------------------------
    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 2.  RE: Moving an App from Sandbox to Production

    TOP CONTRIBUTOR
    Posted Sep 10, 2020 01:44 PM
    Hi Ian. I am assuming you are using D365 CE and not on-premise. There is no need to upgrade either of your environments in order to create a Model Driven App.
    You should create a solution in your sandbox and create a Model Driven App in there. Once you have tested it, then export the solution from your sandbox and import it to production.

    ------------------------------
    If this answered your question, please click on the arrow button next to Reply Inline and choose 'Make Best Answer.'
    Thanks.
    Nelson Johnson, Solution Architect
    BroadPoint, Inc., Bethesda MD
    Link with me! https://www.linkedin.com/in/nelsonjohnson/
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 3.  RE: Moving an App from Sandbox to Production

    Posted 9 days ago
    Edited by Barbara Forsman 9 days ago
    Hi Nelson

    We are using D365 CE and have upgraded our Sandbox to UI but Production is still using the legacy interface.

    I have done what you suggested:
    "You should create a solution in your sandbox and create a Model Driven App in there. Once you have tested it, then export the solution from your sandbox and import it to production."
    I tried to import my solution from my Sandbox into Production but I'm getting multiple errors on missing dependencies.   0 errors were found when I checked the solution as part of the Export process.

    import errors
    Do I have to upgrade Production to UI before I'll be able to import my apps?

    Thank you!

    ------------------------------
    Barbara Forsman
    Senior Analyst
    NebraskaLink
    Lincoln NE
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 4.  RE: Moving an App from Sandbox to Production

    TOP CONTRIBUTOR
    Posted 9 days ago
    Hi Barbara,

    You have to allow your production environment to be upgraded first to new UI then do the export of your model driven app from the sandbox environment. Power apps platform is only available in production after the production environment is upgraded to new UI.

    Regards



    ------------------------------
    Jeebo Mathews
    Agricorp
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 5.  RE: Moving an App from Sandbox to Production

    TOP CONTRIBUTOR
    Posted 9 days ago
    Hi Barbara,
        My advice to Ian (above) depended on both sandbox and production systems being on the same version. I am not familiar with the specific dependencies you identified above. I suspect they are due to the fact your sandbox is not the same version as your production instance.

    Given your situation, I do not see a way you can expect to promote anything into production. I think rolling back your development sandbox to a version before the upgrade will be questionable at best - I tried this last year and the entire sandbox would not work - we got an error message that the metadata was out of sync with the database.

    I would recommend that you make a copy of your production environment to a new sandbox (call it "staging") and upgrade it, then test promoting your solution into that. Train your users in Staging Sandbox and set a date to upgrade production after the users are trained.

    ------------------------------
    If this answered your question, please click on the arrow button next to Reply Inline and choose 'Make Best Answer.'
    Thanks.
    Nelson Johnson, Solution Architect
    BroadPoint, Inc., Bethesda MD
    Link with me! https://www.linkedin.com/in/nelsonjohnson/
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 6.  RE: Moving an App from Sandbox to Production

    TOP CONTRIBUTOR
    Posted Sep 11, 2020 01:51 PM
    Hi Ian,

    If it is Canvas app you have to export it in sandbox environment to .zip file and in production import it as zip file. If Canvas app call MS Flow(Power Automate) then export the MS Flow .zip first and import the .zip for MS flow in production before you import the canvas app zip file.

    Hope i covered your concerns.

    Regards


    ------------------------------
    Jeebo Mathews
    MS Certified CRM Developer
    Agricorp
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


If you've found this thread useful, dive deeper into User Group community content by role