Move app inisights to a different subscription (in different directory)

Itish Agarwal 0 Reputation points Microsoft Employee
2024-08-06T04:39:32.1166667+00:00

I have an Application Insights resource with an associated Log Analytics Workspace set up in my subscription in the Microsoft directory.
As part of security wave we are deleting this subscription and moving everything to a new one. I basically have the following questions:

  1. Can I move the app insights along with workspace to a new subscription in different directory, and enable my application to keep sending data here only? I do not want to lose any data stored in current app insights.
  2. If first option is not possible, it leaves me with only the option to create a new app insights instance in my new subscription. How do I transfer data from previous workspace to the new one?

PS: I have already set up subscription in the other directory. I have owner access to both old and new subscriptions.

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
801 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Carlos Solís Salazar 17,891 Reputation points
    2024-08-06T23:14:19.3+00:00

    Hi @Itish Agarwal

    According to this documentation:

    "Moving or renaming any Application Insights resource changes the resource ID. When the ID changes for a workspace-based resource, data sent for the prior ID is accessible only by querying the underlying Log Analytics workspace. The data will not be accessible from within the renamed or moved Application Insights resource."

    In the same documentation, you can review whether you can move the resources between subscriptions.

    Moving the Log Analytics workspace to a different subscription is possible with a few considerations. For more information on how to move within subscriptions, this document might help you in achieving that.

    I hope this helps!

    Remember to accept the answer if it is helpful.

    NOTE: If you need additional assistance, please mention me in the reply so I can help you more quickly.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.