The setup command
$DeploymentResult = Install-AzSKTenantSecuritySolution -SubscriptionId <HostSubscriptionId>
-ScanHostRGName -Location <ResourceLocation>
-ScanIdentityId [-WebAPIAzureADAppId <WebAPIAzureADApplicationId>]
[-UIAzureADAppId ] [-AzureEnvironmentName AzureCloud]
[-ScanIdentityHasGraphPermission:$true] -SendAlertNotificationToEmailIds @('<EmailId1>', '<EmailId2>', '<EmailId3>')
[-EnableAutoUpdater] [-EnableAzTSUI]
[-EnableVnetIntegration] [-EnableWAF]
-Verbose
fails when run with flag [-EnableWAF] but works fine without it. I get below error message when run with this flag

The setup command
$DeploymentResult = Install-AzSKTenantSecuritySolution
-SubscriptionId <HostSubscriptionId>-ScanHostRGName
-Location <ResourceLocation>-ScanIdentityId
[-WebAPIAzureADAppId <WebAPIAzureADApplicationId>][-UIAzureADAppId ]
[-AzureEnvironmentName AzureCloud][-ScanIdentityHasGraphPermission:$true]
-SendAlertNotificationToEmailIds @('<EmailId1>', '<EmailId2>', '<EmailId3>')[-EnableAutoUpdater]
[-EnableAzTSUI][-EnableVnetIntegration]
[-EnableWAF]-Verbose
fails when run with flag [-EnableWAF] but works fine without it. I get below error message when run with this flag