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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Deployment Issues with Unified Package to New Power Platform Finance and Operation Environment

(3) ShareShare
ReportReport
Posted on by 249

Hi everyone,

We are encountering two separate issues while deploying unified packages to the a new Power Platform environment, and I would appreciate your insights on resolving them.

As you kwno this will be the new mode to deploy packages when LCS is deprecating.

Current Problems:

  1. WaitingForResources Issue:
    The deployment process initiated from Azure DevOps gets stuck in the WaitingForResources state with the log showing:

    • "Starting apply package"
  2. Unexpected Environment State Failure:
    In previous attempts, the deployment failed entirely, indicating an unexpected environment state.


Technical Details:

Context:

  • Tooling: Managing environments via Power Platform Admin Center (not LCS).
  • Setup: Followed Microsoft documentation to configure pipelines, releases, Azure application, and connections. Successfully enabled the app on the Sandbox environment.

Problem 1: WaitingForResources State

  • The deployment process remains in the WaitingForResources state indefinitely.
  • Log message excerpt

Problem 2: Unexpected Environment State Failure

In previous deployments, the process go on, but failed with the following error logs:

2024-11-18T20:49:31.8733214Z [
2024-11-18T20:49:31.8734843Z   'Upload Finance and Operations Module RUB_1_0_0_1_managed.zip - Applying Application Module - Failed; Error Message: "Microsoft.Dynamics.CAP.Iris.NanoServices.EnvironmentStatusCheckerException: Environment has reached an unexpected state Failed\\r\\n\\r\\n\\r\\n   at Microsoft.Dynamics.CAP.Iris.NanoServices.EnvironmentInstanceStatusChecker.HasTargetStatusReached(String pollingLocation, HashSet`1 expectedStates, HashSet`1 unExpectedStates, CancellationToken cancellationToken) in C:\\\\__w\\\\1\\\\s\\\\src\\\\Iris.Infrastructure\\\\Services\\\\StatusPoller\\\\EnvironmentInstanceStatusChecker.cs:line 81\\r\\n   at Microsoft.Dynamics.CAP.Iris.Jobs.LifecycleJobs.DeployFinOpsCustomPackageJob.RunPollAsync(DeployFinOpsCustomPackageMetadata deployFinOpsPackageMetadata) in C:\\\\__w\\\\1\\\\s\\\\src\\\\Iris.Infrastructure\\\\Jobs\\\\Lifecycle\\\\JobCallbacks\\\\DeployFinOpsPackage\\\\DeployFinOpsCustomPackageJob.cs:line 113\\r\\n   at Microsoft.Dynamics.CAP.Iris.Jobs.Platform.LongRunningWithPollingJob`1.RunAsync() in C:\\\\__w\\\\1\\\\s\\\\src\\\\Iris.Infrastructure\\\\Jobs\\\\Platform\\\\LongRunningWithPollingJob.cs:line 60\\r\\n   at Microsoft.Dynamics.CAP.Iris.Jobs.Platform.WhatIfModeSupportedJob`1.ExecuteAsync() in C:\\\\__w\\\\1\\\\s\\\\src\\\\Iris.Infrastructure\\\\Jobs\\\\Platform\\\\WhatIfModeSupportedJob.cs:line 68"'
2024-11-18T20:49:31.8737197Z ]
2024-11-18T20:49:36.8739793Z [
2024-11-18T20:49:36.8740504Z   'Upload Finance and Operations Module RUB_1_0_0_1_managed.zip - Failed - Complete'
2024-11-18T20:49:36.8740867Z ]
2024-11-18T20:49:36.9008444Z [ 'Installation failed for Finance and Operations application' ]
2024-11-18T20:49:36.9032988Z [ 'Beginning queueing up UpdateRibbonClientMetadata job.' ]
2024-11-18T20:49:37.0586906Z [
2024-11-18T20:49:37.0587564Z   'Successfully queued up UpdateRibbonClientMetadata request. - Complete'
2024-11-18T20:49:37.0588105Z ]
2024-11-18T20:49:37.5005640Z [ 'Microsoft PowerPlatform CLI' ]
2024-11-18T20:49:37.5034843Z [ 'Version: 1.35.1+g0c2637a' ]
2024-11-18T20:49:37.5035480Z [ 'Online documentation: https://aka.ms/PowerPlatformCLI' ]
2024-11-18T20:49:37.5035956Z [
2024-11-18T20:49:37.5036415Z   'Feedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions'
2024-11-18T20:49:37.5036848Z ]
2024-11-18T20:49:37.5037185Z [ '' ]
2024-11-18T20:49:37.5037658Z [ 'Error: Installation failed for Finance and Operations application' ]
2024-11-18T20:49:37.5038105Z [ '' ]
2024-11-18T20:49:37.7925433Z ##[error]error: 1
2024-11-18T20:49:37.8187451Z ##[error]failed: Connected as ***
Reading the import configuration. Please wait.
Import configuration loaded. - Complete
Reading the solutions. Please wait.
Reading the solutions. Please wait.


Any one has the same error?

We already open a Microsoft Ticket for supporting us and a yammer post on the PAAP program group https://www.yammer.com/dynamicsaxfeedbackprograms/threads/2918619781013504

Thank you in advance for your support!

Best regards,
Diego

I have the same question (2)

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 785 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 626 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 621 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans