Create build pipeline
- Login to DevOps

- Select the project where you want to create Pipelines.
- Click on Pipelines in the left Navigation.

- Click on New Pipeline

- Click on Use the classic editor to create a pipeline without YAML.

- Select Source as Azure Repos Git, select Team project, repository, and Branch, and click on Continue.

- Select a template as EMPTY JOB

- Provide the Name of the pipeline as you wish and Click on the + icon( Add a task to agent job)

- Search with the Power Platform tool installer and click on add.

- Again click on on + icon( Add a task to agent job) search with “Power Platform Export Data” and click on add.

- Again click on on + icon( Add a task to agent job) search with “Publish Build Artifacts” and click on add.

- Click on Power Platform Export data and update the settings.

- Provide the Display name of the Build pipeline, select authentication type =Service Principle/Client secrete(Support MFA), and also fill in the details below and Click on Save & Queue
- Provide Service Connection name(Source environment Name)
- Environment URL(from where you want to export the solution)
- Solution Name
- Solution Output file.
- Target Version Name

- Now, we have successfully created the Build Pipeline.
Create release pipeline
- Login to DevOps

- Select the project where you want to create Pipelines.
- Click on Pipelines in the left Navigation.

- Click on New Pipelineà Select Releasesà Click on Create Release

- Select the “Stages for a trigger change from automated to manual.” As the target environment name provides a description and click on Create

- Add power platform tool installer and Power Platform Import Solution
- Note. Power Platform Export solution (For Build Pipeline), Power Platform Import Solution(For Release pipeline), and there won't be any Publish artifact drop for Release Pipeline
- Provide the Display name of the Build pipeline, select authentication type =Service Principle/Client secrete(Support MFA) and also fill below details and Click on Save & Queue
- Provide Service Connection name (Target environment name)
- Environment URL(To where you want to import solution)
- Solution Name
- Solution Output file.
- Target Version Name

- Click on Save.
- Now you were able to create a Release pipeline also.
Thanks.!!

Join the conversation! Your thoughts help the community grow.