title: Azure Functions - Return values with no output bindings? Is this possible?
body: <p>I'm a newbie to Azure Functions, and i have written an Azure function to create a new resource for me in Azure . The function returns an Id wrapped in a type ive created.</p>
  
  <p>The main reason for this is that i have written integrations tests that does some checks and teardown process based on the Id returned from the function. </p>
  
  <pre><code> [FunctionName("SomeAzFunction")]
          public async Task&lt;MyNewReturnType&gt; Run(
              [ServiceBusTrigger("%topic-name%", "some-subscription", Connection = "service-bus-connection-string")]
              string message,
              ILogger log)
  
  </code></pre>
  
  <p>However When deployed, i'm  getting this following error. Is it mandatory to have a output bindings if an Azure function has return values? Or am i approaching Azure functions incorrectly?</p>
  
  <pre><code>Function (SomeAzFunction) Error: Microsoft.Azure.WebJobs.Host: Error indexing method 'SomeAzFunction'. Microsoft.Azure.WebJobs.Host: Cannot bind parameter '$return' to type MyNewReturnType&amp;. Make sure the parameter Type is supported by the binding. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
  
  </code></pre>