Azure-docs: Change history on moved resources

Created on 1 Aug 2019  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

Change history worked on a specific resource (microsoft.web/sites), after moving the resource to another resource group it no longer works (I'm guessing because the resourceID changed. New changes on the resource within the new Resource Group do work. If I'm interpreting this correctly, I detect resource moves through the Change History API's (the move is logged in the Acitivity Log though).

Regards, Wesley


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author product-question resource-grapsvc triaged

All 5 comments

@whaakman Thanks for the comment. We are actively investigating on the issue and will get back to you shortly with an update.

@whaakman yes your understanding related to change api is indeed correct. Here is my inference of it.
1) When a resource (R) is moved from one resource group (A) to another resource group (B) ,
all the past activity log related to it is stored in the RG (A) from which it is moved.Even after moving the resource, the activity log or change history can be found with the old RG (A).
2) All the new changes made to the resource (R) can be seen in activity log or change history of resource in new RG (B).
3) When the move happens, the resource is logged as deleted in old RG(A) which is why it is not seen in the history of the resource and also in the new RG(B), it is treated as a new resource , so no change related to move is logged for the resource (R).

@DCtheGeek please provide your insights on the issue.

@whaakman Confirming with the team and will get back shortly. Thanks!

@MicrosoftDocs/azure-cxp-triage #in-progress

Thanks for your feedback. Your assessment is correct. Today we do not track resource moves. If this is something you are interested in, please vote for this item on our UserVoice page.

@whaakman Thanks again for the feedback! We'll go ahead and close this issue now.

@MicrosoftDocs/azure-cxp-triage #please-close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

behnam89 picture behnam89  Â·  3Comments

Favna picture Favna  Â·  3Comments

jamesgallagher-ie picture jamesgallagher-ie  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

bityob picture bityob  Â·  3Comments