Quick Post – Azure Services Overview

There is a saying “Can’t see the forest for the trees” this could also apply to Azure and its provided services. I haven’t seen a good overview of Azure and the offered services until today. While browsing the internet, I bumped into this site here http://azureplatform.azurewebsites.net/en-us/ . image

It is an interactive site which shows the single services in each category and provides links to more information like updates, pricing, SLA, documentation etc. image

I love this page and I highly recommend to explore and bookmarking it! It is even available in German :).

OMS – Error "Run Login-AzureRMAccount to Login" e.g. OMS Cmdlets

error-red-key-595x335

I wanted to play with the OMS cmdlets which are part of the AzureRM modules. The OMS / OperationsInsights module itself is called AzureRM.OperationsalInsights. A good place to start with OMS native PowerShell cmdlets is a blog post on the Building Clouds blog. So what is the exact issue? Well, I tried to query my workspace for installed solutions. First I logged in using the Login-AzureRmAccount  cmdlet which succeeded quite nicely..

image

…after I authenticated I ran a cmdlet to get the solutions from OMS…

image

..no matter which cmdlet I tried, I always received the error above.

After some time, I tried to update the modules, running Update-Module which ended in this error…

image

Next step, I tried to install the entire ARM modules by running Install-Module AzureRM –AllowClobber, which ended in a similar error…

image

Continue reading

MS Flow – Trigger Azure Automation Webhook

In one of my previous post I showed you how you could trigger a webhook to trigger an Azure Automation runbook using IFTTT (If This Than That) . Well, the great news are that Microsoft is investing a great deal of money into a similar technology called Microsoft Flow. For a short summary and differences to other task automation engines see this post here. In Microsoft Flow there is also a way to trigger a webhook similar to IFTTT, it works like this…

image

…in this template I used Twitter as a starting activity, but you can use any other. I used the Http activity and configured it like this Method => POST and Uri => copy and paste the webhook URI from your Azure Automation runbook. Within the body I used previous data from Twitter like who tweeted and tweet text. If you are new to webhooks, there is an excellent documentation here. 

The webhook data will look something like this…

image

As you can see it is very easy to trigger an Azure Automation runbook via MS Flow. The very cool thing of MS Flows is, it’s tight integration into the Microsoft products. Although MS Flow is in preview, there are quite some templates available for automating your daily (business) tasks. Have fun!