title: How do you configure Azure Function authentication by code?
body: <p>I want to configure the authentication for my Azure function via code, be it powershell, ARM template or an API? is this possible?</p>
  
  <p>i'm under the impression that an Azure Function is nothing more then an App Service so i would assume it resolve around there.</p>
  
  <p><a href="https://docs.microsoft.com/en-us/powershell/module/az.websites/?view=azps-2.0.0#app_service" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/powershell/module/az.websites/?view=azps-2.0.0#app_service</a> - there doesn't seem to be anything in the powershell.</p>
  
  <p><a href="https://resources.azure.com/" rel="nofollow noreferrer">https://resources.azure.com/</a> doesn't seem to give much information.</p>
  
  <p><a href="https://i.stack.imgur.com/de1tw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/de1tw.png" alt="configure Azure function authentication"></a></p>