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 / Power Platform Azure D...
Power Apps
Answered

Power Platform Azure DevOps Build Tools - Deploy Package Task

(0) ShareShare
ReportReport
Posted on by 7

Hi All,

 

I am trying to use the deploy package Azure Devops Task to deploy a package which works fine through Powershell commandlet locally in my machine but fails in Azure Devops. I do not see an option to override the LogDirectory option either in the task to debug this further. Hoping someone in the community has done this before and can point me to the right direction

 

Here's a screenshot of my release pipeline tasks

 

release-pipeline.png

 

And here's the error am seeing in my release pipeline

2020-08-02T15:52:47.5496785Z ##[section]Starting: Power Platform Deploy Package 
2020-08-02T15:52:47.5657327Z ==============================================================================
2020-08-02T15:52:47.5657674Z Task : Power Platform Deploy Package
2020-08-02T15:52:47.5658718Z Description : Power Platform Deploy Package
2020-08-02T15:52:47.5658950Z Version : 0.0.8
2020-08-02T15:52:47.5659208Z Author : Microsoft
2020-08-02T15:52:47.5659482Z Help : [More Info](https://aka.ms/buildtoolsdoc)
2020-08-02T15:52:47.5659843Z ==============================================================================
2020-08-02T15:52:49.1645168Z VERBOSE: InProcBindingRedirect: 2 - looking to resolve assembly: Microsoft.PowerShell.ConsoleHost.resources, 
2020-08-02T15:52:49.1647680Z Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35
2020-08-02T15:52:49.1730364Z VERBOSE: InProcBindingRedirect: 1 - looking to resolve assembly: Microsoft.Xrm.WebApi.PowerShell
2020-08-02T15:52:49.2050146Z VERBOSE: InProcBindingRedirect: 3 - looking to resolve assembly: Microsoft.Xrm.Tooling.Ui.Styles
2020-08-02T15:52:49.2128567Z VERBOSE: InProcBindingRedirect: 4 - looking to resolve assembly: Microsoft.Uii.Common
2020-08-02T15:52:49.2241376Z VERBOSE: InProcBindingRedirect: 5 - looking to resolve assembly: Microsoft.Uii.AifServices
2020-08-02T15:52:49.2320363Z VERBOSE: InProcBindingRedirect: 6 - looking to resolve assembly: Microsoft.Uii.Common.TypeProvider
2020-08-02T15:52:49.2394902Z VERBOSE: InProcBindingRedirect: 7 - looking to resolve assembly: Microsoft.Uii.CrmEntityManager
2020-08-02T15:52:49.2599808Z VERBOSE: InProcBindingRedirect: 8 - looking to resolve assembly: Microsoft.Xrm.Tooling.PackageDeployment.Powershell
2020-08-02T15:52:49.9620963Z VERBOSE: InProcBindingRedirect: 9 - looking to resolve assembly: Microsoft.Uev.Commands
2020-08-02T15:52:55.4878972Z VERBOSE: InProcBindingRedirect: 10 - looking to resolve assembly: 
2020-08-02T15:52:55.4879806Z Microsoft.Xrm.Tooling.PackageDeployment.Powershell.resources, Version=3.3.0.0, Culture=en-US, 
2020-08-02T15:52:55.4881291Z PublicKeyToken=31bf3856ad364e35
2020-08-02T15:52:55.4988060Z VERBOSE: InProcBindingRedirect: 11 - looking to resolve assembly: 
2020-08-02T15:52:55.4988833Z Microsoft.Xrm.Tooling.PackageDeployment.Powershell.resources, Version=3.3.0.0, Culture=en, 
2020-08-02T15:52:55.4994074Z PublicKeyToken=31bf3856ad364e35
2020-08-02T15:52:55.5289110Z PackageDeployer Information: 8 : Message: Got CrmWebsvcAction Object from the Pipeline and is in Ready State
2020-08-02T15:52:55.5949743Z VERBOSE: InProcBindingRedirect: 12 - looking to resolve assembly: System.Management.Automation.resources, 
2020-08-02T15:52:55.5956059Z Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35
2020-08-02T15:52:55.7840860Z ##[error]Import of Power.Platform.Sample.Package.dll failed: System.Management.Automation.CmdletInvocationException: Unable to Load Package Info ---> System.Exception: Unable to Load Package Info
 at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
 --- End of inner exception stack trace ---
 at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
 at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
 at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
 at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2020-08-02T15:52:55.8761030Z ##[section]Finishing: Power Platform Deploy Package 

 

Any help would be highly appreciated.

 

Thanks

Roshan.

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

    Hello, I am reviewing this case right now. 

     

    I will get back to you as soon as I have an answer. 

     

    Thanks,

     

    Community Support Team_Stayner Cubillo
    If this Post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Verified answer
    stcubill Profile Picture
    Microsoft Employee on at

    Hello,

     

    I have been looking for an answer on this case however, I was not able to find anything related to this specific error. for the complexity of the case, I will recommend opening a support case with the Dynamics customization team. 

     

    Regards,

     

    Community Support Team_Stayner Cubillo
    If this Post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • Roshan Gautam Profile Picture
    7 on at

    Thanks. I will file a support request

  • CW-11121959-0 Profile Picture
    11 on at

    Hi @Roshan_Gautam ,

    Did you find an answer to you problem? I am having the same issue Power Platform Deploy Package task.

     

    2020-10-01T12:51:49.3121354Z ##[error]Import of CFGCalculationConfigurationData.dll failed: System.Management.Automation.CmdletInvocationException: Unable to Load Package Info ---> System.Exception: Unable to Load Package Info
    at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
    --- End of inner exception stack trace ---
    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
    at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    2020-10-01T12:51:49.3692515Z ##[section]Finishing: Power Platform Deploy Package

     

    Thanks,

    Craig

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 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard