Stream analytics: C# udf function not found in azure

Filip Van Raemdonck 21 Reputation points


I'm creating a stream analytics job with a function, which didn't work. Next I followed this tutorial: It runs on my local pc, but when I test it in Azure I get the following error: Function 'asaapplication2_class1_squarefunction' is unknown (my namespace is asaapplication2). What causes the issue? I literally followed the tutorial step by step.



Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
343 questions
0 comments No comments
{count} votes

Accepted answer
  1. KranthiPakala-MSFT 46,442 Reputation points Microsoft Employee

    Hi anonymous user,

    Welcome to Microsoft Q&A and thanks for your query.

    Currently you can only test C# UDF in visual studio and testing it in Azure portal is not supported yet. Hence you are seeing Function unknown error.
    But you should be able test in Visual studio and publish to Azure and start using your job without issue. It should run fine in Azure.

    I have provided a feedback to Azure Stream Analytics product team to improve the error message for user when they try to test C# UDF in portal and also to add a note in documentation about the same. Hopefully the documentation should be updated soon. Will let you know once the doc changes are reflected.

    Hope the above info helps.

    Thank you

    Please do consider to click on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Filip Van Raemdonck 21 Reputation points

    Thanks for the answer, it helped me to get to the real error. But is it possible numbers are not supported in variable names in C# UDF? My function is falling on this now.