How to save AzureRMAccount between sessions

Add-AzureRmAccount or Login-AzureRmAccount does not seem to persist between sessions as Add-AzureAccount .

Is there any way to keep it?

+6
source share
2 answers

After adding an account to your session (either Add-AzureRmAccount or Login-AzureRmAccount ,) use

 Save-AzureRmProfile -Path <path-to-file> 

to save current credentials and

 Select-AzureRmProfile -Path <path-to-file> 

to download them.

Thanks Mark Cowlishaw

+7
source

Not yet, not the way you are used to ... This is a known problem, but I could not find it on the list. Feel free to add it to:

https://github.com/Azure/azure-powershell/issues

0
source

All Articles