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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Problem with Power Pla...
Power Apps
Answered

Problem with Power Platform Pipelines

(0) ShareShare
ReportReport
Posted on by 12

Hello,
I did a run of Power Platform Pipelines, but the deployment crashed:

JnanaAgni_0-1686905619914.png

But despite of it crashing, solution was at least partially migrated to the Test Env:

JnanaAgni_1-1686905672333.png

Solution duplicated with _Upgrade added to its name. For 19h now.
I cannot delete it because i get an error, and cannot start another Pipelines deployment, because I get the message that another upgrade is pending.
Do you have any ideas how to solve this?

 

 

I have the same question (0)
  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    Hi @JnanaAgni 

     

    Click on the elipses next to ODK Dataverse solution in Maker portal, and you should get an option to 'Apply upgrade' (or 'Apply Solution Upgrade'). Click that, and hopefully after few mins, the upgrade process will complete. The "ODKDataverse_Upgrade" solution will disappear and "ODKDataverse" solution will be upgraded to new version.

    You can also monitor progress within solution history (and also try to troubleshoot the reason for previous failure this way)

  • JnanaAgni Profile Picture
    12 on at

    @parvezghumra When I try to apply upgrade I get an error that dependency is missing (connector to ms translator).
    So I cannot apply upgrade, delete the solution or publish another one with dependency included.
    Seems like I'm stuck 😉

  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @JnanaAgni Can you paste a screenshot of the actual dependency errors you're referring to please

  • Geeks_D Profile Picture
    1,169 on at

    @parvezghumra 
    I am currently faced with this issue and the solution is not applying the upgrade with this error : 
    Failed to upgrade solution. Solution dependencies exist, cannot uninstall. DependencyCount : 6 RequiredComponentObject details: Type: connectionreference

  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @Geeks_D If you try to apply the upgrade in the classic experience, you'll get a more readable error message and listing of the dependencies. Try that and paste the screenshot of the list of dependencies here

  • Geeks_D Profile Picture
    1,169 on at

    Hi @parvezghumra 
    This is the using the classic design 
    System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Sql error: Statement conflicted with a constraint. The DELETE statement conflicted with the REFERENCE constraint "environmentvariabledefinition_environmentvariablevalue". The conflict occurred in database "db_crmcoregbr_20221031_01452565_2076", table "dbo.EnvironmentVariableValueBase", column 'EnvironmentVariableDefinitionId'.
    The statement has been terminated. CRM ErrorCode: -2147185375 Sql ErrorCode: -2146232060 Sql Number: 547 (Fault Detail is equal to Exception details:
    ErrorCode: 0x80048D21
    Message: Sql error: Statement conflicted with a constraint. The DELETE statement conflicted with the REFERENCE constraint "environmentvariabledefinition_environmentvariablevalue". The conflict occurred in database "db_crmcoregbr_20221031_01452565_2076", table "dbo.EnvironmentVariableValueBase", column 'EnvironmentVariableDefinitionId'.
    The statement has been terminated. CRM ErrorCode: -2147185375 Sql ErrorCode: -2146232060 Sql Number: 547
    TimeStamp: 2024-01-19T10:21:20.3762891Z
    --

  • AxelFoley Profile Picture
    on at

    I am facing the exact same issue being stuck in not being able to apply the upgrade, cannot delete the existing solutions in destination env nor can I redeploy a modified corrected version. Anybody found a solution yet?

     

  • Verified answer
    Geeks_D Profile Picture
    1,169 on at

    Hi Everyone
    So i was able to fix this problem using an Old Artefact from the Deployment Pipeline (Good to have version/Source control)
    I imported the solution manually into the Test Environment and changed the version number as well  
    Then deploy the update with the pipeline and was all good 

  • Geeks_D Profile Picture
    1,169 on at

    Do you use the deployment pipeline ? 

  • AxelFoley Profile Picture
    on at

    Yes, indeed i am using a pipeline. Happens between DEV and STAGE after initial deployment went correctly and I tried to deploy my first delta change (deleting fields from the schema) and trying to redeploy the changes I made in DEV. With this first change to the intial solution, the pipeline breaks.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard