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

Community site session details

Session Id :
Power Apps - Connector Development
Suggested answer

Azure DevOps Pipeline - Updating Environmental Variables

(0) ShareShare
ReportReport
Posted on by 31
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,603 Super User 2025 Season 2 on at
    Azure DevOps Pipeline - Updating Environmental Variables
     
    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
    31 on at
    Azure DevOps Pipeline - Updating Environmental Variables
    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,603 Super User 2025 Season 2 on at
    Azure DevOps Pipeline - Updating Environmental Variables
     
    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
    31 on at
    Azure DevOps Pipeline - Updating Environmental Variables
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 790 Most Valuable Professional

#2
developerAJ Profile Picture

developerAJ 473

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 383 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics