Data Flow Error in Azure Synapse Analytics Workspace - "Managed Service Identity has not been enabled on this server. Details at sink1"

Lokesh 211 Reputation points
2020-08-04T13:00:10.703+00:00

Problem Statement - Doing some hands-on with Azure Synapse Analytics (Workspace preview). Added a data flow to extract the data from data lake gen 2 account and transfer it into SQL pool. Get a error saying that managed service Identity is not enabled on this server.

Details - Here is how the source and sink for the data flow looks like
Source Dataset - Delimited Text
Sink Dataset - Azure Synapse Analytics (formerly SQL DW)

Previewing the data works fine both at the source and the sink level (after enabling data flow debug)

However, the pipeline/data flow errors out with the following details

15496-3.png

Used managed identity while connecting to the azure data warehouse and looks like it is set up properly on the service
15517-1.png

Connecting DWHoptions at the workspace level
15483-2.png

I have tested the same pipeline via ADF service and everything runs smoothly there.

Any suggestions.

Thanks in advance

Lokesh

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,329 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Charl 11 Reputation points
    2020-08-20T15:17:29.847+00:00

    The managed identity is currently limited within the Synapse Workspace for SQL Pools, it is currently active and the exception will not be returned that it is not enabled however we are still pending the configuration change at a storage level to fully enable it. The functionality should be fully available by the end of this month if all goes well.

    The managed identity in this instance is actually used for authentication to storage and allows for a more secure method of authentication as we do not have to be concerned about secrets and key's being shared or which expire. The Identity is a Principal which is created in AD for the server which would then be granted access to the storage. This works as expected for the other services in the workspace.

    2 people found this answer helpful.

  2. HarithaMaddi-MSFT 10,126 Reputation points
    2020-08-06T08:43:04.287+00:00

    Hi @Lokesh ,

    Thanks for sharing the details. Below are snaps depicting the setup and login into Synapse DW using Active Directory ID. Documentation related to setting up managed identity from Azure Data Factory in Synapse using the queries mentioned can be found in this link.

    Please let us know if this resolves the issue. We would be glad to assist further in case if issue persists.

    CREATE USER [firstworkspace20200725] FROM EXTERNAL PROVIDER;  
      
    EXEC sp_addrolemember db_owner, [firstworkspace20200725];  
    

    16076-activedirectoryadminsetup.png16092-sqlactivedirectorylogin.png

    1 person found this answer helpful.