Azure Automation + Slack + Service Manager

In this post I will demonstrate an example on how to use the popular team collaboration tool Slack together with Azure Automation to retrieve data from your on-premise SCSM environment. The data in this example are Incidents retrieved via an Azure Powershell runbook. The setup is very simple and does not require any development skills (only a little powershell ). The scope could easily be extended to more useful scenarious such as sending reviewal messages to your managers or perhaps a Change Advisory Board (CAB) to accept or decline Review Activities in their small team meeting room. This is just [...]

By |2016-09-21T16:37:43+01:00september 21st, 2016|Azure, Service Manager (SCSM)|1 Kommentar

Azure Function to enable Microsoft Graph API webhook subscriptions to Azure Automation webhooks

Azure Functions is a great new, cheap and easy way to publish simple web services. Functions can be written in multiple languages such as C#, PowerShell or even Batch! You can read more about them here: https://azure.microsoft.com/en-us/services/functions/ This Azure Function is based on PowerShell and I have used it in multiple session on conferences such as MMS 2016 (was in a C# version though) and System Center Universe Europe 2016 About the function: When using subscriptions in Microsoft Graph API, you have to Validate your webhook by returning a verification code which Graph API sends to the webhook. Unfortunately Azure [...]

By |2016-08-24T16:00:48+01:00august 24th, 2016|Azure|Kommentarer lukket til Azure Function to enable Microsoft Graph API webhook subscriptions to Azure Automation webhooks

