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 / Canvas App Release Pip...
Power Apps
Unanswered

Canvas App Release Pipeline Failing with Error No file with that name

(1) ShareShare
ReportReport
Posted on by

We had created a CI/CD Pipeline for the Canvas App Solutions. It was worked fine till few days back and throwing the error today when we tried to run the release pipeline.

 

Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Message: CanvasApp import: FAILURE: No file with that name foundDetail: 
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
 <ActivityId>362f895d-8d83-414e-be5d-459e77e45098</ActivityId>
 <ErrorCode>-2147188704</ErrorCode>
 <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiExceptionSourceKey</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">Plugin/Microsoft.Crm.WebServices.ImportXmlService</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiSourceActivityKey</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string"></d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiExceptionOwnerKey</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">OwnershipNotFoundInExceptionOwnerSettings</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiOriginalExceptionKey</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">Microsoft.Crm.Tools.ImportExportPublish.ImportGenericEntitiesException: CanvasApp import: FAILURE: No file with that name found ---&gt; Microsoft.Crm.Tools.ImportExportPublish.ImportGenericEntitiesException: CanvasApp import: FAILURE: No file with that name found ---&gt; Microsoft.Crm.CrmArgumentException: No file with that name found ---&gt; System.ArgumentException: No file with that name found
 --- End of inner exception stack trace ---
 at Microsoft.Crm.Tools.ImportExportPublish.CrmUnzipFileSet.GetFileByName(String fileName, Int32&amp; fileSize)
 at Microsoft.Crm.Tools.ImportExportPublish.ImportFileSetBase.LeaseBufferForFileAsByteArray(String fileName, Int32&amp; fileSize)
 at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.&lt;UpdateAppBlobMappingForKey&gt;d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.&lt;UploadAppAssetsToContainerAndGetNewMapping&gt;d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.&lt;ImportAppToPowerAppsService&gt;d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at Microsoft.Crm.Tools.ImportExportPublish.ImportCanvasAppHandler.ImportItem()
 --- End of inner exception stack trace ---
 at Microsoft.Crm.Tools.ImportExportPublish.ImportCanvasAppHandler.ImportItem()
 at Microsoft.Crm.Tools.ImportExportPublish.ImportHandler.ImportInternal()
 at Microsoft.Crm.Tools.ImportExportPublish.ImportHandler.&lt;Import&gt;b__36_0()
 at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
 at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
 at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.ImportAndUpdateProgress(ImportHandler ih)
 at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.ProcessHandlers(String[] importEntities, Hashtable ht, String&amp; curPath, ImportHandler&amp; ihForCurrentPath, CounterList listCounters)
 at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport(String[] importEntities)
 at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String[] importEntities)
 at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport()
 at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImportInternal(Boolean withSolutionManifest)
 at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.&lt;&gt;c__DisplayClass157_0.&lt;RunImport&gt;b__0()
 at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
 at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
 at Microsoft.Crm.WebServices.ImportXmlService.ImportSolutionSkipCapableInternal(Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Byte[] customizationFile, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, Boolean holdingSolution, ExecutionContext context, Boolean skipQueueRibbonJob, LayerDesiredOrder layerDesiredOrder, Boolean asyncRibbonProcessing, EntityCollection componentParameters, Boolean isTemplateMode, String templateSuffix, SolutionParameters solutionParameters, String templateDisplayNamePrefix)
 at Microsoft.Crm.WebServices.ImportXmlService.ImportSolutionSkipCapable(Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Byte[] customizationFile, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, Boolean holdingSolution, ExecutionContext context, Boolean skipQueueRibbonJob, LayerDesiredOrder layerDesiredOrder, Boolean asyncRibbonProcessing, EntityCollection componentParameters, Boolean isTemplateMode, String templateSuffix, SolutionParameters solutionParameters, String templateDisplayNamePrefix)
 --- End of inner exception stack trace ---
 at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
 at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
 at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass6_0.&lt;RunStep&gt;b__0()</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiStepKey</d2p1:key>
 <d2p1:value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/" i:type="d4p1:guid">1b830950-e106-4ee1-b3fd-d348cb65dc8d</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiDepthKey</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int">2</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiActivityIdKey</d2p1:key>
 <d2p1:value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/" i:type="d4p1:guid">362f895d-8d83-414e-be5d-459e77e45098</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiPluginSolutionNameKey</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">System</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiStepSolutionNameKey</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">System</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiExceptionCategory</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">SystemFailure</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiExceptionMessageName</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">ImportGenericEntitiesError</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>ApiExceptionHttpStatusCode</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int">500</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>0</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmArgumentException: No file with that name found ---&gt; System.ArgumentException: No file with that name found
 --- End of inner exception stack trace ---
 at Microsoft.Crm.Tools.ImportExportPublish.CrmUnzipFileSet.GetFileByName(String fileName, Int32&amp; fileSize)
 at Microsoft.Crm.Tools.ImportExportPublish.ImportFileSetBase.LeaseBufferForFileAsByteArray(String fileName, Int32&amp; fileSize)
 at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.&lt;UpdateAppBlobMappingForKey&gt;d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.&lt;UploadAppAssetsToContainerAndGetNewMapping&gt;d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.&lt;ImportAppToPowerAppsService&gt;d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at Microsoft.Crm.Tools.ImportExportPublish.ImportCanvasAppHandler.ImportItem()</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>HasRetried</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">True</d2p1:value>
 </KeyValuePairOfstringanyType>
 <KeyValuePairOfstringanyType>
 <d2p1:key>RetryExecutionStatus</d2p1:key>
 <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">Microsoft.Crm.Core.Extensions.Retry.RetryExecutionStatus</d2p1:value>
 </KeyValuePairOfstringanyType>
 </ErrorDetails>
 <HelpLink>http://go.microsoft.com/fwlink/?LinkID=398563&amp;error=Microsoft.Crm.CrmException%3a80048020&amp;client=platform</HelpLink>
 <Message>CanvasApp import: FAILURE: No file with that name found</Message>
 <Timestamp>2023-12-13T12:19:29.046093Z</Timestamp>
 <ExceptionRetriable>false</ExceptionRetriable>
 <ExceptionSource i:nil="true" />
 <InnerFault>
 <ActivityId>362f895d-8d83-414e-be5d-459e77e45098</ActivityId>
 <ErrorCode>-2147188704</ErrorCode>
 <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
 <HelpLink i:nil="true" />
 <Message>CanvasApp import: FAILURE: No file with that name found</Message>
 <Timestamp>2023-12-13T12:19:29.046093Z</Timestamp>
 <ExceptionRetriable>false</ExceptionRetriable>
 <ExceptionSource i:nil="true" />
 <InnerFault>
 <ActivityId>362f895d-8d83-414e-be5d-459e77e45098</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>2023-12-13T12:19:29.046093Z</Timestamp>
 <ExceptionRetriable>false</ExceptionRetriable>
 <ExceptionSource i:nil="true" />
 <InnerFault>
 <ActivityId>362f895d-8d83-414e-be5d-459e77e45098</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>2023-12-13T12:19:29.046093Z</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" />
 </InnerFault>
 <OriginalException i:nil="true" />
 <TraceText i:nil="true" />
