- Ensure that the login "DBNAME\Administrator" exists in the target Azure SQL Server. Double-check the name and ensure it is spelled correctly. You can do this by connecting to the Azure SQL Server using Azure Data Studio or another SQL client.
- Ensure that the login "DBNAME\Administrator" has appropriate permissions to create users in the target Azure SQL Server. It may require the "CREATE USER" permission or membership in a role with sufficient privileges.
- If the login doesn't have the required permissions, you can grant them using a different user with sufficient privileges. Connect to the Azure SQL Server with an account with administrative privileges and execute the necessary GRANT statements to provide the required permissions to the login.
For example, you can execute the following command to grant the necessary permission to theadministrator:
GRANT CREATE USER TO [DBNAME\Administrator];