Restricting access to Pipeline in ADF

Rohit Boddu 461 Reputation points
2021-02-18T09:34:20.493+00:00

Hi Team,

I have many pieplines in my adf for all of them developers has read-only access ..

but now i want to give them read-write permission for only one pipeline - which they can read and write( linked service write not allowed, debug run not allowed) ..

How can i give read-write access to only one pipeline and keeping existing mode of access to other pipelines.

Please let me know how to do this.

Thanks & Regards,
Rohit

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,897 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 82,271 Reputation points Microsoft Employee
    2021-02-18T11:36:27.6+00:00

    Hello @Rohit Boddu ,

    You need to create a Azure custom role for restricting access to Pipeline in ADF.

    Sample Json: to Read & Write ADF Single pipeline

        {  
          "Name": "Read & Write ADF Single pipeline",  
          "Id": null,  
          "IsCustom": true,  
          "Description": "This allows to read & write this ADF pipeline - factories/<YouDataFactoryName>/pipelines/<YourPipelineName>  
    ",  
          "Actions": [  
            "Microsoft.DataFactory/datafactories/datapipelines/read",  
        	"Microsoft.DataFactory/datafactories/datapipelines/write"  
          ],  
          "NotActions": [],  
          "AssignableScopes": [  
            "//subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxx/resourceGroups/<YourResourceGroupName>/providers/Microsoft.DataFactory/factories/<YouDataFactoryName>/pipelines/<YourPipelineName>"  
          ]  
        }  
    

    69466-image.png

    Reference: Create or update Azure custom roles using Azure PowerShell.

    Hope this helps. Do let us know if you any further queries.

    ------------

    Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.

  2. Nandan Hegde 29,996 Reputation points MVP
    2021-02-18T10:38:41.607+00:00
    1 person found this answer helpful.