When moving an Azure subscription, certain resource types may not be supported for the move operation, which appears to be the case with your Bastion host. The error message indicates that the resource type Microsoft.Network/bastionHosts cannot be moved. Here are some steps you can take to resolve the issue:
- Check Resource Dependencies: Ensure that there are no dependencies or associated resources that might be preventing the move. Sometimes, other resources linked to the Bastion host can cause validation failures.
- Remove Unsupported Resources: Since you mentioned removing the Bastion hosts, ensure that all instances of
Microsoft.Network/bastionHostsare indeed removed from the subscription you are trying to move. You may also want to check for any other unsupported resources. - Review Move Requirements: Familiarize yourself with the specific requirements for moving resources between subscriptions. Not all resources can be moved, and it’s important to ensure that the resources you are trying to move comply with Azure's guidelines.
- Use Azure Portal for Validation: Sometimes, using the Azure portal to initiate the move can provide more detailed validation feedback or guidance on what needs to be addressed.
- Contact Azure Support: If you continue to face issues, consider reaching out to Azure support for assistance. They can provide more detailed insights based on the tracking ID and correlation ID you received in the error message.
By following these steps, you should be able to identify the cause of the validation failure and take appropriate actions to resolve it.