Multi-tenant mentioned by @StanleyGong should make sense.
In this case, you can add your account as guest user to the multiple tenants, assign RBAC roles to give the user access to the Azure Log Analytics.
Configure the authority as https://login.microsoftonline.com/{tenant-id}
for multiple tenants in a configuration file. When you sign in with this account, choose different tenant based on different {tenant-id}
.
You cannot sign in once to access to all the Azure Log Analytics data from all tenants. And you also can't authenticate and authorize once and call Azure APIs forever. Access token has lifetime. After it expires, you should re-authenticate.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…