-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad Request when publishing a report - Power BI Actions #566
Comments
Here is the pipeline definition: - task: PowerBIActions@5
displayName: 'Publish PowerBI Report'
inputs:
Action: 'Publish'
PowerBIServiceEndpoint: ${{ parameters.PowerBIServiceEndpoint }}
WorkspaceName: ${{ parameters.workspace }}
PowerBIPath: '$(Pipeline.Workspace)/report/*.pbix'
Create: false |
Would you mind trying it with setting a reference to one specific report |
Updated and ran with the following with the same Bad Request result: - task: PowerBIActions@5
displayName: 'Publish PowerBI Report'
inputs:
Action: 'Publish'
PowerBIServiceEndpoint: ${{ parameters.PowerBIServiceEndpoint }}
WorkspaceName: ${{ parameters.workspace }}
PowerBIPath: '$(Pipeline.Workspace)/report/report.pbix'
Create: false |
The part I'm keen to know initially is what flags etc. can I set to get some extra detail on what the issue actually is as just a 400 response makes it really hard to decide what direction to try next. |
I understand more information does not come from the unlaying PowerBI Module. Could you share another log file of the last execution? |
|
🤦 The PowerBI report wasn't being checked out properly with git-lfs. Added: - checkout: self
lfs: true To the packaging step and I'm able to publish the report. |
This can be closed. |
Good to hear |
Describe the issue
A clear and concise description of what the issue is.
**Extension **
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The report is published to Power BI
Situation (please complete the following information):
Log info
Additional information
Installed the same version of the Power BI PowerShell modules (noted that they were behind a bit) locally and authenticated with the service principal and it worked without any issues, so I'm really confused as I had started to assume that it was just a permissions issue.
Also confusing to me is that it can successfully authenticate to find the appropriate workspace.
The text was updated successfully, but these errors were encountered: