Configure Development And Target Environments

Configure Development And Target Environments

Power Platform Pipelines must be connected to a development environment and one or more target environments. A development environment is where makers develop solutions. Target environments are where solutions get deployed to. For example, the test and production environments. Before creating the pipeline we will add environments to the pipeline configuration app.

Table Of Contents:
• Open The Deployment Pipeline Configuration AppAdd The Development Environment To The Pipelines AppGet The Environment ID From Developer ResourcesSetup The Test Environment As A Target EnvironmentConfigure The Prod Environment As A Target Environment




Open The Deployment Pipeline Configuration App

Go to the Power Platform Pipelines host environment and open the Deployment Pipelines Configuration app.




Add The Development Environment To The Pipelines App

First, we will add a development environment. Go to the Environments page and press the New button.



Fill-in the environment details then press the save button. The validation status will switch to pending.

  • Name – ALM Tutorial (Dev)
  • Owner – set to your own user account
  • Environment Type – Development Environment
  • Environment ID – the environment ID from the environment’s developer resources menu.




After a few moments pass press the refresh button. The validation status will be updated to success.




Get The Environment ID From Developer Resources

The environment id is necessary to setup the developer and target environments in Power Platform Pipelines. Go to any environment, press the settings button and select developer resources.



The unique identifier of the environment is shown as Environment ID.




Setup The Test Environment As A Target Environment

Continue on with adding the Test Environment as a target environment. Target environments are environments where managed solutions are deployed to.





Add the environment details then press the save button. Wait for the environment to pass validation.

  • Name – ALM Tutorial (Test)
  • Owner – set to your own user account
  • Environment Type – Target Environment
  • Environment ID – the environment ID from the environment’s developer resources menu.





Configure The Prod Environment As A Target Environment

Add a new environment one more time. Supply the Production environment details then press the save button. Wait for the environment to pass validation.

  • Name – ALM Tutorial (Prod)
  • Owner – set to your own user account
  • Environment Type – Target Environment
  • Environment ID – the environment ID from the environment’s developer resources menu.



All environments have now been added to the Deployment Pipeline Configuration app. The Developer environment is included as development environment. And the Test & Production environments are target environments.




Next Steps

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

Next: Create A Power Platform Pipeline >>






Questions?

If you have any questions about Configure Development And Target Environments 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

4 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Vladan
Vladan
7 days ago

Thank you, Matt. Two questions:

  1. Can production environments be on another tenant (for a client of mine)?
  2. Can we set up multiple production environments (for several clients)?
Sheldon
Sheldon
5 days ago

Hi Matt,
I would like to ask about the Environment ID got from “Developer resource menu” from Dev environment and the Environment ID was filled for the Target environment.

According to your screenshots, you guided us to get the ID from any environment to fill for the target environments (Test and Prod).
(Maybe I misunderstand your point)

In my opinion, the Environment ID filled for Target environments (Test and Prod), which should be got from “Developer resource menu” from Test and Prod environments, instead of getting the one from Dev environment.

Please correct me if I am wrong.

Thank you.
Sheldon

Last edited 5 days ago by Sheldon