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 :).

Quick Post – Linux + PowerShell + DSC Blog Posts @ Hey, Scripting Guy! Blog

image

I would like to make you aware of a 3-part blog post series, which I have written for THE Microsoft Hey, Scripting Guy! Blog .  Because I really like these blog post series and of course the blog itself a lot , I want to share it with you.

The first part shows you, how to use Bash on Windows 10 and how you can connect to a Linux server to install OMI CIM server and the DSC for Linux packages. The second part installs .NET Core and PowerShell for Linux on the system using DSC for Linux. In addition, I show you how to connect via PowerShell and WSMan protocol from your Windows 10 to the OMI CIM server. The last post is applying a DSC configuration from Azure Automation DSC to Linux and executing a PowerShell script to send user data to Azure Log Analytics HTTP Data Collector API .

You can find the post here:

Part 1 – Install Bash on Windows 10, OMI CIM Server, and DSC for Linux

Part 2 – Install .NET Core and PowerShell on Linux Using DSC

Part 3 – Use Azure Automation DSC to Configure Linux and Executing PowerShell Script

 

I hope you like it as much as I do, have fun!

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!

Azure Automation – Twitter + IFTTT + Webhook = Start Runbook

image

I assume you know Twitter and you probably also know what a webhook is, right? No? Ok, a webhook is just a HTTP POST. In Azure Automation we are able to create a webhook for a runbook. This runbook will “consume” the webhook request  (URL) + post data and start the runbook. The cool thing is, that you are able to trigger a runbook in a secure way without the need of credentials and you are able to pass parameters within this request. Well, this is nothing special in todays world, but sometimes the combination of things make the magic.

Another technology, which has been around for a few years is IFTTT (If This Than That), this is a online service that let’s you choose a channel A (trigger) and if a certain condition happens it will trigger channel B (action). For example channel A could check the weather in Switzerland (because you are planning a trip to Switzerland) and if it will start raining you could trigger channel B to receive a warning by email. This combination of channels is called a “recipe”. You can choose from dozens of channels and combine them as you like. I highly recommend to check this service out, it is easy and fun.

In this post I want to show how to trigger a webhook / runbook, if someone is tweeting about SCOM.

Continue reading

Azure Automation – ISE Add-On Editing Runbooks

image

Well it has been a while since last post, because there is a lot going on in my private life as also in my job. But now some “tasks” are completed and I will have more time for community work again. Microsoft product machinery is running at high speed in all areas. One tool I really appreciate is the ISE add-On for Azure Automation. I have written quite a lot of runbooks in the past for SMA using regular ISE and Visual Studio but a tool for writing runbooks which integrates into the SMA environment is missing. This add-On integrates seamlessly into your ISE environment and lets you write runbooks for Azure Automation in different flavors like regular PowerShell scripts and PowerShell workflows and executes them using Azure Automation. As a target you are able to choose either Azure itself or a Hybrid Worker Group. Joe Levy (PM Azure Automation) has already written a post about this add-on. I would like to dive a bit more into this.

How does it look like?

As you can see it seamlessly integrates into ISE…

image

Continue reading