microsoft / coe-starter-kit

Other
739 stars 216 forks source link

[ALM Accelerator - QUESTION] QUESTION : Asynchronous operation failed: an unexpected error occurred #8577

Open Singapuram opened 2 months ago

Singapuram commented 2 months ago

What is your question?

I've had the Power Platform ALM accelerator running for about a month. I ran into a solution yesterday that won't deploy to the next environment. The step that's failing in the pipeline is 'Import Managed Solution as Update'. I've successfully deployed other solutions to this environment last week and today but something seems wrong with the import of this solution. Power Platform Build tool version is 2.40, the latest. Is there a way to get better logging or understand what's failing exactly? I can manually import the exported solution using the PP admin interface without issue. This is the error: Asynchronous operation ff43aa63-5c4e-ee11-be6f-002248280d4e failed within 00:00:32.7669229.

The reason given was: An unexpected error occurred. Microsoft PowerPlatform CLI Version: 1.26.5+g670cdf9 Online documentation: https://aka.ms/PowerPlatformCLI Feedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions

Error: The async operation completed with a statuscode of Failed.

image

I have enabled diagnostics option to get more detailed logging, here are the details,.

image

Processing asynchronous operation... execution time: 00:16:49 and 14.03% complete info: bolt.dataverse.client.actions.SolutionImportAction[0] WaitForAsyncJobToComplete: Async Job Info for ID 85c1d88a-a238-ef11-8409-0022483220db: statecode=Locked, statuscode=In Progress, correlationid=1d0649f1-1c46-4f7e-a03d-939c60e8314c info: bolt.dataverse.client.actions.SolutionImportAction[0] WaitForAsyncJobToComplete: Async Job Info for ID 85c1d88a-a238-ef11-8409-0022483220db: statecode=Completed, statuscode=Failed, correlationid=1d0649f1-1c46-4f7e-a03d-939c60e8314c fail: bolt.dataverse.client.actions.SolutionImportAction[0] WaitForAsyncJobToComplete: Async Job with id 85c1d88a-a238-ef11-8409-0022483220db completed with statuscode=Failed and errorcode=-2,147,188,704 after 00:16:53.8714068. asyncoperation[friendlymessage]: Connector import: FAILURE: No file with that name found asyncoperation[message]: Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault] Message: Connector import: FAILURE: No file with that name foundDetail:

<ExceptionSource i:nil="true" />
<InnerFault>
    <ActivityId>bb0a2778-f65f-49c0-b81f-f4b7899f193c</ActivityId>
    <ErrorCode>-2147220989</ErrorCode>
    <ErrorDetails xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <HelpLink i:nil="true" />
    <Message>No file with that name found</Message>
    <Timestamp>2024-07-02T18:57:17.2095011Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault>
        <ActivityId>bb0a2778-f65f-49c0-b81f-f4b7899f193c</ActivityId>
        <ErrorCode>-2147220970</ErrorCode>
        <ErrorDetails xmlns:d5p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
        <HelpLink i:nil="true" />
        <Message>System.ArgumentException: No file with that name found</Message>
        <Timestamp>2024-07-02T18:57:17.2095011Z</Timestamp>
        <ExceptionRetriable>false</ExceptionRetriable>
        <ExceptionSource i:nil="true" />
        <InnerFault i:nil="true" />
        <OriginalException i:nil="true" />
        <TraceText i:nil="true" />
    </InnerFault>
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />

LucasCXavier commented 1 month ago

I'm having the same issue.