az), and REST APIs / SDKs.
The main tools covered:
- Azure Portal
- Azure Cloud Shell
- Azure PowerShell (Az module)
- Azure CLI (
az) - REST APIs / SDKs
At-a-glance comparison
Azure Portal
The Azure Portal is a graphical, centralized hub for discovering, managing, and monitoring Azure resources. It provides an intuitive UI and context-aware help links for most administrative tasks. When to use Azure Portal:- Visual exploration of resource properties and relationships
- One-off tasks (scale a database, create a VM, inspect logs)
- Quick role assignment or resource tagging
- Rich visualization and guided workflows
- Contextual documentation and in-portal tutorials
- Mobile app for quick checks and simple approvals
Azure Cloud Shell
Azure Cloud Shell is a browser-based shell that automatically authenticates to your Azure account. It supports Bash (Linux-style) and PowerShell and mounts a persisted clouddrive backed by Azure Files. Key details:- The first time you launch Cloud Shell, it prompts to create an Azure Files share for
~/clouddrive. - Sessions run in a temporary container and will time out after a period of inactivity.
- You can switch between Bash and PowerShell inside the Cloud Shell UI.
Cloud Shell sessions may time out after inactivity (typically ~20 minutes). For long-running tasks, run jobs in background-friendly mechanisms or use local/VM environments that do not time out.
clouddrive:
Azure PowerShell (Az module)
Azure PowerShell provides PowerShell cmdlets that return rich objects, making it ideal for PowerShell users and automation that benefits from pipelines and object manipulation. When to use:- PowerShell-native automation and scripting
- Complex object transformations using the PowerShell pipeline
- Administrative scripts on Windows or cross-platform PowerShell Core

Azure CLI (az)
The Azure CLI (az) is a cross-platform command-line tool designed for scripting and automation, and it integrates well with shell scripts, containers, and CI/CD pipelines.
When to use:
- Shell-script friendly automation (Bash, sh)
- CI/CD pipelines and container build workflows
- CLI-first workflows such as
az acr buildfor ACR image builds
REST APIs and SDKs
For programmatic control from applications or language-native automation, use Azure REST Management APIs or the language-specific Azure SDKs (available for .NET, Java, Python, JavaScript/TypeScript, Go, and others). When to use:- Integrating Azure operations into application code
- Building platform-agnostic integration layers
- Scenarios requiring fine-grained REST calls or unsupported CLI/PowerShell operations
- Service principal credentials
- Managed identities (for Azure-hosted workloads)
- OAuth device-code or interactive flows (for development)
Choose the tool that best fits your workflow:
- Portal for one-off visual tasks and resource exploration
- Cloud Shell for quick, browser-based CLI sessions with persisted
clouddrive - Azure PowerShell for PowerShell-native automation and object pipelines
- Azure CLI for shell-script-friendly automation and CI/CD workflows
- REST APIs/SDKs for language-native programmatic control
Conclusion
Each Azure management tool has trade-offs and strengths:- Azure Portal: Visual exploration, guided actions, and immediate documentation.
- Azure Cloud Shell: Fast, authenticated CLI in the browser with persisted storage.
- Azure PowerShell: Object-based cmdlets and pipeline-friendly automation for PowerShell users.
- Azure CLI: Scriptable, container- and CI/CD-friendly commands.
- REST APIs / SDKs: Programmatic control for applications and advanced automation.
Links and references
- Azure Documentation: https://learn.microsoft.com/azure/
- Azure CLI Reference: https://learn.microsoft.com/cli/azure/
- Azure PowerShell (Az) docs: https://learn.microsoft.com/powershell/azure/
- Azure REST API reference: https://learn.microsoft.com/rest/api/azure/