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.