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 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 PipelinesSet Connection References And Environment VariablesGive Deployment Notes For Release To ProductionWait For The Production Stage Deployment To CompleteValidate The Deployment To ProductionView 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 >>






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.

Subscribe
Notify of
guest

1 Comment
Oldest
Newest
Inline Feedbacks
View all comments
Nani
Nani
3 days ago

Hi Mat, is there any specific seucrity roles for Pipeline users to the target environment?