Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Login-AzureRmAccount and Connect-AzureRmAccount?

I tried to google this, but despite of many promising item in the search list, all of them are about ARM vs ASM or Add-AzureRmAccount vs Connect-AzureRmAccount.

Both are ARM commands, and both pops up the interactive login. Maybe I am missing the point, but I do found the difference

like image 738
g.pickardou Avatar asked Jan 24 '19 13:01

g.pickardou


People also ask

What is connect-AzureRmAccount?

The Connect-AzureRmAccount cmdlet connects to Azure with an authenticated account for use with Azure Resource Manager cmdlet requests. You can use this authenticated account only with Azure Resource Manager cmdlets.

How do I connect to Azure RM PowerShell?

To trust the PowerShell Gallery as a repository, type a and press Enter. After a few moments numerous AzureRM modules will download and install on your machine. Once complete, issue command Import-Module AzureRM. Now run command Connect-AzureRmAccount.


1 Answers

No difference, one is the alias of the other, as far as I remember. they attempt to migrate to a unified experience across powershell modules (like Azure AD, Office 365, etc).

like image 148
4c74356b41 Avatar answered Nov 29 '22 21:11

4c74356b41