I am huge fan of PowerShell when gathering inventory report information. Before disabling few of my subscriptions in my Azure accounts, I wanted to gather Virtual Network inventory in the CSV file so It can be used later to see the information quickly to share in table format. Below is the screensho…
Blog posts : "microsoft azure"
Azure Terraform fixed Availibility Zones on Virtual Machine Scale Set
While working previously on Create an Azure virtual machine scale set and load balancer using Terraform, I was trying to deploy Virtual Machine scale sets in availibility zones and i was receiving below error. To deploy VMSS in availaibility zones (1 and 2), I was using argument zone = ["1", "2"]
Use a Azure VM system assigned managed identity to access Azure Key Vault
While working one of the Azure project, I had a requirement to implement System Assigned Managed Identity to access Azure key vault secret programatically on Azure virtual machine inside the code without azure login. In my earlier written articles, to retrieve secret password from Azure Key Vault I …
Create a Virtual machine on Microsoft Azure
Although I have written PART 9: CREATING AND MANAGING VIRTUAL MACHINE (VM) USING MICROSOFT AZURE RESOURCE MANAGER PORTAL but it is the old article now, afterwords there are many updates came while creating an Azure Virtual Machine. New Azure VM updates are still easier to understand and configure, T…
Create an Azure App registrations in Azure Active Directory using PowerShell & AzureCLI
This is step by step guide to configure App Registration on Azure Active Directory (AzureAD). This guide includes three ways to create App Registration using Azure Portal, PowerShell and AzureCLI.
Azure Portal
Within Azure AD portal you will find the App registrations pane that provide the …
Connect-AzureAD: One or more errors occurred. Could not load type 'System.Security.Cryptography.SHA256Cng'
While working on AzureAD (Azure Active Directory) with PowerShell module I was received below errors and my scripts where failing. I updated AzureAD module with Update-Module command to latest one but it was still throwing errors. After few testing I checked PowerShell version, it was latest Powe…
Use Key Vault secret identifier url to get the secret value using Powershell
While working on Azure Key Vault I had the requirment to extract the secret value from Azure key vault Secret Identifier ID.
Working With Azure Key Vault Using Azure PowerShell and AzureCLI
You can find Secret Identifier by going to Azure Key vaults, select key vault >> Secrets Name >> Curr…
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…
Create key vault and secrets with access policies in Microsoft Azure
Azure Key Vault is a cloud service used to manage keys, secrets, and certificates. Key Vault eliminates the need for developers to store security information in their code. It allows you to centralize the storage of your application secrets which greatly reduces the chances that secrets may be leake…
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 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
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 …
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.…
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…
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…
Blog Search
Page Views
12383645
Archive
- December 2024 (1)
- November 2024 (2)
- October 2024 (7)
- September 2024 (12)
- August 2024 (22)
- July 2024 (11)
- June 2024 (1)
- May 2024 (3)
- April 2024 (5)
- November 2023 (1)
Comments
-
DanDecember 22, 2024 10:49PM
-
ChriSDecember 1, 2024 05:27PM
-
GoranshOctober 19, 2024 10:32AM
-
NeoModJuly 30, 2024 11:14PM
-
RogerJuly 22, 2024 10:13PM