How can I programmatically set an Azure Function's authorization level?
Pulumi exposes a 'FunctionAppAuthSettingsArgs'. However, I am unable to resolve what's required to set the actual authorization level.
Context:
I am unable to invoke Azure Functions from a client application when the authorization level of the Azure Function is set to 'Function'.
However, I can invoke an Azure Function when the authorization level is set to 'Anonymous'.
Thus, instead of manually updating dozens of Azure Functions across several code bases, I would rather perform this task programmatically.
Other references:
How to safely call Azure Function with function level authorization in Xamarin mobile app?
https://learn.microsoft.com/en-us/azure/app-service/overview-authentication-authorization