S
All posts
Cloud 11 minMarch 30, 2025

Designing Multi-Tenant SaaS on Azure

Tenant isolation, RBAC, secrets and zero-downtime delivery — the foundations every enterprise SaaS needs from day one.

Multi-tenancy is the difference between "an app" and "a platform you can sell to enterprises." Here's the foundation I build on Azure.

Isolation model

Row-level tenancy with an enforced tenant_id predicate is the pragmatic default: one database, strong isolation, simple operations. Per-tenant storage prefixes extend the same boundary to files.

Identity and access

  • OIDC / JWT authentication.
  • RBAC for recruiters, hiring managers and admins.
  • MFA-ready flows for sensitive roles.

Secrets and delivery

  • Secrets in Key Vault, never in code.
  • Containerized services on Azure Container Apps with revision-based, zero-downtime rollouts.
  • CI/CD that builds, tests, scans and deploys on every merge.

The payoff

When tenancy, identity and delivery are right from day one, adding features is fast — because the hard foundations aren't shifting underneath you.

This is a placeholder draft — the full article is coming soon.