Forum Discussion
Using OData Feed : Azure DevOps Analytics: URL working in browser but not in PowerBI
- Anonymous6 years ago
I found that Organization that I was trying needed to be part of Active directory in order to use its organizational account to pull data.
My org is not part of AD. so I used below link to create personal accesstoken to login and pull data.
Thanks all for your help/
Hello mwegener ,
OrgA account does not have acess right to OrgB.
Actually they are both separate organizations but I am using it to just pull the data to setup my OData query and testing.
I am owner role for OrgB project and have account for OrgB project.
For OrgB project, I made sure Analytics View is enabled, can be accessed in Browser, OData URL gives Json reply with data back in browser.
one more thing, If I choose Azure DevOps(Beta) connector from Data source options in PowerBI (instead of ODataFeeds), it works fine and pulls the data. Just giving problems when using ODataFeeds.
OrgA works just fine.
Hi Anonymous ,
What type of authentication (or which account) do you use in the browser?
- Anonymous6 years agoNot applicable
So basically when I open the URL in browser it prompts me to put credentials for that project account as shown below.
Upon login into account, it shows json reply.
btw, I am sending you my Odata URL in private message to you if you wanna paste that in browser
Thanks for your time and helping me.
- mwegener6 years agoMost Valuable Professional
Hi Anonymous
I am getting the same error.
I think there is a bug in the WWW-Authentication header of the OData Feed Service from DevOps Analytics.Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.- Anonymous6 years agoNot applicable
yeah that could be a bug but when I use organization name and Team project name for Organization B, it works in Power BI. it asks for credentials for OrgB and then pull the data.
as you know here is Odata URL, not sure if this URL needs to be modified except parameters.
https://analytics.dev.azure.com/{organization}/{project}/_odata/v3.0-preview/WorkItems? $select=WorkItemId,Title,WorkItemType,State,CreatedDate &$filter=startswith(Area/AreaPath,'{area path}') &$orderby=CreatedDate desc &$top=10
what do you suggest I should do now? 🙂