Hello,
I have this recent issue with web app auth settings v2 provider (azure-native.web.WebAppAuthSettingsV2).
The provider has suddenly started having issues with deletes. Trying to delete this resource in a up, results in an error:
error: Status=400 Message="{"Code":"BadRequest","Message":"The parameter properties has an invalid value.","Target":null,"Details":[{"Message":"The parameter properties has an invalid value."},{"Code":"BadRequest"},{"ErrorEntity":{"ExtendedCode":"51008","MessageTemplate":"The parameter {0} has an invalid value.","Parameters":["properties"],"Code":"BadRequest","Message":"The parameter properties has an invalid value."}}],"Innererror":null}"
Mind that constructing the resource works fine.
The current hypothesis from ChatGpt, is that the provider deletes the resource by sending a PUT request to the azure rest api with a mostly empty payload. There must then have been some change to how the azure rest api handles the inputs, so that this empty payload becomes invalid and hence fails the delete.
Has anyone encountered something similar? or know of a fix?