Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
StephenRabobank
Frequent Visitor

Connecting to Azure DevOps via Rest API

Hello,

 

ref: Fetching Test Plans and Linked Test Cases from Azure DevOps to Power BI | Microsoft Community Hub

 

I am trying to understand how to implement this solution. I have a personal access token from Azure DevOps to use, but I do not see anywhere in the web connector to put the Personal Access Token.

 

StephenRabobank_0-1753767809837.png

I was thinking there would be an Authorization or something in this section where I would put the PAT against.

 

There isn't an ODATA or other source (that i've found) to be able to pull this from Azure DevOps, so if someone knows that, it would be good. But this is Power BI so, I'm just looking for a general answer 🙂

 

Thanks

 

1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @StephenRabobank 

First check in your Data Source Settings both Current file and Global I have been tripped up before by Power BI saving a previous attempt.

SamWiseOwl_0-1753781735488.png

 

Then I wonder if it is a similer issue I had, any time I tried to hide the token it wouldn't let me enter it here:

SamWiseOwl_1-1753781820307.png

Instead I have to pass it in using M, I wrote a step by step here:
https://www.wiseowl.co.uk/power-bi/blogs/power-bi-desktop/data-sources/using-api-key/

 

Drove me absolutely crazy. 
Another type I ran into was using a Cookie and passing that as a URL parameter header:
https://www.wiseowl.co.uk/power-bi/blogs/power-bi-desktop/data-sources/cookie-api-authentication/

 

Hope one of these puts you on the right track!


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

2 REPLIES 2
SamWiseOwl
Super User
Super User

Hi @StephenRabobank 

First check in your Data Source Settings both Current file and Global I have been tripped up before by Power BI saving a previous attempt.

SamWiseOwl_0-1753781735488.png

 

Then I wonder if it is a similer issue I had, any time I tried to hide the token it wouldn't let me enter it here:

SamWiseOwl_1-1753781820307.png

Instead I have to pass it in using M, I wrote a step by step here:
https://www.wiseowl.co.uk/power-bi/blogs/power-bi-desktop/data-sources/using-api-key/

 

Drove me absolutely crazy. 
Another type I ran into was using a Cookie and passing that as a URL parameter header:
https://www.wiseowl.co.uk/power-bi/blogs/power-bi-desktop/data-sources/cookie-api-authentication/

 

Hope one of these puts you on the right track!


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Thanks for the help.

 

I now know how to do this, at issue is there appears to be some sort of enhanced security in place that prevents not only the PAT but using my Azure AD credentials to get to the Rest APIs through Power BI. Although doing it from a web browser works fine.....gotta love security sometimes 🙂

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.