Hi,
We are working on creating some Azure Policies for helping us with costmanagement. However we run into an issue with a remediation task that throws an exception.
We have a standard policy for inheriting tags from a resourcegroup (PolicyID: cd3aa116-8754-49c9-a813-ad46512ece54, "Inherit a tag from the resource group"). After creating the policy assignment we manually start the remediation task and we got an error:
Failed to remediate resource: '/subscriptions/<subscription id>/resourcegroups/<resource group name>/providers/microsoft.insights/workbooks/10eb08bb-4b8a-439a-856b-00fbdd98ada9'. The 'PATCH' request failed with status code: 'InternalServerError'. Inner Error: '{"error":{"code":"InternalServerError","message":"Invalid URI: The format of the URI could not be determined.","innererror":{"trace":["System.Net.Http.HttpRequestException"]}}}', Correlation Id: '959f10b2-c9a4-486a-a3ea-7a2a0b9c18b6'.
This happens only on resources of type: microsoft.insights/workbooks
Given the fact that it is an "InternalServerError" and only happened on a specific type of resource (the other ~200 resources went well at first try) this seems like an issue at the Policy service itself.
Please advice on what we can do to resolve this issue?
Kind regards,
Rik Ribbers