Checklist
before moving resources to other (CSP) Subscription:
There
are some important steps to perform before moving a resource to different subscription.
The
source and destination subscriptions must exist within the same Azure Active Directory tenant. To ensure, use
Azure PowerShell.
(Get-AzureRmSubscription -SubscriptionName "Example
Subscription").TenantId
If the
tenant IDs for the source and destination subscriptions are not the same, you
can attempt to change the directory for the subscription. However, this option
is only available to Service Administrators who are signed in with a Microsoft
account (not an organizational account). To attempt changing the directory, log
in to the classic
portal, and select Settings, and
select the subscription. If the Edit Directory
icon is available, select it to change the associated Azure Active Directory.
If that
icon is not available, you must contact support to move the resources to a new
tenant.
Services that enable move
For
now, the services that enable moving to both a new resource group and
subscription are:
- API Management
- App Service apps (web apps) - see App Service limitations
- Application Insights
- Automation
- Batch
- Bing Maps
- CDN
- Cloud Services - see Classic deployment limitations
- Cognitive Services
- Content Moderator
- Data Catalog
- Data Factory
- Data Lake Analytics
- Data Lake Store
- DNS
- Azure Cosmos DB
- Event Hubs
- HDInsight clusters - see HDInsight limitations
- IoT Hubs
- Key Vault
- Load Balancers
- Logic Apps
- Machine Learning
- Media Services
- Mobile Engagement
- Notification Hubs
- Operational Insights
- Operations Management
- Power BI
- Redis Cache
- Scheduler
- Search
- Server Management
- Service Bus
- Service Fabric
- Storage
- Storage (classic) - see Classic deployment limitations
- Stream Analytics
- SQL Database server - The database and server must reside in the same resource group. When you move a SQL server, all its databases are also moved.
- Traffic Manager
- Virtual Machines
- Virtual Machines with certificate stored in Key Vault - Move to new resource group in same subscription is enabled, but cross subscription move is not enabled.
- Virtual Machines (classic) - see Classic deployment limitations
- Virtual Machine Scale Sets
- Virtual Networks - Currently, a peered Virtual Network cannot be moved until VNet peering has been disabled. Once disabled, the Virtual Network can be moved successfully and the VNet peering can be enabled. In addition, a Virtual Network cannot be moved to a different subscription if the Virtual Network contains any subnet with resource navigation links. For example, a Virtual Network subnet has a resource navigation link when a Microsoft.Cache redis resource is deployed into this subnet.
- VPN Gateway
Services
that do not enable move
The services that currently do not
enable moving a resource are:
- AD Domain Services
- AD Hybrid Health Service
- Application Gateway
- Availability sets with Virtual Machines with Managed Disks
- BizTalk Services
- Container Service
- Express Route
- DevTest Labs - Move to new resource group in same subscription is enabled, but cross subscription move is not enabled.
- Dynamics LCS
- Images created from Managed Disks
- Managed Disks
- Managed Applications
- Recovery Services vault - also do not move the Compute, Network, and Storage resources associated with the Recovery Services vault, see Recovery Services limitations.
- Security
- Snapshots created from Managed Disks
- StorSimple Device Manager
- Virtual Machines with Managed Disks
- Virtual Networks (classic) - see Classic deployment limitations
- Virtual Machines created from Marketplace resources - cannot be moved across subscriptions. Resource needs to be deprovisioned in the current subscription and deployed again in the new subscription
Use portal
To
move resources, select the resource group containing those resources, and then
select the Move button.
Select whether you are moving the
resources to a new resource group or a new subscription.
Select the resources to move and the
destination resource group. Acknowledge that you need to update scripts for
these resources and select OK. If you selected the edit subscription
icon in the previous step, you must also select the destination subscription.
In Notifications,
you see that the move operation is running.
When it has completed, you are notified of the result.
End Of Migration....
No comments:
Post a Comment