Blog on GitHub Pages

Do not use Azure Static Web Apps Managed Functions Support

 

Azure Static Web Apps provide some nifty features for hosting Backend APIs- AuthN/AuthZ and Routing. However, the Free Tieronly supports Managed Azure Functions APIs. While Managed Functions APIs are pretty easy to get started with, I ran into some blockers due to which I had to pursue other free routes for my hobby project.

 

Blockers

  • I could not access Diagnostics logs from my Azure Function

Documentation states that you can access logs by turning on Application Insights on your Static Web App. The Portal does have an Application Insights Setting, but it simply does not seem to stay enabled.

 

  • Managed Functions cannot integrate with Azure SignalR

Azure Functions can be configuredto receive messages and events from the Azure SignalR Service. This requires retrieving an API Keyfrom the Function App and supplying it to SignalR Service. This API Key is not visible for Managed Functions. So, I don’t think this integration is possible.

 

Alternatives

Does this mean I have to pay for the Azure Static Web Apps Standard Plan ($9/month)? I am going to pursue setting up a free Azure Function App and report back.

 

References

  • My failed Pull Requesttrying to integrate Managed Functions with SignalR Service.