microsoft / powerbi-azure-pipelines-extensions

MIT License
36 stars 14 forks source link

Publish action throwing powershell issue #28

Open Madhufuture opened 1 year ago

Madhufuture commented 1 year ago

Hi, I'm publishing .pbix files to workspace via azure devops using Service principal. In the publish task, I'm running into below issue. Could you please help in addressing this issue?

`

[debug]received -1-byte response of content type application/json; odata.metadata=minimal; odata.streaming=true

[debug]7:25:39 AM - Resolve-PowerBIError begin processing with ParameterSet LastError.

[debug]7:25:39 AM - Cmdlet version: 1.2.1093.0

[debug]7:25:39 AM - Resolve-PowerBIError end processing.

[debug]Caught exception from task script.

[debug]Error record:

[debug]Start-PipelineDeployment : The property 'options' cannot be found on this object. Verify that the property exists and can be set.

[debug]At D:\a_tasks\DeploymentPipelines-Deploy_387b9cad-cfe0-4502-b150-301f8942e8b7\1.2.0\Run.ps1:25 char:1

[debug]+ Start-PipelineDeployment -ActivityId $activityId -Endpoint $endpoint ...

[debug]+ ~~~~~~~~~~~~~~~~~

[debug] + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException

[debug] + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Start-PipelineDeployment

[debug]

[debug]Script stack trace:

[debug]at Start-PipelineDeployment, D:\a_tasks\DeploymentPipelines-Deploy_387b9cad-cfe0-4502-b150-301f8942e8b7\1.2.0\ps_modules\PowerBIApiUtils\PowerBIApiUtils.psm1: line 475

[debug]at , D:\a_tasks\DeploymentPipelines-Deploy_387b9cad-cfe0-4502-b150-301f8942e8b7\1.2.0\Run.ps1: line 25

[debug]at , : line 1

[debug]at , : line 22

[debug]at , : line 18

[debug]at , : line 1

[debug]Exception:

[debug]Microsoft.PowerShell.Commands.WriteErrorException: The property 'options' cannot be found on this object. Verify that the property exists and can be set.

[error]The property 'options' cannot be found on this object. Verify that the property exists and can be set.

[debug]Processed: ##vso[task.logissue type=error]The property 'options' cannot be found on this object. Verify that the property exists and can be set.

[debug]Processed: ##vso[task.complete result=Failed]

`