Forum Discussion
aga__
May 20, 2022Copper Contributor
Connecting Microsoft Defender for Endpoint to Azure Sentinel
The data connector 'Microsoft Defender for Endpoint`, labelled as 'MicrosoftDefenderAdvancedThreatProtection' for Azure Sentinel does not run successfully. The error is: {
"error": {
"code": "InvalidLicense",
"message": "Missing consent"
}
}
This issue occurs with the New-AzSentinelDataConnector PowerShell command, the ARM template for data connectors and the API directly.
Using the same account (and same permissions) to enable this data connector via the portal works fine.
Has anyone experienced or resolved this already?
Any help greatly appreciated, thanks.
- yongrheemsft
Microsoft
aga__ this looks like an Azure Sentinel template error according to:
https://techcommunity.microsoft.com/t5/microsoft-sentinel/quot-missing-consent-invalid-license-quot-defender-for-endpoint/m-p/3027212
https://github.com/Azure/SimuLand/issues/23
https://github.com/Azure/Azure-Sentinel/issues/5007
All 3 do not have a resolution. Please open a Microsoft CSS support ticket with our Azure Sentinel team.
Thank you,
Yong Rhee [MSFT]