I am using a service account (user account), and the service account has read and write access to the projects under the organization. I have generated a PAT using this service account and using it in the API which calls the DevOps Rest API.
I have set read-only rules to a couple of fields in DevOps, I am bypassing the rule while calling the DevOps API (bypass:true) but it throws this error "TF401322: You don't have bypass rules permission. Please contact collection admin".
My question is : how do I set ByPass rules on work items to "Allow" for this service account ?