Azure-Sentinel: Azure Activity - Connector does not show up as connected (no data being sent), policy is applied
Describe the bug I’ve been making a programmatic way of deploying microsoft sentinel for some time now and have circled back to this issue. We are unable to enable Azure Activity connector programatically, for some reason even though the policy that is required is applied correctly it does not feed data. The resource is compliant
- Policy is applied
- Remediation is applied with a managed identity with permission scope required for remediation
- Connector is ‘created’ in the sentinel workspace using an arm template
- Connector stays ‘grey’, no data is being fed, albeit there are actions in the Azure Activity on assigned rg.
To Reproduce Steps to reproduce the behavior:
- Deploy the policy on rg
/providers/Microsoft.Authorization/policyDefinitions/2465583e-4e78-4c15-b6be-a36cbc7c8b0f
- Remediate the policy using a managed identity (verify that there is a resource that is now compliant)
- Perform some actions that would be reflected in Azure activity log on the rg
- See no data is being sent to the workspace within 15 minutes
Diagnostic setting OK - policy had applied:
Data Connector has not ‘connected’ and is not feeding any data:
Expected behavior Data connectors reports connected after <15 minutes of applying the policy and remediation completing (data is being fed into the LA workspace)
Additional context This seems to be the case for this person aswell, even setting up the workspace manually:
Can not execute the DC creation in azure cli either: https://github.com/Azure/azure-cli/issues/27190
I can share the bicep module in private.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 25 (19 by maintainers)
Hi @Kaloszer, could you please try and let us know once it done. Thanks