Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Governance and Administ...
Answered

Solution Deployment using AzureDevops

(0) ShareShare
ReportReport
Posted on by 2,855

I am currently creating pipelines to deploy the solution from DEV to Prod. I have setup the pipeline it gets the solution deploys it properly but i have two queries i am not sure is there any better ways to do it or am i missing something. Please refer below for my queries.

 

1) There is no inbuilt functionality for connection references so i deploy a new connection reference to prod using devops than i need to go to Prod and update connection reference from default solution this is the only working way i could find .

There are two dataverse tables connection and connection referneces. connection store all connection configured in environment and connection references will have all connection references created in different solutions. i tried using this two tables to update it but the problem is update a row connection reference is not working getting Attribute 'connectionreferencelogicalname' cannot be NULL  it gives the error but no attribute connectionreferencelogicalname in update row action

 

2) in solutions we use environment variables and its obviously different for dev and prod so how can i update them with minimum effort from the users who use devops to deploy. Currently i could not find any better way user need to update environment variables manually in the DevOps repo.

I tried to restrict the pull request for environment variable folder but failed in doing so.There is no way to do it

Is there any better way to update the Values basically i don't want users to update each time they are deploying.

 

i cannot use pipeline future as it requires Managed Environment

 

Thanks in Advance

Categories:
  • developerAJ Profile Picture
    2,855 on at
    Re: Solution Deployment using AzureDevops

    @joe_hannes_col 

     

    Thank you so much😊 you are a problem solver😍

    i tried different solution for the issue but never realized or saw this property.

  • Verified answer
    joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at
    Re: Solution Deployment using AzureDevops

    Hello @developerAJ,

     

    You can create a deployment settings file in your repo to provide values for both environment variables and connection references in your target environment, and refer this file in your DevOps pipeline import tasks: https://learn.microsoft.com/en-us/power-platform/alm/conn-ref-env-variables-build-tools

     

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 Governance and Administering

#1
bscarlavai33 Profile Picture

bscarlavai33 5 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 4 Super User 2025 Season 1

#3
Vince_K Profile Picture

Vince_K 2

Overall leaderboard

Featured topics