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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / The Export and Import ...
Power Apps
Answered

The Export and Import Solution task is taking too long and times out after more than 1 hour.

(0) ShareShare
ReportReport
Posted on by 11

Hi,

The Export & Import Solution task is taking too long and times out after more than 1 hour.

What i noticed system did not get assembly file and try to resolve assembly more than 1 hour & after 1 hour pipeline task cancle. 
For more details attached the log of my pipeline, please look into it.

 

 

I have the same question (0)
  • Mikkelsen2000 Profile Picture
    Microsoft Employee on at

    Thanks for sharing the file. We will take a look. In the meantime, can you pls. re-confirm that serverurl, username + password is correct (or TenantID, appID & Secret is using SPN)?

     

    Thanks

  • Verified answer
    vsingh Profile Picture
    11 on at

    Yes, already checked everything is correct.
    and don't think is authentication related issue.

  • David Jenni Profile Picture
    Microsoft Employee on at

    Looking at your log (thx!), it's apparent that, before it times out due to the 60 min AzDevOps task timeout, your ImportSolution never got to establish a connection (and hence never even initiated the import).

    I was able to repro the same timeout (and abort) behavior on a pipeline of mine when using username/password authN for a user that has MFA required. This should cause an error from AAD, but that error unfortunately never made it back to the task, hence the task stalls out.

    Your possible work arounds:
    - in the AAD tenant for your CDS environment, ensure that MFA is disabled for that user (under Conditional Access)

    - or create an appID/ServicePrincipal, add that appID as AzDevOps ServiceConnection and use that to authenticate your import task with

     

    I'll create a fix on our end to ensure the AAD error gets promptly surfaced to the task and push an updated BuildTools extension 1.0.4 or greater

     

    2020-06-19T14:54:00.5539152Z ##[debug]BoundParams: authInfo = System.Collections.Hashtable
    2020-06-19T14:54:00.5714118Z ##[debug]authInfo: Credential = System.Management.Automation.PSCredential
    2020-06-19T14:54:00.5799291Z ##[debug]authInfo: TenantId =
    2020-06-19T14:54:00.5848314Z ##[debug]authInfo: AuthType = OAuth
    2020-06-19T14:54:00.5886619Z ##[debug]authInfo: EnvironmentUrl = https://testdevops.crm.dynamics.com/

    ....

    2020-06-19T14:54:00.6214388Z ##[debug]Get-Var: AsyncOperation = True
    2020-06-19T14:54:00.6238185Z ##[debug]BoundParams: AsyncOperation = True
    2020-06-19T14:54:00.6300410Z ##[debug]Get-Var: MaxAsyncWaitTime = 04:00:00
    2020-06-19T14:54:00.6339629Z ##[debug]BoundParams: MaxAsyncWaitTime = 04:00:00
    2020-06-19T14:54:00.6391260Z ##[debug]BoundParams: ConvertToManaged = False
    2020-06-19T14:54:09.1199956Z VERBOSE: InProcBindingRedirect: 3 - looking to resolve assembly: Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral,
    2020-06-19T14:54:09.1205081Z PublicKeyToken=b03f5f7f11d50a3a

    >> 60 min no more log until AzDevOps cancels the job due to timeout:
    2020-06-19T15:53:05.5963011Z ##[debug]Re-evaluate condition on job cancellation for step: 'Power Platform Import Solution '.

  • vsingh Profile Picture
    11 on at

    To avoid this issue please use service account with no MFA. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard