Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "az"

Deploy CPU quota usage alerts for subscription using Terraform azapi provider

This is another way of deploying resources/services on Azure using azapi provider using HashiCorp Terraform.

AzAPI is a lightweight, flexible provider that leverages the Azure ARM REST APIs, empowering you to manage any Azure resource type with any desired API version. This enables access to the…

Read more

Find and use Azure Marketplace VM images with Azure Az CLI

There is another way to Find and use Azure Marketplace VM images with Azure PowerShell. You can do the same task to fetch Azure VM information using is az cli. There are two common images UbuntuServer and MicrosoftWindowsServer. Here I will work with Ubuntu images to get information from az cli co…

Read more

Azure PowerShell Get-AzStorageShare Could not get the storage context

While working with Azure Storage Account Shares report, while running below Azure az PowerShell command to get shares list, it was throwing error.

Get-AzStorageShare -Name testbackup
Get-AzStorageShare: could not get the storage context. Please pass in a storage context or set the current stor…

Read more

Connect-AzAccount The 'Connect-AzAccount' command was found in the module 'Az.Accounts', but the module could not be loaded

While connecting to Azure using powershell with Connect-AzAccount cmdlet I was receiving below error. As troubleshooting steps I tried to update/install Az module from online Microsoft PowerShell repository with -Force and -AllowClobber parameters, tried to Import Module Az, Az.Accounts on PowerShe…

Read more

Powershell Azure Az module Install-Package cannot convert value 2.0.0-preview to type system.version

While installing/upgrading Azure PowerShell az module I faced below error. I was using Powershell Desktop Version 5.1 and it by default comes with Windows 10 OS. I cannot install PowerShell Core (another application) due to restrictions. So thought of using whatever I have on my received laptop.

Read more

5 blog posts

Blog Search

Page Views

12278684

Follow me on Blogarama