Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
We are working on Power BI migration from INFY to TATA.
I have a user TATA.nato@tata.com.
a. 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.
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.
Solved! Go to Solution.
Hi @YashikaAgrawal,
It's very likely the OAuth token that Power BI Service is presenting to Azure Databricks is for the wrong directory (INFY) or tied to your old UPN, so Databricks rejects it and you see the ThriftExtension(14) Unauthorized/Forbidden error. Two things changed in your scenario that commonly trigger this: (1) you're authenticating as a guest in a different tenant, and (2) your UPN changed from ...@TATA.onmicrosoft.com to ...@TATA.com, invalidating cached credentials. Power BI's Azure Databricks connector uses Entra ID (Azure AD) OAuth, and the token must be issued in the Databricks workspace's tenant and for a principal that has access to the SQL warehouse and Unity Catalog objects (connector overview, Power BI with Azure Databricks).
Try this quick fix path:
If you rebind the credentials in the TATA directory and confirm permissions, the 400/Unauthorized typically disappears.
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, please mark this as the solution.
Hi @YashikaAgrawal,
It's very likely the OAuth token that Power BI Service is presenting to Azure Databricks is for the wrong directory (INFY) or tied to your old UPN, so Databricks rejects it and you see the ThriftExtension(14) Unauthorized/Forbidden error. Two things changed in your scenario that commonly trigger this: (1) you're authenticating as a guest in a different tenant, and (2) your UPN changed from ...@TATA.onmicrosoft.com to ...@TATA.com, invalidating cached credentials. Power BI's Azure Databricks connector uses Entra ID (Azure AD) OAuth, and the token must be issued in the Databricks workspace's tenant and for a principal that has access to the SQL warehouse and Unity Catalog objects (connector overview, Power BI with Azure Databricks).
Try this quick fix path:
If you rebind the credentials in the TATA directory and confirm permissions, the 400/Unauthorized typically disappears.
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, please mark this as the solution.