Organize, start, stop, schedule (and snooze) Azure VM’s and stay within your Azure MSDN benefit boundary.

I can’t use my MSDN Azure benefit anymore, because I forgot to switch off a Virtual Machine.

image image

It happens too often.

Although it is easy to schedule a virtual Machine via the Azure portal (see: Script Center and azure automation ), users still forget to configure it or don’t take the time or simply don’t know how to do it.

To make it easier to organize, start, stop, schedule (and snooze) Azure VM’s and stay within your MSDN Azure benefit we a light version of the O365 App ‘OneShare’.


Development and Test on Azure with OneShare.

OneShare is a solution and service build by Sogeti for Development and Test teams who are using Azure for their environment needs (Cloud usage flavors for Development and Test teams.).


OneShare provides insight, control and self servicing on top of Azure within Office 365 and with Visual Studio Online.

Every project within OneShare gets a Visual Studio Online account, an Azure Subscription and a Office 365 portal.

The OneShare Solution connects these three together, which gives the team a consistent view and entry point on all the resources a team needs to be Fast and Flexible.


Azure and Office 365 MSDN benefit for Development and Test on Azure.

OneShare for Azure MSDN benefit is a light version of the OneShare Enterprise edition which is connected to an Azure Enterprise Enrolment (and has many more features see this video). For now it contains the start, stop, schedule features (more will be added every sprint).

How To setup.

Activate your Azure and Office 365 MSDN Benefits.


Download the OneShare App.
When your Office 365 developer tenant is created get the OneShare App, download it from here (later I’ll publish it to the Office 365 Store, which gives an easier model for distributing).

OneShare App : 

In the MSDN Office 365 tenant you get a developer site by default, you can upload the OneShare App in this site or create an AppCatalog site and upload it there. The difference is that from the developer site you only can use it there, via the AppCatalog you can put it on any site you have in your tenant.


When you have uploaded, deployed and trusted the OneShare App to a site, you can add the VM State AppPart to the site. Go to ‘edit’ (upper right corner of the site) and select, Insert, AppPart, Azure Virtual Machine.


Save the page (upper right corner) and configure the OneShare App for your Azure Subscription. Click on the ‘Azure Virtual Machine’ header of the AppPart. This brings you to the configuration section.


Select Project Settings and download the certificate. This certificate needs to be uploaded to the Management Certificate Store of you Azure Subscription.

When you want to be updated on OneShare state fill the Mail Contact.


NOTE: using Azure Management Certificates is not the most ideal way of authentication against an Azure Subscription. The OneShare Enterprise version authenticates against Azure Active Directory which gives a more fine grained control. When you remove the certificate from the store, OneShare can’t access the subscription anymore, this is the way to opt out. 


Save the project settings, will bring you to the VM Properties screen. In this screen you can edit the properties of the VM’s.

Push ‘Refresh’ when you want to collect existing VM’s from your Azure subscription.


Per VM properties can be set for category, estimate, start, stop and notification.

The NoStartStop Schedule option is useful when you want to give other people access to the SharePoint site where the OneShare app runs on. When you add a OneShareAdmin group to the site and make yourself member. you can switch of the capability for other users to start and stop a Azure VM.



On the AppPart the settings are visualized as.


The VM Status History page shows the usages history of the VM in a graphical overview. A easy way to figure out how the VM’s are used in your subscription.


Have fun with it. while the OneShare Enterprise version has support this version is As-Is no support, no guarantees are provided and without warranties of any kind.

But, I’m happy to answer all questions.
You also can use UserVoice

For the whole setup, also the one via an AppCatalog see this YouTube video. (without sound, some construction going on around the house, too much noise ;-)

Comments (2) -

I think  you have mentioned  some very interesting  details ,  thankyou  for the post.

Nelson Lickteig 4/11/2019 8:24:37 AM

I really appreciate this post. I've been looking everywhere for this! Thank goodness I found it on Bing. You've made my day! Thx again!

Pingbacks and trackbacks (1)+

Add comment

Şarkı Sozleri