Using the Microsoft Azure Mobile app for remote administration


By:   |   Updated: 2018-12-10   |   Comments (2)   |   Related: More > Azure

Problem

We have some resources on Azure that are quite critical and it would be great if we can check the resource status for any issues when we are on the move. Is there anyway by which we can stay connected to the Azure resources using a mobile application?

Solution

Microsoft launched a mobile app last year (May 2017) which can be downloaded for iOS or Android phones. It is not yet available to download on Microsoft Windows phone at this time. Microsoft's motto is to "Stay connected to Azure Resources – Anytime, Anywhere". In this tip, we will download the app on an Android phone and review the use of this app.

Download the mobile app

On your phone, go to this link to download the app.

azure mobile app

In my case as I have an Android phone, I clicked on the "Google Play" option to download. Click the option to "Install".

install azure mobile app

The install is straightforward and you are required to enter your login credentials as shown.

connect to azure mobile app

Sign in using your Azure account and password, once done it will take you to this screen where you can view all your resources. As you can see, you are able to view all the resources just using your mobile phone which is quite handy.

resources view on azure mobile app

Adding a resource as a "Favorite"

From the screenshot above, you would have noticed a number of resources that are visible on your Azure phone app. However, not all of them may be important or of business-critical nature. If you are interested in only monitoring few resources that are important to you, you could do that too. For example, if you are interested in only monitoring the "SQL2019" virtual machine, click on the virtual machine and click on the * icon as shown below.

favorites on azure mobile app

Once done, this resource will appear as a favorite in the "Favorites" tab. Out of all the resources that are visible on the mobile app, you can quickly view only your resource which you tagged as a favorite in the Favorites tab.

favorites on azure mobile app

With this option, you can eliminate the noise and just focus on the resources you are interested to check especially when you are on the move.

Perform standard operations on your resource

As shown from the screenshot, you can see that we have tagged a VM – "SQL2019" as a favorite. Now, let's start the virtual machine and connect to it from my mobile app.

resource usage on azure mobile app

Once you start, click on "Connect" to connect to the Virtual machine. You can see that the status of the virtual machine changes to "Running" as shown below.

resource usage on azure mobile app

Install Microsoft Remote Desktop and connect to your VM

In order to connect to the Azure Virtual machine remotely from your phone, you need to install the "Microsoft Remote Desktop" app on your phone as shown.

microsoft remote desktop from azure mobile app

You can then manually enter the details of your Azure VM before connecting to it. Click on the + icon as shown to enter the details.

microsoft remote desktop from azure mobile app

Here, you can provide the IP of your VM and login details and register the VM details.

microsoft remote desktop from azure mobile app

Once done, click on the Save option and the VM details gets saved as shown. You can double click on the icon to connect to your VM.

microsoft remote desktop from azure mobile app

Once you double click on the Remote desktop icon that you saved with your VM details, you will be able to connect to your Virtual machine using your mobile. Here's a screenshot from my mobile phone.

microsoft remote desktop from azure mobile app

Using the Azure app, you can connect to your Virtual machine using your mobile.

Monitoring metrics of your Azure resources

Another great use of the Azure app is to monitor the usage metrics. For example, in order to view the metrics of the SQL2019 Azure VM, you can click on the metrics as shown below.

azure resources

Click on the "More" option to view additional metrics as shown.

azure resources

With this, you saw another example of the use of the Azure mobile app where you can view the metrics of your important resources without having to login to your laptop or office workstation.

Checking for Notifications

Another use of the Azure mobile app is to check for notifications.

azure notifications

With this, you can stay up to date with any Azure service health issues that may be affecting your resources. You can also view the latest updates on the resolution of the issues. At the time of writing this tip, there were no service health issues reported.

Cloud Shell

In the last tab, we will review the cloud shell feature. With the Cloud shell, you will see cloud integration for your scripting. Once you click on Cloud shell, you will see this option to "create storage".

cloud shell

When you click on the "Create storage" option, you will see confirmation of the cloud drive getting created. This is where all of your scripts will be stored.

cloud shell

You will see the default is Bash. But we can change the cloud shell option to PowerShell by clicking on the drop down arrow to the top left as shown. Once done, it will ask for confirmation to restart cloud shell with PowerShell.

cloud shell

Click on "Restart" and you will be able to launch the Azure PowerShell prompt as shown.

cloud shell

On the command prompt, you may try some options. Like for example, in this tip, we had connected to a VM called "SQL2019". You may issue a command on the Azure PowerShell prompt to stop the VM. I was unable to get a screenshot of my mobile screen as it contained personal information, so you may use this PowerShell command to stop the VM.

PS Azure:\> Stop-AzureRmVM -ResourceGroupName "Enter your Resoure Group" -Name "Your VM Name"

Once I ran this command on the Azure PowerShell from my mobile phone, it prompted me to input a value of "Y" and then the VM was shut down in a few minutes.

Provide your feedback of this mobile app to Microsoft

I found this app to be quite useful as it had some cool features incorporated in it and we could stay connected to the Azure cloud resources wherever possible as long as there is sufficient internet coverage. This is especially useful if you are providing on call support for any of your Azure based applications and it helps you to stay connected on the go. However, there may be some additional features that you would like to be included in this app. In that case, you have the option to provide your feedback to Microsoft in this link.

Next Steps
  • In this tip, you learned about using the Azure mobile app which is available to download for iOS and Android
  • In this tip, you learned about the various uses of the Azure mobile app
  • Download the Azure app for your mobile from this link
  • Download the Microsoft Remote Desktop app to connect to Azure Virtual machines remotely
  • Try out the different features described in this tip and explore the options
  • If you feel the app needs improvement, provide feedback on this link
  • Refer to the different Azure articles available on MSSQLTips


Last Updated: 2018-12-10


get scripts

next tip button



About the author
MSSQLTips author Mohammed Moinudheen Mohammed Moinudheen is a SQL Server DBA with over 6 years experience managing production databases for a few Fortune 500 companies.

View all my tips
Related Resources




Post a comment or let the author know this tip helped.

All comments are reviewed, so stay on subject or we may delete your comment. Note: your email address is not published. Required fields are marked with an asterisk (*).

*Name
*Email
Email me updates

Signup for our newsletter

I agree by submitting my data to receive communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.





Monday, December 10, 2018 - 4:58:02 PM - Mohammed Back To Top

Thank you Sri :-) 


Monday, December 10, 2018 - 1:15:47 PM - Srinath Back To Top

Wow. That's an interesting App. I will definitely check this out on my iOS.

On other note, You may want to update your years of experience and technology forte in "About the author" section, Moinu sir :)



download

























get free sql tips

I agree by submitting my data to receive communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.



Learn more about SQL Server tools