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 Pages / How to swap values in ...
Power Pages
Answered

How to swap values in Site Settings base on the target environments while using Azure CI/CD for Deployment

(0) ShareShare
ReportReport
Posted on by 49

I have used Site Settings as my environment variables but how can I swap the values when importing from Dev to UAT and from UAT to Prod?

Like with regular Power Platform environment variables, I can use configuration file (https://learn.microsoft.com/en-us/power-platform/guidance/alm-accelerator/setup-data-deployment-conf...). Is there such thing for Site Setting when doing deployment?

 

I tried to run PowerShell script from the unpack solution I have in the repository then zip it back for deployment. I then get this error:

The reason given was: The solution file is invalid. The compressed file must contain the following files at its root: solution.xml, customizations.xml, and [Content_Types].xml. Customization files exported from previous versions of Microsoft Dynamics 365 are not supported.
 

 

Categories:
I have the same question (0)
  • Verified answer
    Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @PowerPlatform-P

    Look at deployment profiles. This is how we can automate the different values between environments:

    https://www.microsoft.com/en-us/power-platform/blog/power-apps/power-apps-portals-create-deployment-profile-for-dev-test-prod-environment-using-power-apps-cli/

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 46

#2
Valantis Profile Picture

Valantis 24

#2
omkarsupreme Profile Picture

omkarsupreme 24

Last 30 days Overall leaderboard