Tech Junkie Blog - Real World Tutorials, Happy Coding!: Get Azure Subscription Using Secure Certificate Method In Powershell

Tuesday, July 25, 2017

Get Azure Subscription Using Secure Certificate Method In Powershell

In this blog post we are going to get the Azure subscription in Powershell using the secure certificate method.

Follow the steps below to get the Azure subscription:

1.  Open Powershell as an Administrator
2. Type Get-AzurePublishSettingsFile once you type the command into the Powershell command line it will pop-up the Azure authentication prompt.  Authenticate into Azure and save the publish file settings into a place that you will remember.





























3. Now type into Powershell the command Import-AzurePublishSettingsFile "path of the publishsettingsfile"




4. Now you are connected to Azure from Powershell


3 comments:

Search This Blog