
Explanation:

In Microsoft Sentinel , data connectors are the mechanisms that collect logs and telemetry from various Azure and non-Azure sources into a Log Analytics workspace .
When your goal is to automatically connect multiple Azure subscriptions (both existing and new resources ) to Sentinel, the correct approach is to use Azure Policy with connectors that rely on diagnostic settings .
Why Diagnostic Settings Many Azure resources (e.g., Key Vaults, Storage Accounts, Azure Firewall, and Activity Logs) send logs to Sentinel via diagnostic settings . This connector type allows logs to be exported directly to the Sentinel workspace without requiring agents or manual configuration.
By using Azure Policy , you can automatically enforce and deploy these diagnostic settings across all current and future resources - ensuring continuous log ingestion with minimal administrative overhead.
Why a Remediation Task When applying the Azure Policy, existing resources might not yet have diagnostic settings configured. To fix this, you create a remediation task . This instructs Azure Policy to apply the compliance settings to existing resources , not just new ones. Without a remediation task, only newly created resources would comply automatically.
* Connector type: Diagnostic settings # used for policy-based deployment across subscriptions.
* Use: A remediation task # ensures policy applies to both existing and new resources for full coverage.
Therefore: # Final Answer:
* Connector type: Diagnostic settings
* Use: A remediation task