</OrganizationServiceFault>

Any thoughts on the error message ?

Thanks in Adavance

Categories:
I have the same question (0)
  • Jonathan Manrique Profile Picture
    2,687 on at

    Hi @TarunEY 

     

    You have removed some component from the canvas app, this can cause the pipeline to fail

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution

  • TarunEY Profile Picture
    on at

    @Jmanriquerios  Thanks for the reply, After reviewing the changes in the repository with the working version, we found that build pipelines creating  some new additional tags in the <canvasappname>.meta.xml

    <AdditionalUris>
     <AdditionalUri>/CanvasApps/canvasappname_AdditionalUris0_identity.json</AdditionalUri>
     </AdditionalUris>

     But the file is not available in the specified path. So that causing the issue.  We are really not sure how the entries are coming. Can you help us if you have any thoughts on the same.

  • Verified answer
    bvaneyck Profile Picture
    11 on at

    We had the exact same issue where some lines were added in the meta.xml file and the deploys started failing. We have been able to solve it by updating our Power Platform build tools to the latest version in our pipelines.

     

    - task: microsoft-IsvExpTools.PowerPlatform-BuildTools.import-solution.PowerPlatformImportSolution@2
     
  • TarunEY Profile Picture
    on at

    @bvaneyck  Thank for the reply. We will update the Power Platform build tools  and test the pipeline again.

  • lvandavasi1 Profile Picture
    8 on at

    The pipeline fails with Build Tool Version 2 too.

  • Yeskendir Profile Picture
    49 on at

    Hi. My workaround is: I exported unmanaged solution, copied additional uri file (canvasappname_AdditionalUris0_identity.json) from solution zip-file and push it into repository. After that pipeline worked.

    Yeskendir_3-1703153609195.png

  • Yeskendir Profile Picture
    49 on at

    Hi. My workaround is: I exported unmanaged solution, copied additional uri file (canvasappname_AdditionalUris0_identity.json) from solution zip-file and push it into repository. After that pipeline worked.

    Yeskendir_2-1703153585663.png

  • DK0206 Profile Picture
    7 on at

    Hello @Yeskendir, I have tried removing the piece of code and it worked fine. However, adding the file is more of a robust work around. Thank you for the tip.

     

  • Yeskendir Profile Picture
    49 on at

    Hi. You've removed this part of custom_page.meta.xml file:

     

     <AdditionalUris>
     <AdditionalUri>/CanvasApps/custom_page_AdditionalUris0_identity.json</AdditionalUri>
     </AdditionalUris>

     

    and it canvas app/custom page worked fine? Does your power apps/pipeline recreate AdditionalUri part after deployment?

    PS: And I mention that the "/CanvasApps/tco_home_c3b2e_AdditionalUris0_identity.json" contains guids of containers, screens, labels, images. And I not sure if I remove that file my custom page will work well. 

  • DK0206 Profile Picture
    7 on at

    No, it didn't create the part of the code again after the deployment. I don't think that it have created any problem to my solution once I removed it. You can try deployment again.

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 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard