Azure / Azure/Azure-Network-Security
Error: Code=MarketplacePurchaseEligibilityFailed
- Dominant language
- PowerShell
- Stars
- 942
- Forks
- 360
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
I ran the command in PS
` New-AzResourceGroupDeployment -ResourceGroupName "demoresourcegroup" -TemplateUri https://raw.githubusercontent.com/Azure/Azure-Network-Security/master/Lab%20Templates/Lab%20Template%20-%20NetSec%20Demo%20Lab-Standard/AzNetSecdeploy.json -DiagnosticsWorkspaceName "TestWorkspaceSierac" -DiagnosticsWorkspaceSubscription "123456789-sier-aaaa-xxxx-b826eef6c592" -DiagnosticsWorkspaceResourceGroup "TestResourceGroup" -DDOSProtectionConfiguration $true`
and got the following error
> New-AzResourceGroupDeployment: 12:15:59 - Error: Code=MarketplacePurchaseEligibilityFailed; Message=Marketplace purchase eligibilty check returned errors. See inner errors for details.
> New-AzResourceGroupDeployment: The deployment validation failed
Thanks for your help
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots/images to help explain your problem.
**Environment- if applicable**
- What version of CLI was used [Az –version]
**Desktop (please complete the following information if applicable):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Logs- if applicable**
- If logs are available, please provide relevant snippets
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.