CmdID / az / az datamigration
az datamigration login-migration
Migrate logins from the source Sql Servers to the target Azure Sql Servers. Azure CLI extensions reference
7 options Its page in the Azure CLI extensions reference
Options
--aad-domain-nameRequired if Windows logins are included in the list of logins to be migrated.--config-file-pathPath of the ConfigFile--csv-file-pathLocation of CSV file of logins.--list-of-loginList of logins in string format.--output-folderDefault: %LocalAppData%/Microsoft/SqlLoginMigrations) Folder where logs will be written.--src-sql-connection-strConnection string(s) for the source SQL instance(s), using the formal connection string format.--tgt-sql-connection-strConnection string(s) for the target SQL instance(s), using the formal connection string format.