web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SharePoint and Environ...
Power Apps
Unanswered

SharePoint and Environment Variable using azure DevOps for Managed & unmanaged solutions

(0) ShareShare
ReportReport
Posted on by 7

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.

I have the same question (0)
  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @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)

  • mahajanyatish14 Profile Picture
    7 on at

    But can we make the deployment setting file using azure devops pipeline?

  • Verified answer
    Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @mahajanyatish14 Yes. This blog post might help: https://benediktbergmann.eu/2021/08/06/execute-power-apps-cli-in-azure-devops/

  • mahajanyatish14 Profile Picture
    7 on at

    Getting error not understanding exactly what is the right way to generate or use deployment file.

    mahajanyatish14_0-1702660239535.png

    if you are having details pipeline demo please let me know.

  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard