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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
JortBreij
Helper I
Helper I

Cannot authenticate with the credentials provided when connecting to azure devops OData-feed

While following the documentation: https://docs.microsoft.com/en-us/azure/devops/report/powerbi/client-authentication-options?view=azur...

 

My personal acces token from azure devops doesn't let me login into the OData feed in power bi. I did it exactly like in the link I send.

-I reset the login data cache. 

-I gave the PAT acces to everything needed.

-I refreshed the PAT.

-I typed my organisation right in the link.

-Adding the specified project in the link also doesn't work.

JortBreij_0-1651497974895.png

-Login into a organisation account also doesn't work. 

How do I fix this? Do I have to be owner of the organisation?

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @JortBreij ,

 

1. If you're using a PAT, the Basic authentication requires a username, which can be anything except the empty string. So please enter a text string, such as "test" or "user" for the username and enter the token in the password field.

 

2. Also, please check if you meet the following prerequisites and permission issues.

  • You must be a member of a project with Basic access or higher.
  • Also, you must have your *View Analytics permission set to Allow
  • To use Power BI for Azure DevOps or to exercise an OData query for Analytics, you must must have your View Analytics permission set to Allow. By default, all Contributors with Basic access are granted access.

Permission: How do I resolve the The user wasn't authorized error? 

 

3. Enabling IIS Basic Authentication invalidates using Personal Access Tokens.

For more information, please refer to: https://docs.microsoft.com/azure/devops/integrate/get-started/authentication/iis-basic-auth?view=azu... 

 

 

Best Regards,
Winniz


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-kkf-msft
Community Support
Community Support

Hi @JortBreij ,

 

1. If you're using a PAT, the Basic authentication requires a username, which can be anything except the empty string. So please enter a text string, such as "test" or "user" for the username and enter the token in the password field.

 

2. Also, please check if you meet the following prerequisites and permission issues.

  • You must be a member of a project with Basic access or higher.
  • Also, you must have your *View Analytics permission set to Allow
  • To use Power BI for Azure DevOps or to exercise an OData query for Analytics, you must must have your View Analytics permission set to Allow. By default, all Contributors with Basic access are granted access.

Permission: How do I resolve the The user wasn't authorized error? 

 

3. Enabling IIS Basic Authentication invalidates using Personal Access Tokens.

For more information, please refer to: https://docs.microsoft.com/azure/devops/integrate/get-started/authentication/iis-basic-auth?view=azu... 

 

 

Best Regards,
Winniz


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.