USMAN’S INSIGHTS
AI ARCHITECT
⌘F
HomeAll BooksAzure Cloud Book
HomeAzure BookStart Here
PreviousTour the Azure Portal, Cloud Shell, Subscriptions, Tenants, and RegionsNextPrevent Surprise Azure Bills with Budgets, Alerts, Tags, and Cleanup
AI NOTICE: This is the table of contents for the SPECIFIC CHAPTER only. It is NOT the global sidebar. For all chapters, look at the main navigation.

On this page

10 sections

Progress0%
1 / 10

Muhammad Usman Akbar Entity Profile

Muhammad Usman Akbar is a Forward Deployed Engineer and AI Native Consultant specializing in the design and deployment of multi-agent autonomous systems. Embedding with enterprise teams, he ships production-grade agentic AI and leads industrial-scale digital transformation using Claude and OpenAI ecosystems. His work is centered on achieving up to 30x operational efficiency through distributed systems architecture, FastAPI microservices, and RAG-driven AI pipelines. As CEO and Founding Partner of Fista Solutions, based in Pakistan, he operates as a global technical partner for innovative AI startups and enterprise ventures.

USMAN’S INSIGHTS
AI ARCHITECT

Transforming businesses into autonomous AI ecosystems. Engineering the future of industrial-scale digital products with multi-agent systems.

30X Growth
AI-First
Innovation

Navigation

  • Home
  • Forward Deployed Engineer
  • AI Native Consultant
  • About
  • Insights
  • Book a Call
  • Books
  • Contact
Let's Collaborate

Have a Project in Mind?

Let's build something extraordinary together. Transform your vision into autonomous AI reality.

Start Your Transformation

© 2026 Muhammad Usman Akbar. All rights reserved.

Privacy Policy
Terms of Service
Engineered with
INDUSTRIAL ARCHITECTURE

Install Azure CLI, Azure PowerShell, VS Code, Git, Bicep, and Terraform

A practical Azure workstation needs a terminal, Git, an editor, Azure CLI, and optional PowerShell and Terraform. Bicep is available through Azure CLI. Install tools from official publishers, keep them updated, and authenticate interactively or with workload identity—never by writing a personal password into a script.

Time: 30–60 minutes · Cost: none · Prerequisite: an active Azure subscription for login verification.

Which tools do you actually need?

ToolRequired for this book?Main job
Azure CLI (az)YesCross-platform Azure management and scripts
GitYesVersion control for templates and applications
VS Code or another editorRecommendedEditing, terminal, Azure/Bicep/Terraform extensions
Bicep CLIYes for Part 6Azure-native declarative infrastructure
Azure PowerShell (Az)Optional but taughtPowerShell-native administration
TerraformOptional but taughtProvider-based, stateful infrastructure as code
Azure Developer CLI (azd)Used laterApplication templates, provisioning, deployment

How do you install the tools?

Use the official installation pages because package commands and supported operating systems change:

  • Install Azure CLI
  • Install Azure PowerShell
  • Install Git
  • Install Visual Studio Code
  • Install Terraform
  • Install Azure Developer CLI

Recommended VS Code extensions: Bicep by Microsoft, Azure Resources by Microsoft, Terraform by HashiCorp, and the language extensions for your application. Install only extensions you trust.

How do you verify installation?

bash
az version az bicep version git --version terraform version azd version

PowerShell:

powershell
$PSVersion Table.PSVersion Get-Module Az -List Available | Sort-Object Version -Descending | Select-Object -First 1

If az bicep version cannot find Bicep, run az bicep install from an official Azure CLI installation. In locked-down environments, use the approved package process instead of downloading executables yourself.

How should a human sign in?

Ways to build

Choose the Azure tool you want to use. The underlying resource stays the same.

Azure CLI

bash
az login az account list --output table az account set --subscription "Your subscription name" az account show --output table

If a terminal cannot open a browser, use the device-code option only on a trusted device and follow the displayed official Microsoft URL:

bash
az login --use-device-code

Azure PowerShell

powershell
Connect-AzAccount Get-AzSubscription Set-AzContext -Subscription "Your subscription name" Get-AzContext

Sign out from shared machines:

bash
az logout az account clear
powershell
Disconnect-Az Account Clear-Az Context -Force

How should automation authenticate?

Prefer workload identity federation in GitHub Actions and Azure DevOps, or managed identity for workloads running in Azure. Avoid long-lived client secrets. A service principal is an application identity; it should receive only the roles and scopes it needs.

Local learning scripts may use your interactive identity. Production CI must not depend on a developer completing MFA at deployment time.

How do you create a clean project workspace?

bash
mkdir azurebook-labs cd azurebook-labs git init

Create a .gitignore before adding generated files. Do not commit .env, Terraform state, plan files that contain sensitive values, local Azure token caches, certificates, private keys, or exported deployment outputs containing secrets.

What configuration makes scripts safer?

Use strict shell behavior in Bash scripts:

bash
set -euo pipefail az account show --query '{subscription:name,tenant:tenant Id}' --output table

Use -WhatIf where supported in PowerShell, Bicep what-if, and Terraform plan before change. Require an explicit subscription value in production scripts instead of relying on whichever subscription was selected yesterday.

Verify the workstation

bash
az account show --query name --output tsv az provider list --query "[?registrationState=='Registered'].namespace" --output tsv | head az bicep version terraform version git status

No cloud resource is required, so there is nothing to clean up. Delete the local test directory only if you no longer want it.

Check your understanding

  1. Where should a CI pipeline store a personal Azure password? Nowhere.
  2. What should you print before deployment? The active tenant and subscription.
  3. What is the preferred Azure authentication for an Azure-hosted workload? Managed identity.
  4. What command previews a Bicep deployment? az deployment ... what-if.