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.
WaitingForResources Issue:
The deployment process initiated from Azure DevOps gets stuck in the WaitingForResources state with the log showing:
Unexpected Environment State Failure:
In previous attempts, the deployment failed entirely, indicating an unexpected environment state.
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.
Thank you in advance for your support!
Best regards,
Diego
Sohaib Cheema
785
User Group Leader
André Arnaud de Cal...
626
Super User 2025 Season 2
Martin Dráb
621
Most Valuable Professional