Power Platform

Deploy A Solution To The Production Environment

Deploy A Solution To The Production Environment Once testing is completed we can use Power Platform Pipelines to move the managed solution to the production ...

Matthew Devaney
Published
Reading time
3 min read

Before you start

Is this guide for you?

Best entry point
Power Platform
Time investment
3 min read

Imported reference from Matthew Devaney's blog for learning purposes. Original: https://www.matthewdevaney.com/the-complete-power-platform-pipelines-alm-setup-guide/deploy-a-solution-to-the-production-environment/. Author: Matthew Devaney.

Deploy A Solution To The Production Environment

Once testing is completed we can use Power Platform Pipelines to move the managed solution to the production environment and go-live. Using a pipeline ensures the deployment to production is performed in a consistent manner. And it forces all changes to pass through the test environment first. Table of Contents

Deploy The Solution To The Production Environment With Pipelines

Set Connection References And Environment Variables

Give Deployment Notes For Release To Production

Wait For The Production Stage Deployment To Complete Validate The Deployment To Production View The Pipeline Run History

Deploy The Solution To The Production Environment With Pipelines

Go to the development environment and open the solution you want to move to the production environment.

Schedule the deployment now and press the Next button.

Set Connection References And Environment Variables

The sample solution contains two connection references used in a Power Automate flow. One for Dataverse and another for Outlook. Wait for the green checkmark to appear beside each connection reference. If it does not appear, press the three dots to troubleshoot the issue. Then press the Next button.

The sample solution also contains an environment variable for Email Notifications. The email address in this environment variable will receive email. Set this value to the production email address then press Next.

Give Deployment Notes For Release To Production

Similar to the deployment to the test environment, we want to write an update explaining the changes to production. Highlight the differences between the solution we are about to deploy and the current version in production. This helps us to track changes when troubleshooting issues with a past deployment. Do not use AI generated deployment notes. Press the deploy button once finished.

Wait For The Production Stage Deployment To Complete

Power Platform Pipelines needs a few minutes to import the solution into the Production environment.

Once the solution import is completed the last successfully installed version and last deployed date will appear in the production stage card. Validate The Deployment To Production

After a deployment it is important to make sure the solution is working in the target environment. Go to the production environment, browse to the solutions menu, select the Managed tab and open the sample solution.

Go through each of the solution components and give them a brief test. View The Pipeline Run History

To look at the run history of the Power Platform Pipeline, go to the host environment and open the Deployment Pipeline Configuration app. Then go to the run history page and select the latest run. The run details page looks like this. Next Steps

Continue to the next steps in the Power Platform Pipelines & ALM Setup Guide.

Next: Redeploy A Past Solution Version To A Target Environment >> Did You Enjoy This Article? 😺

Subscribe to get new Copilot Studio articles sent to your inbox each week for FREE Enter your email address Sign Me Up Questions?

If you have any questions about Deploy A Solution To The Production Environment please leave a message in the comments section below. You can post using your email address and are not required to create an account to join the discussion.

Share this

Tagged

Power Platform

Have a Microsoft 365 topic idea?

Share article suggestions, community session ideas, corrections, or real-world scenarios for future nxtM365 learning notes.

Suggest a topic

Keep learning Microsoft 365

Explore more practical guides for SharePoint, Power Platform, Copilot Studio, migration, automation, governance, and security.

Continue learning

Next action

What to do next

Browse all tutorials →