I moved around 50 resources (includes DB, website, etc.) from one subscription to another subscription. Official status after moving was failed with error message:
All move in provider succeeded. However, the batch move job failed. The correlation id is...
However resources seems to work fine and they are in new subscription. Should I concern of something?
Thank you
Depending on the type of resources you moved, you could indeed have side effects.
You might have missed some components that are hidden - you can unhide by clicking this box in the portal or by querying Azure Graph.
Also, Microsoft deploys additional components in their backbone that you do not have control on (like network related policies for example). The migration can fail in the back while depicting a false success on your end. You should refer to move operations - supported services first, and most probably raise a case to check that everything went fine if all services you moved are supposed to be supported.
Related
I'm planning to migrate an Azure VM Classic to ARM.
In the "Migrate to ARM" page on Azure Portal, i have passed the (1) validation and then completed the (2) Prepare step without problems. Now the page has two green checks and says:
Prepare operation completed.
Your resources will be migrated to the following resource group(s). You may wish to examine them to ensure the results are as expected.
The question is how to examine the results? What results to examine?
Does it mean the contents of VM? At the prepare step the VM stopped as i expected. How can i test the web applications or files inside VM while it is closed?
Are there any other checks i should do after successful Prepare and before Commit?
The VM concerns production server and we must guarantee its health and quick return to uptime before pressing "yes" and "Commit".
The error indicates that you might want to double check if all the resources showing ready for the move are the ones that you expect to migrate to desired resource group for the conversion of classic to ARM.
Saying examine them means review the selected resources
Message: Your resources will be migrated to the following resource group(s). You may wish to examine them to ensure the results are as expected.
How can i test the web applications or files inside VM while it is closed?
You'll have to ensure the web application is working before starting the migration. Ensure all files are intact.
You'll not be able to test it while the VM is off.
Are there any other checks i should do after successful Prepare and before Commit?
None, you can commit as long as there are specific validation errors.
I would recommend going through the Technical deep dive on platform-supported migration from classic to Azure Resource Manager
Wishing GoodLuck with the migration!
I have created a template to deploy a service bus (ServiceBus/namespace) and three "nested"/"tiered" resources: topics (ServiceBus/namespace/topics), queues (ServiceBus/namespace/queues), and authorisation rules (ServiceBus/namespace/authorizationrules). And the resources are built correctly.
However, I want the entire service bus and it's tiered resources to be fully customisable from the parameter file. for the tiered resources this works when adding new resources, and adjusting existing resources in the parameter file however I cannot find a way to delete tiered resources that are not deployed by the template.
I have tried complete deployment mode (even though I only want resources in the service bus hierarchy to be deleted) however the tiered resources are not destroyed in the same was as resources directly beneath the resource group (i.e. the service bus itself). I have tried entirely deleting the service bus and rebuilding it, but this causes all the keys for the authorisation rules (shared access policies) to change.
If anyone knows if, and how, I can get the functionality I desire it would be greatly appreciated
If you want to "clean up" child resources that were not defined in the template that may or may not work depending on how ARM recognizes the resources. TL;DR if it's not working with complete mode as you tried it, ARM doesn't recognize those resources in a way that would clean up the extra ones.
There is an upcoming feature called deploymentStacks that will help with this scenario but today the capabilities are as you have it.
You could script a more surgical removal of those resources after deployment finishes by leveraging deploymentOperations but there's nothing more "built-in" today.
I have to move resources in Azure from one subscription to another one. One of these resources is Application Insights.
The continuous export feature in Application Insights is not being used, so the logs are only preserved for 3 months.
I spent a while looking for answer, but so far I did not find the right answer. Also, it is not listed in the supported resources (https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/move-support-resources), but I did validate the move operation and it is definitely supported.
I would like to know if the Application Insights will preserve the log data or it will be gone?
Actually, it is listed in the supported resources, the resource type of Application Insight is microsoft.insights/components.
And I test it for you, the Application Insight will preserve the log data.
1.Before moving:
2.After moving to another subscription:
I've got all my stuff under a subscription that got disabled (changed the employer). I registered a new one (pay-as-you-go on my own credit card). Attempting to move the deactivated sites to the new one failed and the portal says:
Resources cannot be moved from disabled subscriptions.
I've followed the link provided and googled around finding that "...source and destination subscriptions must be active...". That's not very helpful in my case as I have no means to make the admins managing the old subscription reactivate it, not even for a short while.
Do I have to scratch everything and re-publish the application? It won't let me do that on the same URL (and re-configurating the SQL server/DB might cause addition issues). Google gave me nada and I wonder if there's a way to simply move the stuff somehow in the portal.
I can't wait for the reply from MS support because the site manages a register for people with some mental disabilities and not being able to access the material is a huge blow on their daily peace.
Oh, I'm running the site pro-bono (out of my own pocket for the unfortunate souls) so a solution that's pricey might be a show-stopper.
This happened to me. Go to the subscription and reactive it by converting it to a pay-as-you-go subscription. Then you can download and move resources. If you don't need the subscription after that, you can delete it.
Every attempt I have made across the past month to add Monitoring Rules to Virtual Machines or Cloud Services within our Azure subscription results in an error, and the error itself is not providing any useful information (it seems to be pointing to a non-existent microsoft schema:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">{"Code":"BadRequest","Message":""}</string>
Steps to Recreate:
Login to Azure Management Portal (Standard - not the Preview portal)
Choose Virtual Machines
Choose a Virtual Machine from the list
Choose the 'Monitor' option
Choose 'Add Rule' from the bottom ribbon
Complete first screen of rule information (Name, Description - Alpha characters only)
Click Next Arrow
Complete Next Screen ('Greater than', 70, 'Average over the last five minutes')
Choose either of the Actions for email options, complete relevant information
Tick 'Enable Rule' (ticked by default)
Tick Check Box to complete and submit
System provides a notification in the bottom ribbon that it
Could not create rule 'RuleName'.
Clicking 'Details i' Provides an error message that in itself seems to be an error attempting to access a microsoft library element:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">{"Code":"BadRequest","Message":""}</string>
The url referenced leads to the following error message:
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
I am looking for a solution that will allow me to complete the creation of the rule - the badly formed error message / updated schema would only be helpful if it led to a better understanding of the error.
The same result is obtained when attempting to create an email alert / rule through the Management Services module in the portal.
I cross posted this to the MSDN network. Another individual chimed in indicating they were having the same issue - and a Microsoft Moderator asked me to check again, as it was working for him.
Portal definitely updated, and now both the Management Services module, and monitoring from the VM module are successfully creating rules.