Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error SQL71627 SQL Server bacpac migrate to Azure SQL Server

I got this error in deploying my database from PC to Azure with Windows 10 SQL Server 2O17 Management Studio task, this was because I still had a user with Windows Authentication in my database. I had to delete the user in order to have only users with SQL Server authentication (user/password)

Also this process is not compatible with SQL Server 2017 database, I had to get back to 2014, Azure is compatible up to 2016 (paper)

This question here for reference as I did not find any info on the 'net.

Best regards

Un ou plusieurs éléments non pris en charge ont été trouvés dans le schéma utilisé dans le cadre d'un package de données. Error SQL71627 : La propriété AuthenticationType de l'élément Utilisateur: [PCVM\Dominique] est définie sur une valeur qui n'est pas prise en charge dans Microsoft Azure SQL Database v12. Error SQL71627 : La propriété IsMappedToWindowsLogin de l'élément Connexion: [PCVM\Dominique] est définie sur une valeur qui n'est pas prise en charge dans Microsoft Azure SQL Database v12. (Microsoft.SqlServer.Dac)

like image 612
luis888 Avatar asked Jan 12 '18 16:01

luis888


2 Answers

enter image description here

Delete users except these four users (dbo - guest - INFORMATION_SCHEMA - sys)

Databases -> your database -> Security -> Users

like image 125
Leo Avatar answered Sep 23 '22 15:09

Leo


Please remove the specified user which is located at database->Security node.

like image 24
Michael Li Avatar answered Sep 21 '22 15:09

Michael Li