Forum Discussion

sshoaib's avatar
sshoaib
Copper Contributor
Aug 17, 2023
Solved

Issues with creatin event grid subscription for Keyvault notifications using bicep

Invalid event subscription request: Supplied URL is invalid. It cannot be null or empty and should be a proper HTTPS URL like https://www.example.com."}]}}   Getting the above when trying to create...
  • sshoaib's avatar
    Aug 17, 2023

    ok I think I have fixed this

    When invoking a log app say via Event Grid ( endpointType: 'WebHook'), we need to specify endpointUrl.

     

    However in bicep using list call back url results in error. When looking at an existing event subscription the exact Logic app url is not reflected.

    I ended up adding the trigger webhook to the endpointUrl and it worked.

    This is not documented anywhere.

    Hope this helps someone

     

Resources