Forum Discussion

itshemant09's avatar
itshemant09
Icon for Microsoft rankMicrosoft
Oct 20, 2022

How to connect with multiple kusto cluster and add users with reader permission?

I have to add appid and tenant id to grant permission to the application and we have almost 38 public kusto clusters.

I would like to automate this process so i don't have connect the cluster each time and run the below command everytime:

.add database [db_name] viewers('aadapp=APP_GUID_HERE;tenant_id here') "TEAM_NAME_HERE"

is there a way, i can write a script which connect to all 38 clusters one by one and run the above command?

No RepliesBe the first to reply

Resources