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
Anonymous
Not applicable

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 @Anonymous ,

 

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=azure-devops 

 

 

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 @Anonymous ,

 

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=azure-devops 

 

 

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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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