Azure DevOps set permissions using REST API

Hello,

I am trying to set permissions of Azure DevOps groups using Rest API using the bitmap.

$securityNamespaceId = "52d39943-cb85-4d7f-8fa8-c6baac873819"
$groupDesc = "Microsoft.TeamFoundation.Identity;S-1-9-1551374245-3474010476-3658975049-2966243200-2961816057-1-3769221364-1224424009-2749800435-4143997070"
$projectId = "12313142-eec0-4c3d-b9b5-44d0c3973b3e"
$token = "`$PROJECT:vstfs:///Classification/TeamProject/$($projectId)"
$allowMask = 4
$denyMask = 0

$bodyInfo = @"
{
"token": "$Token",
"merge": false,
"accessControlEntries": [
{
"descriptor": "$groupDesc",
"allow": $AllowMask,
"deny": $DenyMask,
"extendedinfo": {}
}
]
}
"@

$uri = "https://dev.azure.com/FirstAmCorp/_apis/accesscontrolentries/52d39943-cb85-4d7f-8fa8-c6baac873819?api-version=5.0"

$result = (Invoke-RestMethod -Method Post -Uri $uri -Body $bodyInfo -Headers $headers -ContentType "application/json")

count value
----- -----
1 {@{descriptor=Microsoft.TeamFoundation.Identity;S-1-9-1551374245-3474010476-3658975049-2966243200-2961816057-1-3769221364-1224424009-2749800435-4143997070; allow=4; deny=0}}

but the permissions is not set to allow .