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 / Solution Deployment us...
Power Apps
Answered

Solution Deployment using AzureDevops

(0) ShareShare
ReportReport
Posted on by 4,763

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

I have the same question (0)
  • Verified answer
    joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at

    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

     

  • developerAJ Profile Picture
    4,763 on at

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

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 Apps

#1
Valantis Profile Picture

Valantis 463

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
11manish Profile Picture

11manish 275

Last 30 days Overall leaderboard