Restrict Release Pipeline for users

shyamal Gajjar 0 Reputation points
2026-05-14T14:48:41.1333333+00:00

Hi,

I want to restrict both build pipeline and release pipeline for users.

I am able to restrict user to create and view build pipeline by following steps

  1. The user had contributor access. but i removed it from there and assigned to this new group and give some permission which default contributor has.
  2. I restrict the group for build pipeline by project-> pipelines->manage security-> deny all permissions and it worked and user cannot event create and view any build pipelines
  3. Same way I tried with project-> pipelines->Releases->All pipelines->Security->Deny all permissions. but user still can see New Pipeline and can access all functions inside it.

Can someone guide me to restrict event this New pipeline button also?

Azure DevOps

1 answer

Sort by: Oldest
  1. AI answer

    2026-05-14T14:49:17.08+00:00

    In Azure DevOps, release pipeline permissions are controlled separately from build pipeline permissions and follow a hierarchy. To restrict users from creating or using release pipelines (including the New pipeline experience), permissions must be denied at the appropriate level and for the correct permissions.

    Key points from the permission model:

    1. Release permissions are hierarchical:
      • Project-level release pipeline permissions
      • Object-level release pipeline permissions
      • Stage-level permissions
      Project-level settings are inherited by individual release pipelines unless overridden.
    2. Default roles:
      • Contributors have all release permissions except Administer release permissions.
      • Readers can view pipelines and releases.
      • Project/Release Administrators have all permissions.
    3. Relevant release object-level permissions include:
      • Manage releases – controls adding/editing approvers and managing releases.
      • Edit release pipeline – controls editing release configurations.
      • View release pipeline and View releases – control visibility.

    To restrict users from creating and using release pipelines, including the New pipeline entry point, apply these steps:

    1. Ensure users are not in any group that grants Contributor-like permissions at project level (for Pipelines). If they must remain in such groups for other reasons, use Deny at the release pipeline scope.
    2. Set project-level release pipeline permissions to Deny for the custom group or user:
      1. Go to Pipelines > Releases.
      2. Select the file view icon and then All pipelines.
      3. Choose More actions > Security.
      4. Add the user/group if not present.
      5. Set relevant permissions such as Edit release pipeline, Manage releases, Manage deployments, Manage release approvers, and View release pipeline to Deny.
      6. Close the dialog to save.
    3. If users still see or can use the New pipeline experience, verify there is no conflicting Allow from another group. In Azure DevOps, Deny overrides Allow, but if the user is in multiple groups, ensure at least one group explicitly has Deny for the release permissions listed above.
    4. If more granular restriction is needed (for specific release pipelines), override object-level permissions:
      1. In Pipelines > Releases, select the specific release pipeline.
      2. Select More actions > Security.
      3. For the user/group, set Allow/Deny/Not set as needed. Setting Deny on Edit release pipeline and Manage releases prevents managing that pipeline.
      4. To restore inheritance later, set permissions back to Not set or re-enable Inheritance.

    If the goal is to prevent users from even viewing or modifying any release pipelines, combine:

    • Project-level Deny on View release pipeline and View releases.
    • Project-level Deny on Edit release pipeline, Manage releases, and related permissions.

    This aligns with the documented guidance to restrict access to build and release pipelines by setting Edit release pipeline and View release pipeline to Deny at the object or project level.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.