Power BI Service – OAuth2 Databricks Authentication Failing After Tenant Migration

naveens
Databricks Partner

Hi,

We are working on Power BI migration from INFY to TATA.
I have a user TATA.nato@tata.com.
a. with this user Iam able to connect to Azure databricks using Power BI desktop in INFY tenant.

b. Iam logged in as TATA.nato@tata.com and switched to tenant INFY in Power BI.
But when i come to Power BI service, its giving error when login with Oauth2.

Failed to update data source credentials: [Microsoft][ThriftExtension] (14) Unexpected response from server during a HTTP connection: Unauthorized/Forbidden error response returned, but no token expired message received.Hide details
Status code: 400

Any help would be appreciated.

Note:
Earlier i was able to connect with email id TATA.nato@TATA.onmicrosoft.com
Weeked they change the userid TATA.nato@TATA.com

Thank you.

nayan_wylde
Esteemed Contributor II

@naveens here are few things that you can try.

1. Re-authenticate in Power BI Service

  • Go to Power BI Service → Settings → Data Sources.
  • Locate the Databricks data source.
  • Click Edit Credentials.
  • Choose OAuth2 and re-authenticate using the correct Azure AD account (TATA.nato@tata.com) under the INFY tenant.

2. Clear Cached Credentials

3. Verify Azure AD Permissions

  • Ensure TATA.nato@tata.com has access to the Databricks workspace in the INFY tenant.
  • Check if the user is assigned to the correct Azure AD group or Databricks workspace role.

View solution in original post