Menu

Virtual Geek

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

Blog posts : "azure"

Working With Azure Key Vault Using Azure PowerShell and AzureCLI

This is second part of Create key vault and secrets with access policies in Microsoft Azure, In the this article I will use Powershell and Azure CLI to create and configure Azure Key Vault resource service. Azure Key Vault is a cloud service that provides a secure store for secrets. You can secure…

Read more

Creating a new user in Azure AD using oneliner PowerShell and Azure CLI

I was testing few Labs on Microsoft Azure active directory and wanted to create few Azure AD users for testing purpose. I have already installed az powershell module, In the below script when you supply password it has to be in securestring format. 

How to switch to other Azure AD tenant using…

Read more

How to switch to other Azure AD tenant using PowerShell and Azure CLI

This is small guide shows how you can switch or change Azure Active Directory tenant using Powershell and Azure CLI. Before The first step I will show from portal how to switch or change to another domain in Azure active directory. Once you login into portal.azure.com either go into menu and select

Read more

Microsoft Azure Rest API using PowerShell Part 2

While working on Microsoft Azure Rest API using PowerShell script, there is prerequisite to create a service principal (App Registration) first and use its client id and secrets in headers to generate bearer token key. But I was looking to use my existing username and password as credentials. For …

Read more

Microsoft Azure Rest API using PowerShell

Using Microsoft Azure REST API is great way to automate Azure Resources and operations. Some times I have found PowerShell Az module is not present on remote servers and I need to automate azure things, Rest API is very handy at the time when features which are not available on PowerShell module AZ.…

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

Create and manage Azure budgets

Whenever I assign permissions on new Azure Subscription to new colleage groups I always create either new Azure budget or manage existing budget alert group to receive necessory subscription cost spending communications. After creating or managing budget I can ensure users are informed of the subscr…

Read more

Add and manage TLS SSL certificates on Azure Web App

Uploading to Azure Web Apps Using FTP

Web apps works as very good hosting plan, you can host your website apps on line with Azure very easily. This is 3rd article in the series how to upload files to web app. Once Azure Web Apps is configured, next step is to upload custom web application built with php + html codes on it. Go to the Res…

Read more

Azure azcopy login error Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application '579a7132-0e58-4d80-b1e1-7a1e2d337859'

While working with new version 10 of azcopy.exe I was facing error while login. After logging in the browser it was not accepting my username and password to login to Azure.What it says is I am not able to login to '579a7132-0e58-4d80-b1e1-7a1e2d337859', and my user account doesn't exist for login.…

Read more

AzCopy copy transfer fails with 403 This request is not authorized to perform this operation using this permission

Azcopy is a great command-line tool for automating Azure storage, it is a simple yet powerful command line interface that allows you to copy files to and from Azure storage and between Azure storage accounts. I was doing POC of the latest version of azcopy.exe, (There 2 different flavors available f…

Read more

Configure a custom domain in Azure Web Apps

Create and deploy a website with Microsoft Azure web app service plan

I was testing Microsoft Azure web app resource service for one of a incoming project, it allows you to publish and manage your website easily without having to work with the the underlying servers, storage, or network assets, basically it is a PAAS (Platform as a service), it is helps you to focus o…

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

Powershell Azure Inventory GUI Utility

“YOU DON’T HAVE TO BE BIG. YOU HAVE TO BE REMARKABLE.”

JOE PULIZZI

Here I have developed a script using Microsoft Powershell which I was working since last couple of days in my lunch breaks. Just to show my work below is the video, it shows how GUI tool looks like and work, Still there a…

Read more

Azure automation account DSC for On-Premise Virtual Machine on boarding

In my earlier series on on-prem Powershell DSC server I shown how to configure DSC (Desired State configuration) server and its client on windows & linux. Enabling WinRm is one of the main prerequisite for all DSC operations. If I see DSC's future, Microsoft is more and more focusing on Azure DSC …

Read more

Passed Architecting Microsoft Azure Solutions 70-535 Exam and Preparation guide

I passed Architecting Microsoft Azure Solutions 70-535 Exam recently. Earlier 70-534 Architecting Microsoft Azure Solutions exam was no longer exist and it was been withdrawn by Microsoft. In my first attempt I had failed exam, and understood my weaker areas and where I need to work upon. Below is t…

Read more

Create your Microsoft Azure 12 Months Free Account

When you create or register a new account on Microsoft azure (https://azure.microsoft.com/en-in/free/),  you will get $200 credit (Around 13,300 INR) for use to be Within 30 days of period. You can use this credit limit to use and test any Azure service and product for free completely. After 30 d…

Read more

MICROSOFT AZURE POWERSHELL: CLONING (COPING) OR IMPORTING EXISTING NSG (NETWORK SECURITY GROUP) FROM EXCEL

MICROSOFT AZURE POWERSHELL: CREATING NEW NSG (NETWORK SECURITY GROUP)

This post is based on article CREATE NEW NSG (NETWORK SECURITY GROUP - VIRTUAL FIREWALL ACL) ON MICROSOFT AZURE. Although it is same, but in this I will be showing how to do the same task using PowerShell. Below command creates new NSG with no custom Security Rules. 3 parameters are required -Name,…

Read more

20 Blog Posts

Blog Search

Page Views

4910468

Follow me on Blogarama