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 : Upload report not able to find an already existing workspace #532

Closed tushardesai1994 closed 7 months ago

tushardesai1994 commented 7 months ago

Describe the issue Following is the error message when i use Power BI Action : Upload Report.

I am using the same task in dev stage and it works fine. For Prod stage this does not work.

2024-02-21T19:12:05.5096864Z ##[section]Starting: Power BI Action: Publish 2024-02-21T19:12:05.5217988Z ============================================================================== 2024-02-21T19:12:05.5218138Z Task : Power BI Actions 2024-02-21T19:12:05.5218207Z Description : Release Task Power BI Actions 2024-02-21T19:12:05.5218303Z Version : 5.4.48 2024-02-21T19:12:05.5218364Z Author : Maik van der Gaag 2024-02-21T19:12:05.5218882Z Help : 2024-02-21T19:12:05.5218943Z ============================================================================== 2024-02-21T19:12:06.5809732Z Starting Power BI Actions extension 2024-02-21T19:12:06.5992819Z ### Required Module is needed. Importing now... 2024-02-21T19:12:06.7561494Z ### Trying to import the incorporated module for PowerBI 2024-02-21T19:12:08.7302898Z Getting Power BI Workspace properties; Production 2024-02-21T19:12:10.5366513Z Trying to create workspace: Production 2024-02-21T19:12:11.3019902Z Done processing Power BI Actions 2024-02-21T19:12:11.5043616Z ##[error]PowerBIEntityAlreadyExists 2024-02-21T19:12:11.5352700Z ##[section]Finishing: Power BI Action: Publish

Extension

Expected behavior Report Upload to workspace

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] tasklog_6.log

tushardesai1994 commented 7 months ago

Somehow once i added this bug here it started working now. Maybe The service principal takes time once access is granted.