Synapse Initial Workspace Admin access

Rajat Kumar 60 Reputation points
2023-11-29T11:28:47.56+00:00

Hi There,

I am deploying Azure Synapse Analytics via Bicep and it deployed successfully.

But one issue is there, I am trying to give initial workspace admin access to a Service Principal, but it after deployment, it picks some default id rather than my Service Principal Id.

This is my synapse module part from where I am assigning Initial Workspace Admin access:

properties: {
    azureADOnlyAuthentication: true
    cspWorkspaceAdminProperties:{
      initialWorkspaceAdminObjectId: pInitialWsAdminObjId
    }

But in my what-if task, it shows the correct SPN id to be assigned as Initial Workspace Admin, but after deployment it doesn't.

Need your help here.

Thanks in advance.

Regards,
Rajat

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,683 questions
{count} votes