Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in CreateHostpoolTemplate.json #775

Open
GrahamHassall opened this issue Mar 6, 2024 · 0 comments
Open

Error in CreateHostpoolTemplate.json #775

GrahamHassall opened this issue Mar 6, 2024 · 0 comments

Comments

@GrahamHassall
Copy link

I am getting a new error when deploying a hostpool using the "CreateHostpoolTemplate.json" in reference to configuring diagnostic settings on a new host pool and application group.
The hostpool, VMs and desktop application group do deploy successfully, but diagnostic settings are not configured
The error messages are as follows (actual resource names replaced with [placeholders])

Diagnostic settings does not support retention for new diagnostic settings. (Code: BadRequest, Target: /subscriptions/[subscriptionId]/resourceGroups/[resourceGroupName]/providers/Microsoft.DesktopVirtualization/applicationgroups/[applicationGroupName]/providers/Microsoft.Insights/diagnosticSettings/diagnosticSetting)

Diagnostic settings does not support retention for new diagnostic settings. (Code: BadRequest, Target: /subscriptions/[subscriptionId]/resourceGroups/[resourceGroupName]/providers/Microsoft.DesktopVirtualization/hostpools/[hostPoolName]/providers/Microsoft.Insights/diagnosticSettings/diagnosticSetting)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant