You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently added a new property to a resource and we see that all the new resources are being created with this property. For the older resources, if we run a patch with an empty payload using amrclient.exe, the resources are getting updated and is returning the new property from that point (I believe that this is because ARM has its own cosmos db where the resource would be updated when we run the Patch request).
However, when I try to do a batch update of all the old resources programmatically, I see that the resources are not getting updated (the call is succeeding but it returning the resource without the updated property). The problem seems to be with the token that I am generating programmatically because using the token generated via armclient.exe and running the same code is updating the resource.
This is how I am generating the token. Am I missing something here?
The text was updated successfully, but these errors were encountered:
This is more of a question than an issue.
We recently added a new property to a resource and we see that all the new resources are being created with this property. For the older resources, if we run a patch with an empty payload using amrclient.exe, the resources are getting updated and is returning the new property from that point (I believe that this is because ARM has its own cosmos db where the resource would be updated when we run the Patch request).
However, when I try to do a batch update of all the old resources programmatically, I see that the resources are not getting updated (the call is succeeding but it returning the resource without the updated property). The problem seems to be with the token that I am generating programmatically because using the token generated via armclient.exe and running the same code is updating the resource.
This is how I am generating the token. Am I missing something here?
The text was updated successfully, but these errors were encountered: