Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

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.

  • Parvez Ghumra Profile Picture
    1,579 Super User 2025 Season 1 on at
    Re: SharePoint and Environment Variable using azure DevOps for Managed & unmanaged solutions

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

  • mahajanyatish14 Profile Picture
    7 on at
    Re: SharePoint and Environment Variable using azure DevOps for Managed & unmanaged solutions

    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.

  • Verified answer
    Parvez Ghumra Profile Picture
    1,579 Super User 2025 Season 1 on at
    Re: SharePoint and Environment Variable using azure DevOps for Managed & unmanaged solutions

    @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
    Re: SharePoint and Environment Variable using azure DevOps for Managed & unmanaged solutions

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

  • Parvez Ghumra Profile Picture
    1,579 Super User 2025 Season 1 on at
    Re: SharePoint and Environment Variable using azure DevOps for Managed & unmanaged solutions

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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 87 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 65 Super User 2025 Season 1

Overall leaderboard