Hi
Thanks for reaching out to Microsoft Q&A.
Can you try the below link for creating URI and let me know if this works?
https://learn.microsoft.com/en-us/rest/api/automation/webhook/generate-uri?tabs=HTTP
Please Upvote and Accept as answer if the reply was helpful, this will be helpful to other community members.