Allow cross-tenant queries and commands
Multiple tenants can run queries and commands in a single Azure Data Explorer cluster. In this article, you will learn how to give cluster access to principals from another tenant.
Cluster owners can protect their cluster from queries and commands from other tenants. You can define permissions at the cluster level using the portal, or use the trustedExternalTenants property to define which tenants are allowed to run queries and commands on the cluster.
Permissions can be set using the portal, the ARM Templates, AZ CLI, PowerShell, or the Azure Resource Explorer. See also Azure Data Explorer cluster request body.
Note
The principal who will run queries or commands must also have a relevant database role. See also role-based authorization. Validation of correct roles takes place after validation of trusted external tenants.
In the Azure portal, go to your Azure Data Explorer cluster page.
In the left-hand menu, under Settings, select Security.
Define the desired tenants permissions.
Add Principals
After updating the trustedExternalTenants property, you must give cluster access to principals from the approved tenants using the .add command. For more information, see identities - AAD Tenants.
Limitations
The configuration of this feature applies solely to Azure Active Directory identities (Users, Applications) trying to connect to the Azure Data Explorer data plane. It has no impact on cross Azure Active Directory ingestion.
Feedback
Submit and view feedback for