I had the same issue. I did a "Stop" and "Start" on the Managed Instance, tried the connection again in Azure Data Studio and it worked.
But I agree with Ronald Duenez Orti that it should pick up the state automatically.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In step 3 of the Azure SQL Migration where the user chooses the managed instance:
Error:
The managed instance 'managedinstance' is unavailable for migration because it is currently in the 'Creating' state. To continue, select an available managed instance.
But this managed instance's state has been "ready" for about 4-5 hours.
Do I need to wait even more time for the Azure SQL Migration extension of Azure Data Studio to see that the state is not 'Creating' anymore? Is there any action needed from me?
I had the same issue. I did a "Stop" and "Start" on the Managed Instance, tried the connection again in Azure Data Studio and it worked.
But I agree with Ronald Duenez Orti that it should pick up the state automatically.
Hi Rune Moberg,
Welcome to Microsoft Q&A forum and thanks for using Azure Services.
As I understand, you are getting same error as Azure SQL Managed Instance unavailable in Azure Data Studio.
Make sure you have installed the official release of the Azure SQL Managed Instance extension. Follow the steps in the Azure Data Studio documentation. In the Extensions pane, search for "Managed Instance", and install it there. After it's installed, you'll get notified automatically about any future extension updates.
With the extension installed, you'll see a Managed Instance tab in Azure Data Studio. Here you can find information specific for your managed instance.
Hope this helps. If not:
Could you please tell what type of migration you are performing?
At what step error comes up? Screenshot would help.
Thank you.
Hi @Vlasopoulos V ,
Welcome to Microsoft Q&A forum and thanks for using Azure services.
Regarding the issue which you have in Azure Data Studio - Azure SQL Migration extension thinks the Managed Instance is still in 'Creating' state.
Could you please try to close and re-open Azure Data Studio and give it a try if this helps.
If not, please let us know if you performing Online or Offline migration?
Also, I would request you to go through the Known Issues in Azure SQL Managed Instance limitations:
Migrating to Azure SQL Managed Instance by using the Azure SQL extension for Azure Data Studio has the following limitations:
Please ensure these are checked.
Hope this should help. If not, please share inputs so that we may further assist.
This also happens for "Stopped" instances, when they come back Online they are not detected properly.
This Extension is very bad at autodetecting states. Sometimes it shows resource groups mixed when managing multiple subscriptions.
Auto-populated values are incorrectly swapped across subscriptions, resource groups, managed instances, storage accounts, containers and folders.
I strongly suggest:
Thanks