Azure Automation / SCOM: Triggering a runbook as a Recovery task using Webhooks

  If you havent heard about it, the future of automation is here! In the form of  “Azure Automation”. also known as “OMS Automation” when it is part of the Operational Management Suite (OMS). This cloud service can control our automation, just as System center Orchestrator has done for years. It works in a very similar way, but has been extended to support more features, for instance it supports what is known as Webhooks. A webhook enables us to trigger a runbook using a standard HTTP call, making it easier to integrate from other tools (could for instance be used [...]

By |2016-02-10T15:41:56+01:00februar 10th, 2016|Azure, Operations Manager (SCOM)|1 Kommentar

Azure Automation: Setting “Run As” Account on Hybrid Worker Groups!

I just want to post a little new feature I found a couple of days ago as a small NYE treat! It is now possible to set a “global” Run As account on a hybrid worker group! This feature removes any difference between SMA and AA Hybrid Workers, meaning that you can transfer any runbooks directly! (Contact me if you need help) By Default the Hybrid Workers run as “LocalSystem”, while SMA runbook workers run as a specified service account. It is possible to change the service account for the Microsoft Monitoring Agent, but that is not best practice and [...]

By |2015-12-31T13:46:30+01:00december 31st, 2015|Azure|3 Comments

December 1st: Azure Automation: Triggering a webhook from a SharePoint workflow using Out-of-the-box Activities

Welcome to this year Coretech December Calendar! Today is the 1st of december and we have a great little christmas treat for you! This is the first post in a series of posts, published every day in December. Today's subject is Triggering Webhooks from SharePoint! One of the great new features in Azure Automation is Webhooks! Webhooks is everywhere! More and more cloud services support them. Basically it is a simple HTTP Post sent to a web service that starts the runbooks. We can then send a bunch of data with the post and have the runbook receive these dato. [...]

By |2015-12-01T12:00:00+01:00december 1st, 2015|Automation, Azure|7 Comments

Azure automation: Start-AutomationRunbook – New simple way to start runbook jobs from within a runbook!

Microsoft has just released a new cmdlet in the realm of Azure automation. Start-AutomationRunbook The cmdlet is designed to start runbook jobs in the same account as the current running runbook, without having to define any endpoints/credentials/etc. Syntax is: Start-AutomationRunbook [-Name] <string> [-Parameters <IDictionary>] [-RunOn <string>] [<CommonParameters>] How to start a runbook: Start-AutomationRunbook – Name "Test-JSONOutput" Start a runbook on a hybrid worker Start-AutomationRunbook – Name "Test-JSONOutput" –RunOn "Denmark" NB! The cmdlet can only be used inside runbooks Great little addition to the built in cmdlets in Azure automation!

By |2015-11-20T15:33:22+01:00november 20th, 2015|Automation, Azure|6 Comments

Videos from System Center Universe Europe 2015 Online! Watch my 3 session here!

  Azure Automation Introduction SCUE15 - Azure Automation Introduction from itnetX AG on Vimeo. Azure Automation Deep Dive SCUE15 - Azure Automation Deep Dive from itnetX AG on Vimeo. Get runbooks from the AA sessions here: https://blog.ctglobalservices.com/jgs/azure-automation-samples-from-sessions/ Service Management Automation - Automating System Center SCUE15 - Automating System Center from itnetX AG on Vimeo. Here another cool Azure Automation session from SCU: SCUE15 - Migrating from Orchestrator to Azure Automation from itnetX AG on Vimeo.   Thanks for a great time at SCUE 2015! .. hopefully see you next year!

By |2015-10-23T15:22:20+01:00oktober 23rd, 2015|Events|Kommentarer lukket til Videos from System Center Universe Europe 2015 Online! Watch my 3 session here!

Azure Automation: Script for downloading and preparing AzureRM modules for Azure Automation!

Update from MSFT: 2/22/2016: To respond to a common user question, right now there is no timeline on when additional modules / new versions of modules will be shipped out of box in the Automation service. If you have additional requirements besides what we currently ship globally, these modules / module versions will have to be imported as user modules. Please note the new guidance is that if the latest version of any Azure/AzureRM module is imported as a user module to an automation account, the latest versions of ALL Azure/AzureRM modules (not just the ones that ship out of [...]

By |2015-10-12T16:01:15+01:00oktober 12th, 2015|Azure|7 Comments

Azure Automation: New Features announced!

Today at the PowerShell summit in Stockholm,  Joe Levy and Anatoli Beliaev of Microsoft announced a bunch of new features that is publicly available in Azure Automation! Unfortunately I was not able to be there in person, but luckily multiple people tweeted about this stuff! (Thanks @vNiklas + @skillriver + more!! ) Some of the features is what I have demoed at multiple session within the last month. (SCU + User groups). Here is the list: Gallery Support Gallery has been expanded and has a nice button for it the gallery now also includes powershell scripts. PowerShell Script Runbooks Use [...]

By |2015-09-15T14:03:34+01:00september 15th, 2015|Azure, Scripting & Development|Kommentarer lukket til Azure Automation: New Features announced!

Azure Automation: Using Azure Scheduler to trigger a runbook via Runbook Webhooks

One of the great new features of Azure Automation is the Web hooks, which can be added to runbooks. A web hook is a way for an external system to trigger the runbook with specific input values. You can read more about how to trigger web hooks here: http://azure.microsoft.com/en-us/documentation/articles/automation-webhooks/   This article describes how easy it is to use the Azure Scheduler to actually trigger the runbook. There is already a scheduler built in, but there can be reasons that one would use Azure Scheduler instead   Azure Automation scheduler is not very advanced so far, it can only trigger [...]

By |2015-05-20T14:52:52+01:00maj 20th, 2015|Automation, Azure|Kommentarer lukket til Azure Automation: Using Azure Scheduler to trigger a runbook via Runbook Webhooks

Azure Automation: New features including graphical designer and Hybrid Workers goes live!

Today at Ignite, Microsoft announced the next version of the portal for Azure Automation. This portal is part of the new Azure Portal, and you can try it out right away!! It has some great features in the interface and It enables proper Hybrid Cloud Automation! Execute Azure Automation runbook on-premise and trigger them from on-prem solutions!   Can I get a Woohoo!?   In this article, I will explain each feature in details New Graphical Runbook Designer interface (similar to the classic Orchestrator runbook designer) Hybrid Worker Role!! Web Hooks New portal design with better overview over runbooks, Assets etc. [...]

By |2015-05-04T17:30:01+01:00maj 4th, 2015|Automation, Azure|Kommentarer lukket til Azure Automation: New features including graphical designer and Hybrid Workers goes live!