New-azroleassignment : ‘principalid’ cannot be null.

New-azroleassignment : 'principalid' cannot be null.

Recently, I was working with the New-AzRoleAssignment PowerShell command, After executing this command, I got this error New-azroleassignment : ‘principalid’ cannot be null. New-azroleassignment : ‘principalid’ cannot be null. For one of the requirements, I have executed the PowerShell script below. Immediately after executing the above script, I got this error, as shown in the … Read more >>

New-AzRoleAssignment

New-AzRoleAssignment

In this Azure PowerShell article, we will discuss the syntax and usage of the New-AzRoleAssignment Azure PowerShell cmdlet with examples. New-AzRoleAssignment New-AzRoleAssignment is a very good PowerShell command that you can use to assign an RBAC role to a specific principal for a specified scope. Let’s discuss the Syntax of the New-AzRoleAssignment Azure PowerShell cmdlet. … Read more >>

Microsoft 365 vs Azure

What Is the Difference Between Azure and Office 365?

Businesses have to make informed decisions to achieve their organizational goals. They must choose the right platform with appropriate features and the latest security protocols. Businesses often debate which platform is the best. They are often confused about the difference between Microsoft  Azure and Microsoft 365. Therefore, we have explored both platforms in this article … Read more >>

How To Get Subscription ID In Azure PowerShell

How To Get Subscription ID In Azure PowerShell

This article will walk you through all the possible approaches to get subscription id in Azure using PowerShell. How to get subscription ID in Azure PowerShell Let us discuss all the approaches individually. Approach-1: Using Get-AzContext To get subscription ID in Azure PowerShell, we can use the Get-AzContext PowerShell command for this purpose. Use the … Read more >>

Get-AzStorageAccount

Get-AzStorageAccount

This article will discuss how to get lists of storage accounts using the Get-AzStorageAccount PowerShell command and the syntax of the Get-AzStorageAccount PowerShell command with examples. Get-AzStorageAccount Get-AzStorageAccount is an excellent cmdlet that can help you retrieve the storage accounts under a specific Resource Group or a specified subscription. Syntax of Get-AzStorageAccount: Below is the … Read more >>

How To Check VM Creation Date In Azure

How To Check VM Creation Date In Azure

Recently, My client asked me about the date of creation of one of my Azure Virtual Machines. In this article, I will walk you through all the approaches to check VM creation date in Azure. How To Check VM Creation Date In Azure Let us discuss all the approaches individually. Approach-1: Using Azure Portal To … Read more >>

How To Increase Ram Size In Azure VM

How To Increase Ram Size In Azure VM

Recently, I got the requirement to increase the RAM size of my Azure Virtual Machine. This article will walk you through all the steps to increase RAM size in Azure VM. How To Increase RAM Size In Azure VM To increase RAM size in Azure VM, follow the below steps. 1. Log in to the … Read more >>

az vm resize

az vm resize

This article will walk you through the syntax and usage of the az vm resize command with certain examples of how to use this command. az vm resize This command helps you to update the size of an Azure Virtual machine. Syntax Example-1 The below command will resize the AzurelessonsNewVM to Standard_DS3_v2. Before executing this … Read more >>

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!