Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

kusto cross cluster join not work on Service

Hi team, I was using Power BI with Kusto cross cluster join, and it works on Power BI desktop. However, after upload the report to service and try to refresh from service, there are error: Requ...
  • v-sgandrathi's avatar
    v-sgandrathi
    1 year ago

    Hi Anonymous,

    Thank you Shahid12523 again for your points.

    In Power BI Service, running a cross-cluster query requires the engine to resolve the schema of the remote cluster as well. For OAuth authentication to work in this scenario, several conditions need to be met:

    cross-cluster queries must be enabled at the Kusto level to establish trust between the primary and secondary clusters, and your OAuth identity (user or service principal) must have permissions on both clusters, typically at least the Database Viewer role. Additionally, if you’re using a service principal or managed identity for refresh, it must also be granted access to the remote cluster.
    The reason it works in Desktop but fails in Service is because Desktop uses your local session token, but Service requires explicit permissions and cross-cluster trust. Once your admin enables cross-cluster querying and grants your OAuth identity access on the second cluster, the refresh should succeed.

    Thank you.