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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Azure DevOps Pipeline ...
Power Apps
Suggested Answer

Azure DevOps Pipeline - Updating Environmental Variables

(0) ShareShare
ReportReport
Posted on by 45
Hello,
 
I am trying to create a pipeline where I will export/import a solution where I have only environmental variables. In this solution I have only link to sharepoint and sharepoint lists and I dont know how I can replace the DEV sharepoint to PROD sharepoint autmatically by pipeline. Any ideas?
Categories:
I have the same question (1)
  • Suggested answer
    SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at
     
    Please check the Detail Step-By-Step - Power Platform ALM with Azure DevOps how you can achieve that.
    Check the section Create Deployment Settings File and how to fill the Environmental Variables after deploying.
     
    I hope this helps!
     
     
  • adm2kowalik Profile Picture
    45 on at
    But the schema in JSON will be the same and I have only to provice value and SchemaName if I am using sharepoints lists in variables or I have to do something else ?
  • SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at
     
    Yes, the schema in the JSON file remains the same, regardless of what the environment variables represent (SharePoint URLs, list names, etc.).
     
    You only need to provide:
    The SchemaName of each environment variable, and the Value you want it to take in the target environment (for example, your PROD SharePoint site or list URL).
     
    {
      "EnvironmentVariables": [
        {
          "SchemaName": "new_SharePointSiteUrl",
          "Value": "https://prodtenant.sharepoint.com/sites/YourProdSite"
        },
        {
          "SchemaName": "new_SharePointListName",
          "Value": "ProductionList"
        }
      ]
    }
     
     
    Hope this helps.
  • adm2kowalik Profile Picture
    45 on at
    Hello @SpongYe
     
    What about Connection Refernces? 
    How should look like the json if I am using other accounts in the solution ? 
    And the next question what about case when I will create new Environment variable on DEV environment and I would like to use Pipeline to move to PROD ? How I should proceed ?
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard