AzureDevOps Powerplatform Deployment error due to timing issue
If it takes too long to deploy the solution, time out issues might occur. In this instance consider checking and updating the MaxAsyncWaitTime. Its value has been increased to 120 which means the deployment process will wait up to 120 seconds (or 2 minutes) for asynchronous operations such as import power platform solution to complete fixing the timing out issue.
The fix is to amend the MaxAsyncWaitTime to 120
- task: PowerPlatformImportSolution@2
inputs:
authenticationType: PowerPlatformSPN
PowerPlatformSPN: 'powerplatform-t-connection'
Environment: 'https://contoso-st.crm11.dynamics.com'
SolutionInputFile: '$(System.DefaultWorkingDirectory)/PowerPlatformSolution/$(SolutionName)_Managed.zip'
UseDeploymentSettingsFile: true
DeploymentSettingsFile: '$(System.DefaultWorkingDirectory)/PowerPlatformSolution/settings-test.json'
ConvertToManaged: true
PublishCustomizationChanges: true
MaxAsyncWaitTime: "120"