Forum Discussion

aga__'s avatar
aga__
Copper Contributor
May 20, 2022

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.

Resources