<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Solvion on Thomy Gölles</title><link>https://thomygoelles.com/tags/solvion/</link><description>Recent content in Solvion on Thomy Gölles</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 03 Nov 2017 17:54:49 +0000</lastBuildDate><atom:link href="https://thomygoelles.com/tags/solvion/index.xml" rel="self" type="application/rss+xml"/><item><title>Microsoft Teams Automation - Create Team from Webhook</title><link>https://thomygoelles.com/microsoft-teams-automation-create-team-from-webhook/</link><pubDate>Fri, 03 Nov 2017 17:54:49 +0000</pubDate><guid>https://thomygoelles.com/microsoft-teams-automation-create-team-from-webhook/</guid><description>&lt;p&gt;Today Microsoft released the Microsoft Teams Powershell Cmdlets module (&lt;a href="https://www.powershellgallery.com/packages/MicrosoftTeams/0.9.0" target="_blank" rel="noopener"&gt;https://www.powershellgallery.com/packages/MicrosoftTeams/0.9.0&lt;/a&gt;). This allows you to use PowerShell as the first basic API for Teams. Bill Bliss (@bill_bliss) from the Teams Team (still awkward wording) told us this week on Monday in a session at Microsoft Vienna that they will push the PowerShell Cmdlets in the coming weeks and the Graph API will follow. To be honest didn&amp;rsquo;t believe that they would be that fast in releasing the bits but I&amp;rsquo;m more than happy now. To take this a little further I created an Azure Automation Runbook for the CreateTeams Cmdlet in my Azure Tenant. The Runbook itself can be triggered by a webhook. With that in hand, you basically can create a bot or a Teams app to create or update your Teams based on the cmdlets Microsoft released.   The Runbook I created uses the basic steps for reading input from the webhook based on this blog post: &lt;a href="https://blogs.technet.microsoft.com/stefan_stranger/2017/03/18/azure-automation-runbook-webhook-lesson-learned/" target="_blank" rel="noopener"&gt;https://blogs.technet.microsoft.com/stefan_stranger/2017/03/18/azure-automation-runbook-webhook-lesson-learned/&lt;/a&gt;```
[CmdletBinding()]
Param
([object]$WebhookData) #this parameter name needs to be called WebHookData otherwise the webhook does not work as expected.
$VerbosePreference = &amp;lsquo;continue&amp;rsquo;&lt;/p&gt;</description></item></channel></rss>