Cannot process as Key Vault support is not present in the current application

Lekster 001 6 Reputation points
2020-07-02T13:31:15.017+00:00

I recently added encryption to my database using Always Encrypted feature and storing Master Key into Azure Key Vault. Everything works fine locally but I can't publish on Azure SQL Database using my SSDT project because I have the error : "Cannot process as Key Vault support is not present in the current application" and I'm stuck there.

I tried to ask in the Microsoft forum (see original post link below) without success so they asked me to ask the question here to Azure experts. According to the error msg, I would need to install a more recent version of DacFramework but I tried without success.

"Cannot process as Key Vault support is not present in the current application. For Key Vault support during deployment, install DacFramework.ms and run SqlPackage.exe from its installation location."

Problem is that my Azure CI Pipeline is in error since then so I really need help. :) Meanwhile, I currently "unencrypted" the columns and CI works fine.

Anyone have an idea where I can get more information on my issue or had to deal with the same issue and have a solution?

Thanks in advance! :)

Here's the original post: https://developercommunity.visualstudio.com/content/problem/1056401/cannotot-proceed-as-key-vault-support-is-not-prese.html?childToView=1073194#comment-1073194

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,159 questions
Azure SQL Database
{count} vote

2 answers

Sort by: Most helpful
  1. JamesTran-MSFT 36,496 Reputation points Microsoft Employee
    2020-07-02T21:57:43.043+00:00

    @Lekster001-7984
    Thank you for your post and detailed explanation! Looking into your issue, I was able to find a similar error message that was posted to Stack Overflow. I'll post my colleagues response along with the original post below.

    Stack Overflow Post:
    "It is possible that the newly updated hosted agent has a newer version of the DAC framework installed which is taking precedence over the full version that was installed separately, or else there is some other sort of discrepancy between the two and your system is trying to use the older version of the framework. It is also possible that some of your VMs have the framework and others do not, and this is causing that error.

    There is a known issue with that error message that the product team is working on. See also, the user voice item."

    I was able to sync with my team and came up with two options:

    • You can send me your subscription ID, any error logs, screenshots, etc. I would then open a Support Request for you with this information.
    • Or, if it'd be easier, you can create a support request and post your support request number here so I can monitor/track your issue.

    Any emails can go to:
    AzCommunity@microsoft.com
    Title - ATTN: James Tran - Key Vault support not present
    Body - Link to issue along with any other details.

    Please let me know if you have any other questions.
    Thank you for your time!


  2. Lekster 001 6 Reputation points
    2020-07-02T23:02:56.17+00:00

    Hi James!

    Thank you for your fast reply.

    Can you tell me how I can get error logs of a publish from SSDT project to an Azure Sql Database so I can provide it to you?

    If I can't find anything clear in this log file, I'll open a support request.

    Thank you!