Forum Discussion
How to access Azure DevOps in Power BI Service dataflows using API Token?
- 4 years ago
I don't think just having full access solves it. I'll check my access later and come back if I don't have them.
-----I'm back. Checking my configuration
I have a visual studio license. I do have the prerequisitesAnalytics view turned on
Projects with view analytics
Finally I'm part of a group at organization level permission (the group has "allow" for all permissions):
I hope some of that helps to connect. If this continue like that, try getting a single table, like "Projects". Add that word at the end of the URL.
Hi. In order to connect DevOps via OData you need a Personal Access Token from your Personal Settings in dev.azure
Then configure your personal access and permission.
Once you have that token you can write the url and complete the basic auth like:
username: AzureAD email or blank
password: token key generated before.
If dataflows is not letting you continue with blank, just add your email. That should let you get the data if you have permission.
I hope that helps,
- ryszardre4 years agoFrequent Visitor
Hi ibbarau,
Thanks for your prompt response. I gennerated new token with full access and used Azure AD email as a username but the only result I get is still the same screen:
There is not even an error message.
It is also not possible to left username blank because then "Connect" button is not active:
Thanks again for your further help!
collinq - there is no Azure Dev Ops connector in Power BI service.
- ibarrau4 years agoSuper User
That's weird. I have just tried this and it worked. Can you show us the whole url for the OData just hidding the company name?
Also, be sure that the password is correct. My key from the personal api access is a lot longer, something like: rqth7ga3bzhfbrauswfb4xy3mobbelhr6u4aeezpdsiceur6vita
Leaving blank is something that only works in Desktop.
Last but not less is checking the doc. Do you have al the prerequisites ok?
I hope that helps,
- ryszardre4 years agoFrequent Visitor
My url is:
Key is much longer than in previous screenshot, similar lenght to your's key.
I have "full access" token so I guess it solve all the prerequisites issues.