Hi,
anyone of you tried to access LAW of customers from the managing tenant?
Our managing tenant does not have a subscription itself, so we tried to add the service principals like described here:
https://video2.skills-academy.com/en-us/azure/lighthouse/how-to/monitor-at-scale#create-log-analytics-workspaces
We received the error:
*New-AzADServicePrincipal: Scope '/subscriptions' should have even number of parts.*
We were able to set it like this:
*New-AzADServicePrincipal -ApplicationId 1215fb39-1d15-4c05-b2e3-d519ac3feab4 -Role Contributor -Scope "/subscriptions/*"*
But we still cannot access the logs of the customers.
Error:
To run this query, register resource provider 'Microsoft.Insights' for this subscription
Register resource provider 'Microsoft.Insights' for this subscription to enable this query
Anyone of you have seen this?
Thanks
Regards,
Ben