Wednesday Tidbit: Using a connection file with Microsoft Azure

20151204 - 1Continuously entering connection details to cloud systems can quickly become boring. However, if you’re connecting to Azure and from a secure system, then there is an easier way.

Download and install Azure PowerShell from

Use the following PowerShell command to sign in to Azure:


A web browser will open and ask you to authenticate. One you have it will download a settings file.

Save the settings file to your computer, and use the following command to import the file (substitute accordingly):

Import-AzurePublishSettingsFile mySettings.publishsettings

That should show something like:

20151209 - 1

Finally, verify you have successfully connected by viewing your Azure subscription:


One thought on “Wednesday Tidbit: Using a connection file with Microsoft Azure

  1. Pingback: Wednesday Tidbit: Administering your Microsoft Azure account in Docker | virtualhobbit

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.