19 Oct’15

Azure and Office 365Azure Console Login & Logout using Azure PowerShell

User can Add Account on Azure to check or get its Subscription details as well as Remove Account. Let’s see the steps to add account and get subscription details also allows user to select a particular subscription as per requirement.

Step 1: Run Microsoft Azure PowerShell as Administration.

1

 

Step 2: Add your Microsoft Azure Account

To Login to your account write a command Add-AzureAccount. And then popup comes for asking the username.

Note: Login through your Live ID

2
 

Step 3: Enter Credentials

Once the Step 2 is done, it will ask for user’s Credentials. Enter the Username and Password and press Enter.

3
 

Once the details are entered, all the subscriptions with their ID and tenants related to that particular user will be listed as shown in the figure below.

4
 

Step 4: Get Subscription Details

If the user wants to see the entire details for related Subscriptions present in that particular account, type command –GetAzureSubscription. This command lists downs every Subscription with its corresponding details like Subscription Id, Subscription Name, Account, Storage Account etc. as shown in figure below.

5
 

Step 5: Select Particular Subscription

If user wants to select particular Subscription, type command Select-AzureSubscription (Subscription Name) and then type command Get-AzureSubscription –Current, this command will give the current Subscription details which was selected.

6
 

Step 6: Remove Microsoft Azure Account

Now if User wants to Logout, then type command –RemoveAzureAccount , once that is done PowerShell asks for ID and confirmation for the same.

7
 

Conclusion:

Thus User can login and logout successfully with help of Microsoft Azure PowerShell also can set and get its Subscription Details for that particular Account.

 

Written by

Team Member

CloudFronts

2 thoughts on “Azure Console Login & Logout using Azure PowerShell”

Leave a Reply

Your email address will not be published. Required fields are marked *

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Import Time Entries in PSA from your Bookings in D365 PSA v3

    25 April’ 2019

    Often, one of the real-life scenarios is making time entries by either remembering what you did the whole week or lookin...

    Read more
  • Managing with Multiple Legal Entity Data in Microsoft Dynamics NAV / Business Central

    25 April’ 2019

    Problem Statement: Well, my client is a Trader of Oils & Fatty Acids and has multiple legal entities to perform vari...

    Read more
  • Facing issues with Microsoft Outlook? Use Microsoft Support & Recovery Assistant

    22 April’ 2019

    Many times you find issues like one of your users are unable to set up their Office 365 Email account in Microsoft Outlo...

    Read more
  • How to insert data into reports in Business Central using a variable in Request Page

    16 April’ 2019

    Introduction: Here, I will demonstrate how a user can add data into reports by themselves from the Request Page in Busin...

    Read more
  • Non-Billable classification of task work around in PSA V3

    15 April’ 2019

    Problem Definition: As soon I upgraded my PSA version from V2 to V3, I saw that the role field got deprecated. Not only ...

    Read more
  • We respect your privacy.
  • This field is for validation purposes and should be left unchanged.