question

RikRibbers-5887 avatar image
0 Votes"
RikRibbers-5887 asked RikRibbers-5887 answered

Azure Policy remediation fails on resource type microsoft.insights/workbooks

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

azure-policy
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RikRibbers-5887 Thanks for bringing this to our notice. Seems there is an issue when editing the tags for Azure Workbooks. I am checking internally with product team. I will update you soon.

1 Vote 1 ·

@RikRibbers-5887 Product team is working on a fix and getting ready for deployment. I will update once the fix is deployed.

1 Vote 1 ·
SwathiDhanwada-MSFT avatar image
0 Votes"
SwathiDhanwada-MSFT answered

@RikRibbers-5887 Issue has fixed by product team. Kindly check and revert if you face any issues.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RikRibbers-5887 avatar image
0 Votes"
RikRibbers-5887 answered

I can confirm it is working now. Thx for the effort!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.