@Anonymous Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
As I understand you need to Migrate a Windows virtual machine from unmanaged disks to managed disks am I correct? If not please let know.
Firstly, To locate the tenant according to subscription ID, you can follow the steps below
- Sign in to the Azure portal.
- In the left navigation pane, select Subscriptions.
- Select the subscription that you want to locate the tenant for.
- In the subscription blade, select Properties.
- The tenant ID is listed under the Directory ID property.
You can also use Azure PowerShell to get the tenant ID for a subscription
- Open Azure PowerShell.
- Run the following command:
Get-AzSubscription -SubscriptionId <SubscriptionId> | Select-Object TenantId
- Replace
<SubscriptionId>
with the ID of the subscription you want to locate the tenant for.
Please refer to the below mentioned article for more detailed information on migration
Migrate using the Azure portal
Migrating data from Azure unmanaged disk storage to managed disks is a fairly straightforward process. Here are the general steps you can follow:
- Create a new managed disk in your Azure account that will serve as the destination for your data. You can do this using the Azure Portal or Azure CLI.
- Once the new managed disk is created, use a tool like AzCopy or Azure Storage Explorer to copy your data from the unmanaged disk storage to the new managed disk. Make sure to select the appropriate source and destination locations for the transfer.
- After the data transfer is complete, you can detach the unmanaged disk storage from your virtual machine or resource group, and then delete it from your Azure account.
- Attach the new managed disk to your virtual machine or resource group, and verify that your data is accessible and functioning properly.
If you still find any difficulties, please let me know I would like to work closer on this issue.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.