Hosting a Streamlit dashboard in a client's Azure tenant
Streamlit needs a running Python process, so use App Service, not Static Web Apps. Prove Entra sign-in works first.
Needs verification. Part of this guide depends on product behaviour or vendor details that may have changed. Re-test in your environment before relying on it.
Key point
Streamlit is a running Python server, not static files. Static Web Apps can’t host it. Use App Service (Linux, Python) or a container (Container Apps).
Sign-in
App Service’s built-in authentication can put Entra ID in front of the app. Reports on how smoothly it works with Streamlit’s websockets are mixed.
Recommendation
Build a proof of concept with sign-in enabled before committing to a design or a quote. Test with a real user from the client’s tenant.
Seeing this in your environment?
We can check for this, and everything around it, as part of an audit.