Azure / azure-cli

Azure Command-Line Interface
MIT License
4.02k stars 2.99k forks source link

as eventgrid event-subscription create validation fails #27768

Open stevendarby opened 1 year ago

stevendarby commented 1 year ago

Describe the bug

https://github.com/Azure/azure-cli/issues/9547#issuecomment-1789700592

Related command

az eventgrid event-subscription create

Errors

401 Unauthorized

Issue script & Debug output

TBC

Expected behavior

it works

Environment Summary

Latest azure cli

Additional context

No response

yonzhan commented 1 year ago

Thank you for opening this issue, we will look into it.

stevendarby commented 9 months ago

@yonzhan any update?

When the URL includes a query string with & then it fails to validate, e.g. https://something.com?code=123&functionName=test

returns this error:

(Url validation) Webhook validation handshake failed for https://something.com. Http OPTIONS request failed with response code NotFound. For troublehooting, visit https://aka.ms/esvalidationcloudevent. Activity id:8ad64c82-57a1-46c9-bf07-8bde74535e6f, timestamp: 1/21/2024 8:37:25 PM (UTC).
Code: Url validation
Message: Webhook validation handshake failed for https://something.com. Http OPTIONS request failed with response code NotFound. For troublehooting, visit https://aka.ms/esvalidationcloudevent. Activity id:8ad64c82-57a1-46c9-bf07-8bde74535e6f, timestamp: 1/21/2024 8:37:25 PM (UTC).
'functionName' is not recognized as an internal or external command,
operable program or batch file.

'functionName' is not recognized as an internal or external command, operable program or batch file.