Hi Alex,
thank you very much you helped me a lot! I was blind I have choosen the wrong target I had Azure SQL Managed Database instead of Azure SQL Database. With this change the migration worked like charme.
Have a nice weekend
Jens
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I wan't to migrate from Oracle to an Azure SQL database with the SQL Server Migration Assistant for Oracle.
I've created a database in Azure and can connect to this database with the Management Studio and the Azure Data Studio. Now I wan't to connect to this database with the Migration Assistant but after the click on connect I receive the message:
"You do not have permission to use the specified default database."
'[myazuredatabase].[dbo]' will be used for the default schema mapping.
And in the tree I can see that I'm connected to the Azure SQL server and I can see the master database and schemas but for [myazuredatabase] I see nothing only a warning 'Current user has no access to the database'.
The use I use is the one which is created in azure during database setup. I also tried the following steps without success: https://azure.microsoft.com/en-us/blog/adding-users-to-your-sql-azure-database/
Has anyone an idea to solve this issue?
Thanks
Hi Alex,
thank you very much you helped me a lot! I was blind I have choosen the wrong target I had Azure SQL Managed Database instead of Azure SQL Database. With this change the migration worked like charme.
Have a nice weekend
Jens
Please add the SQL login you are using to connect to the Azure SQL database to the dbmanager role as shown below T-SQL code:
CREATE LOGIN login1 WITH password='<ProvidePassword>';
EXEC sp_addrolemember 'dbmanager', 'login1';