maikvandergaag / msft-extensions

Repository for extensions mainly used for Azure DevOps Extensions
https://msftplayground.com
MIT License
125 stars 81 forks source link

Power BI Action: Publish - Import mode error #497

Closed olofCarlsonBjernaldRexel closed 1 year ago

olofCarlsonBjernaldRexel commented 1 year ago

Describe the issue I use "Power BI Action: Publish" to publish reports from our TFS-repository to Power BI Service. I am connecting reports to a new dataset, using either the live connection to the dataset(datahub) or connecting via the xmla endpoint connection string. When i download using a live connection, the pipeline works perfectly. however, when i try to use the import mode (1st option), it fails.

image

image

To Reproduce Steps to reproduce the behavior:

  1. Go to power bi service and choose a report
  2. Click on download file and choose "A copy of your report and data (.pbix)
  3. Save your report in the repository and trigger pipeline
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Situation (please complete the following information):

Log info Please add the log file of the agent in debug mode [Add the variable system.debug with the value 'true ' to your pipeline] see below

debug.txt

maikvandergaag commented 1 year ago

Does your service principal have the correct api permissions?