Forum Discussion

Dennis_C20's avatar
Dennis_C20
Advocate I
4 years ago
Solved

Power BI Dataset Refresh Error - Authorization Code is Intended for Use Against Another Tenant

I am receiving an error in the Power BI Service. The error text is "Failed to update data source credentials: AADSTS700005: Provided Authorization Code is intended to use against another tenant, thus rejected." The two data sources are an Azure SQL Database and Azure Databricks. I am not receiving this error in Power BI Desktop, the dataset refreshes successfully.

 

  • Hi Dennis_C20 


    Can you confirm that all the resources are within the same tenant?

     

    If they are in different tenants as far as I am aware this will not work

     

    You might have to configure the gateway and connect via a gateway to get this working

2 Replies

  • Hi Dennis_C20 


    Can you confirm that all the resources are within the same tenant?

     

    If they are in different tenants as far as I am aware this will not work

     

    You might have to configure the gateway and connect via a gateway to get this working