Hi @Prabhjot Singh apologies for the delay.
Have you validated that with the policy enabled, the Test-PIP_Diag has Diagnostic Status enabled?
The policy enables in question enables the following categories to be enabled for metrics:
"logs": [
{
"category": "DDoSProtectionNotifications",
"enabled": "[parameters('logsEnabled')]"
},
{
"category": "DDoSMitigationFlowLogs",
"enabled": "[parameters('logsEnabled')]"
},
{
"category": "DDoSMitigationReports",
"enabled": "[parameters('logsEnabled')]"
}
]
I would also check your Azure DDoS protection plan. If your protection plan is in place, then you can look at simulation testing to verify your configuration.
If you done that as well, then we'll need work more closely with you to identify any underlying issues.