← All insightsBest Practices

Microsoft Azure best practices for teams

Nir Geier, CodeWizard · 21 December 2025 · 3 min read · Intermediate

Microsoft Azure rewards a little discipline. These are the practices that keep it maintainable as a team and a codebase grow.

The practices

  • Use OIDC federated credentials for CI
  • Apply least-privilege RBAC and Azure Policy
  • Prefer Bicep/Terraform over portal click-ops

What good looks like

A storage account via Terraform.

hcl
resource "azurerm_storage_account" "assets" {
  name                     = "acmeassets"
  resource_group_name      = azurerm_resource_group.rg.name
  location                 = "westeurope"
  account_tier             = "Standard"
  account_replication_type = "LRS"
  min_tls_version          = "TLS1_2"
}

Anti-patterns to retire

  • Client-secret credentials instead of OIDC federation
  • Owner role assignments sprayed across subscriptions
  • Public storage/network without Private Endpoints

Want senior help putting Microsoft Azure to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.

Like where this is going?

Get hands-on help from the engineers who write these posts.

Book a free consult