Azure SQL Server IaaS SSIS: A required privilege is not held by the client

As mention in a previous post, we are using Azure SQL Server IaaS to help our transition to the cloud. The main reason for this is how some of our SSIS projects, which we inherited, were created.

  • Some were using SSIS to manage the transactions, which uses MSDTC not supported in Azure.
  • Use extra .Net libraries to read JSON and office files; external programs to do file operations like decompression.
  • Migration timelines and priorities we didn't have time to refactor these projects.

While ago we started to deploy our SSIS projects to our Azure SQL Server IaaS virtual machine, a Windows 2019 server with SQL Server 2019, to get the following error: SSIS Deployment Error 6522 "A required privilege is not held by the client".

We able to resolve our problem by using the steps we found in the following blog posts:

Which was to:

  1. Run Dcomcnfg.exe. Dcomcnfg.exe provides a user interface for modifying certain settings in the registry.
  2. In the Component Services dialog, expand the Component Services > Computers > My Computer > DCOM Config node.
  3. Right-click Microsoft SQL Server Integration Services 15.0, and then click Properties.
  4. On the Security tab, click Edit in the Launch and Activation Permissions area.
  5. Add users NT SERVICE\MsDtsServer150, NT SERVICE\SQLSERVERAGENT and NT SERVICE\MSSQLSERVER and assign appropriate permissions, and then click Ok.
    Component Servcies Changes
    Component Servcies Changes

  6. Run secpol.msc and within dialog expanded local security policy > User Rights Assignment.
  7. Doboule click Replace a process level token and added NT SERVICE\SQLSERVERAGENT and NT SERVICE\MSSQLSERVER click okay.
    Local Security Policy Changes
    Local Security Policy Changes

  8. Restart the Integration Services Service.

Comments

Popular posts from this blog

SSIS File handle leak in For Each Loop

Cannot update a database that has been registered as a data-tier application