Run Azure commands on Debian

The Azure command-line interface (CLI) is Microsoft’s cross-platform command-line experience for managing Azure resources. The Azure CLI is designed to be easy to learn and get started with, but powerful enough to be a great tool for building custom automation to use Azure resources.

su -
apt-get install -y azure-cli
az
az login

The Az PowerShell module is a set of cmdlets for managing Azure resources directly from PowerShell.

su -
pwsh
Install-Module Az -AllowClobber |[or]| Update-Module -Name Az
[Ctrl + D]
[Ctrl + D]
pwsh
Get-Module -ListAvailable
Get-Command -Module Az* | more
Connect-AzAccount

Links
https://docs.microsoft.com/en-us/cli/azure/
https://docs.microsoft.com/en-us/powershell/azure/