Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
MaheshSanga
Microsoft Employee
Microsoft Employee

Cannot open server "XXXXXXXXXX.msit-database.fabric.micro

getting below error while trying to deploy bacpac files from localc computer to Fabric with using of SQL Package from CMD and working fine for some of the DB's but not for many,

 

C:\Windows\System32>sqlpackage /action:import /sourcefile:"C:\Users\Documents\SQL Server Management Studio\DAC Packages\GenericPipelineStore.bacpac" /targetconnectionstring:"Data Source=xxxxxxx.msit-database.fabric.microsoft.com,1433;Initial Catalog=7cbcd3b-fece-4427-ac5d-7cd3eac9380b;Multiple Active Result Sets=False;Connect Timeout=30;Encrypt=True;Trust Server Certificate=False;Authentication=Active Directory Interactive"
Importing to database 'XXXXX-27cbcd3b-fece-4427-ac5d-7cd3eac9380b' on server 'x6eps4xrq2xudenlfv6naeo3i4-otw4ignqnx7elnhkumn3gw4qui.msit-database.fabric.microsoft.com,1433'.
Creating deployment plan
Initializing deployment
*** A project which specifies Microsoft Azure SQL Database v12 as the target platform may experience compatibility issues with Fabric mirrored SQL database (preview).
*** Error importing database:An error occurred during deployment plan generation. Deployment cannot continue.
Warning SQL0: A project which specifies Microsoft Azure SQL Database v12 as the target platform may experience compatibility issues with Fabric mirrored SQL database (preview).

 

Cannot open server "xxxxxxxxxx.msit-database.fabric.microsoft.com" requested by the login.  The login failed.

3 REPLIES 3
Anonymous
Not applicable

As per the error you shared, it seems to be related to compatibility issues. Ensure that the target Fabric mirrored SQL database is compatible with the version specified in your .bacpac file. You might need to adjust the compatibility level of the target database.

Error importing database:An error occurred during deployment plan generation. Deployment cannot continue. Warning SQL0: A project which specifies Microsoft Azure SQL Database v12 as the target platform may experience compatibility issues with Fabric mirrored SQL database (preview)

Please provide support if you found this helpful.

MaheshSanga
Microsoft Employee
Microsoft Employee

yes, I am able to connect from SSMS by providing server name and database name.

drew-sk
Microsoft Employee
Microsoft Employee

If you test connecting to the database from a tool like SSMS, Azure Data Studio, or VS Code - are you able to connect?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors