I've created an Azure logic app as a consumer for my CSP reporting-uri for our web pages. I'm adding the CSP header using the web.config file per https://www.sitepoint.com/improving-web-security-with-the-content-security-policy/.
Problem I have is while this works with other endpoints the Azure logic app endpoint uri has a rather long SAS attached to URL and when used IIS generates a 500 error on loading.
Is there a way I can configure IIS to handle the longer string? OR Is there a way I could configure the logic app to accept a shorter URL as a trigger? Or something I can do within Azure to get around this problem?