Menu

Virtual Geek

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

Blog posts : "azuread"

How to view the service principal of a managed identity in the Azure portal, Powershell and AzureCLI

After enabling/deploying managed identity (service principal) on VMs, one of my junior colleague questioned me, where is service principal of managed identity is stored. Basically Service Principal (MSI) is a user account (Service Account ) and it is created under Azure Active Directory, but after f…

Read more

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 …

Read more

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…

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

5 blog posts

Blog Search

Page Views

12278734

Follow me on Blogarama