I am trying to use an anonymous HTTP Azure Function as the Callback Endpoint but am not getting a trigger after a human review is completed.
Interestingly, when I run the Function locally and specify my localhost URL as the Callback Endpoint (I expose my local server via ngrok), my local Function successfully triggers.
Note - I specify the Callback Endpoint in my workflow (Actions -> Create Review -> Callback Endpoint) rather than in the POST request to create the job.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@TranKennyK Thanks for the feedback. We are investigating the issue and will update you shortly.
This appears to have resolved itself. Thank you!
@TranKennyK, I just tried the Callback feature in the same way (specifed the callback URL in the workflow definition and called the Job operation with the workflow name as the parameter) and it worked fine. I did not use an Azure function though to expose my URl. I just used a regular callback URL from the public webhook.site.
I would suggest testing your Azure Function's URL from other sources and see if that URL is indeed accessible and the function is actually called. We do have a tutorial that uses Azure functions that you might find useful. I hope this helps.
CALLBACK URL SPECIFIED IN THE WORKFLOW DESIGNER
CALLBACK EVENT LOG AFTER REVIEWS WERE SUBMITTED
@TranKennyK. Thanks for the update that it's resolved.
@TranKennyK, Can you please resolve or close this issue? Thanks!
This is resolved.
https://github.com/MicrosoftDocs/azure-docs/issues/32084
Thanks,
Sanjeev
From: Ram notifications@github.com
Sent: Thursday, May 30, 2019 2:25 AM
To: MicrosoftDocs/azure-docs azure-docs@noreply.github.com
Cc: Sanjeev Jagtap Sanjeev.Jagtap@microsoft.com; Assign assign@noreply.github.com
Subject: Re: [MicrosoftDocs/azure-docs] Unresponsive Callback Endpoint (Azure Function) (#32084)
Assigned #32084https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F32084&data=02%7C01%7CSanjeev.Jagtap%40microsoft.com%7C416dc9e0bcf54a5b5cc608d6e4e0b674%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636948051117430113&sdata=pg42OB2NL7bjCBQuhRE0eWE7t6qX03TQbNwFhNeF7qk%3D&reserved=0 to @sanjeev3https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsanjeev3&data=02%7C01%7CSanjeev.Jagtap%40microsoft.com%7C416dc9e0bcf54a5b5cc608d6e4e0b674%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636948051117440103&sdata=mS%2FDMv%2B1Hsd24myn6z9N106SjIek3NeF%2BEXDkNQmGIw%3D&reserved=0.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F32084%3Femail_source%3Dnotifications%26email_token%3DAFQDFYZSDUG7VWMAWPHABMDPX6MPNA5CNFSM4HPM42A2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGORW3N5GY%23event-2377571995&data=02%7C01%7CSanjeev.Jagtap%40microsoft.com%7C416dc9e0bcf54a5b5cc608d6e4e0b674%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636948051117440103&sdata=EVspR%2FofvSVdk5ya%2FbdTADY5Z%2Bnf%2Bg%2FHgkZ9E0iXlTg%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFQDFY74BFPFZUWAP3DOU73PX6MPNANCNFSM4HPM42AQ&data=02%7C01%7CSanjeev.Jagtap%40microsoft.com%7C416dc9e0bcf54a5b5cc608d6e4e0b674%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636948051117450095&sdata=w1iDIzi7kLW7D6vY8c%2F%2BOMcE1TKRv%2BiwO6wbxn7%2BvYY%3D&reserved=0.