Yes, Microsoft has deprecated public access to the vso.service_hook OAuth scope, which used to be required for programmatically managing service hooks (webhooks) in Azure DevOps. That’s why it no longer appears in the OAuth scope list when registering an app.
You can Use the Azure DevOps UI for Setting Up Webhooks:
- Go to your Azure DevOps -> Select your Project -> Project Settings > Service Hooks -> + New subscription -> Select Web Hooks as the service -> Choose the trigger (e.g., Code pushed, pull request created) -> Select the Filters if required -> Configure the Action settings as required.
- Refer to this document - https://learn.microsoft.com/en-us/azure/devops/service-hooks/services/webhooks?view=azure-devops
- This doesn’t require
vso.service_hook
scope and works seamlessly.
Hope this helps!
Please Let me know if you have any queries.
If you found the information helpful, please click "Upvote" on the post to let us know and consider accepting the answer as the token of appreciation. Thank You.