After the new feature released recently, it does not support change the owner of agent pool with UI. You can only change it with REST api now.
PATCH https://dev.azure.com/{organization}/_apis/distributedtask/pools/{poolId}?api-version=5.1
For request body, since you just want to change the owner, according to the request body of doc, you just need to specified the value of owner is ok. Here is the sample of request body:
{
"owner": {
"displayName": "{owner name displayed}",
"uniqueName": "{owner account: [email protected]}"
}
}
Note: Please do not try to add isLegacy
into request body, something wrong occurred and the fixed for this issue is being prepared for release. For more details you can refer to this ticket.