Skip to content

Publish DACPAC file failed due to bind rule with a user-defined data type #245

Description

  • SqlPackage or DacFx Version: 6.1.8089.0
  • .NET Framework (Windows-only) or .NET Core: both
  • Environment (local platform and source/target platforms): Tested on SQL MI / SQL 2022
  • Issue: When cx try to publish a DACPAC file to an existing databse (Azure SQL MI) that has bind rule with a user defined data type they will get error :SQL72018: SqlRule could not be imported but one or more of these objects exist in your source.

Steps to Reproduce:

  1. Create a database [DBOAD01]
  2. Run the below script 1
  3. Deploy the attached sample dacpac using the NET Core version (ICM: 377020710 has the sample dacpac).

Did this occur in prior versions? If not - which version(s) did it work in?

(DacFx/SqlPackage/SSMS/Azure Data Studio)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions