Forum Discussion

sacali's avatar
sacali
Icon for Microsoft Employee rankMicrosoft Employee
4 years ago
Solved

Connect to OData with PAT

I'm trying to change my OData connection to authenticate via PAT token instead of organizational account. I've followed the steps as described here (https://docs.microsoft.com/en-us/azure/devops/report/powerbi/client-authentication-options?view=azure-devops) but I'm getting an invalid credentials message when I try to connect, with no further details provided. Any idea if there's a step I might be missing?

  • Figured it out- my PAT token was configured incorrectly and did not have Read permissions to Analytics. Making a new token with correct permissions resolved the issue.

3 Replies

  • Seanan's avatar
    Seanan
    Icon for Solution Supplier rankSolution Supplier

    Hi sacali 

    2 things to note here:

    1. Try changing the "Select which level to apply these setting to" to the last option if you haven't already.

    2. An article I've found here mentioned this "On this screen, enter your login email address as the 'User name', and your PAT as the 'Password'." The article link is here this may be able to help you.

    • sacali's avatar
      sacali
      Icon for Microsoft Employee rankMicrosoft Employee

      Unfortunately I've tried both those things without any success. Thanks though!

  • sacali's avatar
    sacali
    Icon for Microsoft Employee rankMicrosoft Employee

    Figured it out- my PAT token was configured incorrectly and did not have Read permissions to Analytics. Making a new token with correct permissions resolved the issue.