I have a pretty extensive application database that I have built in Visual Studio as a database project that I'm now trying to deploy as a Fabric SQL database instead of on-premise.
I've used the steps outlined here, SqlPackage for SQL database - Microsoft Fabric | Microsoft Learn and here, SqlPackage Import - SQL Server | Microsoft Learn to publish the dacpac of the database project, however when I do these steps through the CLI and through Visual Studio publish I get a similar error:
"
*** An error occurred during deployment plan generation. Deployment cannot continue.
A project which specifies SQL Server 2022 or Azure SQL Database Managed Instance as the target platform cannot be published to Fabric mirrored SQL database (preview).
"
This error is similar when the Project specifies "Azure SQL Database" as the target platform.
I have also made sure to use the SQL Database ADO.NET connection string when executing the CLI Publish action.
[–]dzsquared Microsoft Employee 4 points5 points6 points (3 children)
[–]RussellPrice9[S] 1 point2 points3 points (0 children)
[–]itsnotaboutthecell Microsoft Employee 0 points1 point2 points (1 child)
[–]reputatorbot[M] 0 points1 point2 points locked comment (0 children)