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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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