stansw / vsts-open-in-powerbi

Visual Studio Team Services extension which allows users to open queries in Power BI.
MIT License
19 stars 8 forks source link

Unable to connect to new Azure DevOps URLs #15

Closed movingturtle closed 5 years ago

movingturtle commented 5 years ago

My team have transitioned over to Azure DevOps from VSTS and when opening queries I get the error "Url has to belong to ".visualstudio.com" domain". I can work around at present by changing the URL back to the old visual studio format in the query editor but, presumably, this will stop working at some point.

celinesuzz commented 5 years ago

I'm having the same problem, with a dev.azure.com URL, and same error (Parameter.Error: Url has to belong to ".visualstudio.com" domain.) Any plans on updating it in the near future? Thanks!

stansw commented 5 years ago

Thank you for reporting this problem!

I've just fixed it with commit 816baa6b2038d2979ceb3f256fb325f8cd0ace7b. Everything is tested and deployed so the next time you click "Open in Power BI" in Azure DevOps it will happily load all the work items.

The root cause was that the current version of VSTS/AzureDevOps DataConnector in PowerBI doesn't support the new URI. I'm sure product team will update it soon. As we are waiting for the update I fixed the problem by using old more reliable format as it is guaranteed to stay for the next 5 years. I will update my extension again once new URLs are supported.