cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Roshan_Gautam
Frequent Visitor

Power Platform Azure DevOps Build Tools - Deploy Package Task

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.

1 ACCEPTED SOLUTION

Accepted Solutions
stcubill
Community Support
Community Support

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.

 

View solution in original post

4 REPLIES 4
stcubill
Community Support
Community Support

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.

stcubill
Community Support
Community Support

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.

 

View solution in original post

Thanks. I will file a support request

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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,899)