For the PAT token, make sure the user that creates the token has the Basic + Test Plans license and not only Basic: More information: https://learn.microsoft.com/en-us/azure/devops/test/manual-test-permissions?view=azure-devops#license-requirements
What is needed from the client side:
Note: the details below, apart from the access token, can be found in the DevOps URL, so you could just ask for this URL:
https://dev.azure.com/MY_ORGANIZATION/MY_PROJECT/_testPlans/execute?planId=4&suiteId=5
)
Organization
Project
Test plan id
Test suite id
Personal Access token: Use personal access tokens - Azure DevOps | Microsoft Learn
Settings:
Personal Access Token scopes: