Search code examples
azureazure-functionsazure-stream-analytics

Connection Test Failed when trying to add an Azure function as an output sink to Stream Analytics Job


I always get a Connection Test Failed when trying to add an Azure function as an output sink to Stream Analytics Job. The Azure function works fine by itself and I can also call it using Postman. As soon as I add the Azure function, I get the Connection Test failed error message.
Azure function returned an HTTP error. An error occurred while sending the request.

Pic 1: Adding Azure function as output sink to Stream Analytics Job

Pic 2: Error message - Connection Test Failed


Solution

  • I got the same issue. The solution that works for me was to set up:

    Minimum TLS version: 1.0 (by default it was 1.2) for my function app.

    enter image description here enter image description here