Automation in a hybrid world Jakob Gottlieb Svendsen @JakobGSvendsen Global Lead Dev – Coretech Global
Agenda What is OMS & Azure Automation? Webhooks & Hybrid Worker Scenario: New O365 User OMS Alerts Scenario: OMS Alerts - Locked Account SMS Scenario: New ServiceNow Incident Graph API – Moved to next session
What is OMS? Vlad
OMS/Azure Automation
Textual Runbook Authoring 9/12/2019 3:27 AM Textual Runbook Authoring Distinct programming model PowerShell Workflow or Scripts Can use existing PowerShell scripts Familiar to PowerShell users © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Resources + Assets Resources Assets Runbooks Jobs Modules Schedules Certificates Variables Credentials Connections Modules and Schedules are also Assets. OK :D
Webhooks DevOps DevOps Webhooks Runbooks Assets Other clouds Orchestrator
Hybrid Worker (OMS Agent) Hybrid Worker (OMS Agent) Hybrid Workers Runbooks Assets Webhooks DevOps DevOps Other clouds On-Premises Data Center On-Premises DMZ Hybrid Worker (OMS Agent) Domain Controller Other Data Center(s) Other clouds Hybrid Worker (OMS Agent) Orchestrator Orchestrator
All features available Better than webhooks AzureRM REST API All features available Better than webhooks https://docs.microsoft.com/en-us/rest/api/automation/
New O365 User via SharePoint OMS Automation Form Submitted New List Item Webhook Starts Flow End Users Hybrid Worker(s) AD Connect Server Domain Controller(s) Receive Input Create User Start Sync to O365 Jakob After this demo, Update SharePoint Log Analytics Orchestrator
New O365 User via SharePoint Demo New O365 User via SharePoint
A saved search and a condition OMS Alerts A saved search and a condition Trigger Action: Send Email Call Webhook Start runbook (automatic webhook setup)
Hybrid Worker (OMS Agent) Locked Account SMS OMS Automation Log Analytics Get Phone # Send SMS Webhook Webhook Unlock User End Users On-Premise Data Center Domain Controller(s) Hybrid Worker (OMS Agent) Log Analytics Orchestrator
OMS Alerts & Hybrid Workers Demo OMS Alerts & Hybrid Workers
WebHooks SharePoint (Online or on-prem) ServiceNow / Other ITSM Github / VSTS / TFS Twilio Zapier PowerShell/Any Script/code SCOM Recovery Action Linux/BSD (curl, wget etc.) And much more!
New ServiceNow Incident OMS Automation Webhook Create Incident Business Rule REST Message End Users Log Analytics Orchestrator
Summary Use Webhooks instead of polling! Use REST API if possible Hybrid Workers rock!
Next Steps... Now: 15 min break Grab a coffee Stay here to enjoy next presentation Change track and switch to another room Ask me questions or meet me in a breakout session room afterwards
Questions?
About_Author Jakob Gottlieb Svendsen @JakobGSvendsen Global Lead Dev at Coretech Global www.coretech.global Blog: http://blog.coretech.dk/jgs/ Cloud & Data Center MVP