Announcements
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 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-toolsYou can then use the the Power Platform Solution Import Task to deploy the solution(s) using the deployment settings file(s)
But can we make the deployment setting file using azure devops pipeline?
@mahajanyatish14 Yes. This blog post might help: https://benediktbergmann.eu/2021/08/06/execute-power-apps-cli-in-azure-devops/
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 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/
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 549 Most Valuable Professional
Kalathiya 225 Super User 2026 Season 1
Haque 224