i have make the build the pipeline from dev environment but now i want to give SharePoint Connection environment Variable For UAT and SIT environment so which task should i used or else use yaml script for pipeline to deployed using azure DevOps.
@mahajanyatish14 For a basic setup, the steps are to create the Deployment Settings files using PAC CLI on your local machine. Add in the values for Connection IDs and Environment Variable values and commit these files to source control. Then update your pipelines to use these files.
Detailed explanation on this blog post: https://benediktbergmann.eu/2021/12/02/set-connection-references-and-environment-variables-in-pipelines/
Getting error not understanding exactly what is the right way to generate or use deployment file.
if you are having details pipeline demo please let me know.
@mahajanyatish14 Yes. This blog post might help: https://benediktbergmann.eu/2021/08/06/execute-power-apps-cli-in-azure-devops/
But can we make the deployment setting file using azure devops pipeline?
@mahajanyatish14 Have you created your Deployment Settings files for each environment and committed these to source control for each environment? These will enable the setting of Connections for Connection References and values for Environment Variables at deployment time. See here for more detail on how to generate Deployment Settings files using PAC CLI: https://learn.microsoft.com/en-us/power-platform/alm/conn-ref-env-variables-build-tools
You can then use the the Power Platform Solution Import Task to deploy the solution(s) using the deployment settings file(s)
WarrenBelz
87
Most Valuable Professional
mmbr1606
71
Super User 2025 Season 1
Michael E. Gernaey
65
Super User 2025 Season 1