Skip to content

Unable to uncheck 'Allow requestors to approve their own changes' under Completion options #22624

@omerzubair

Description

@omerzubair

I was not able to find the switch to be able to uncheck the "Allow requestors to approve their own changes".
There is no switch for update policy.

$requiredReviewer = az repos policy required-reviewer create --blocking true
--branch "main" --branch-match-type "exact"
--enabled true --repository-id $($repositoryid)
--required-reviewer-ids $reviewerGroupId --org $adoOrg
--project $adoProject `
--message $reviewerMessage

image


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions