UC Now

by Jeff Brown Tech

Microsoft continues to add new voice features to Microsoft Teams to make a case for migrating off your legacy PBX. Recently, Microsoft added an announcement feature to Microsoft Teams auto attendants. The announcement option avoids creating multiple auto attendants to accomplish the same functionality. In this post, I’ll go over the old way to play […]
The post Microsoft Teams – Auto Attendants New Announcement Feature appeared first on Jeff Brown Tech.

Posted in Skype for Business

by Author

Additions : 7Updates : 38 New Features Current Status Forms: Split sending and sharing entry point In Development Microsoft Forms: Correct Answer choice feature added to Microsoft Forms Poll in Teams Meetings In Development Microsoft Teams: AI based historical poll suggestion for Teams meeting In Development Microsoft Teams: AI based option suggestion for Teams meeting … Continue reading Whats new in the microsoft 365 Roadmap today? 24th February 2021 →

Posted in Skype for Business

by Author

Additions : 0Updates : 2

Updated FeaturesCurrent StatusUpdate TypeMicrosoft Defender for Office 365: Blocking URLs and Files with Tenant Allow/Block ListRolling OutStatusExchange: Online – Tag for external email messages receivedIn De…

Posted in Skype for Business

by Tom

This was announced last week but I’ve only just got around to writing about it. I wasn’t going to write anything at all, but the more I thought about it the more I realised I had some mixed views about this. It’s now possible to “pop-out” Teams applications into their own window, which can then […]

Posted in Skype for Business

by M365 Now News Feed

In this post i want to show the configuration steps of configuring tag based routing.
You can use Dial Plan tags for determining the destination (IP Group) of an IP-to-IP Routing rule. One of the advantages of using Dial Plan tags is that it c…

Posted in Skype for Business

by Luise

<div><h1>
<a href="https://m365princess.com/#how-to-create-a-custom-connector-in-power-automate" aria-hidden="true"><span aria-hidden="true"></span></a>How to create a custom connector in Power Automate</h1>
<p>Power Automate is a super cool tool, which gives us a lot of options. But sometimes, the built-in connectors, are not enough. In one of previous posts, I showed you <a href="https://m365princess.com/how-to-get-started-with-http-requests-in-power-automate/" rel="nofollow">how to send HTTP requests to Microsoft Graph API</a>. This time, I will show you how to connect to APIs outside of Microsoft 365 in Power Automate and even use an IOT button to trigger your flow.</p>
<h2>
<a href="https://m365princess.com/#use-case" aria-hidden="true"><span aria-hidden="true"></span></a>Use case</h2>
<p>To make things more approachable, here is a little use case for you:</p>
<blockquote>
<p>I want to click an IOT button and this shall trigger a flow which tweets about the music I currently listen to on Spotify.</p>
</blockquote>
<p>The result will look like this:</p>
<p><a href="https://github.com/LuiseFreese/blog/blob/main/media/how-to-use-custom-connectors-in-powerautomate/tweet.png" target="_blank" rel="noopener noreferrer"><img src="https://github.com/LuiseFreese/blog/raw/main/media/how-to-use-custom-connectors-in-powerautomate/tweet.png" alt="tweet about spotify"></a></p>
<h2>
<a href="https://m365princess.com/#what-we-need" aria-hidden="true"><span aria-hidden="true"></span></a>What we need</h2>
<p>To achieve this, we will need a couple of things:</p>
<ol><li>an IOT button – I use a Flic Smart button for that- that triggers my flow</li>
<li>a flow that connects to our Spotify and to twitter</li>
</ol><p>So lets have a look at</p>
<h3>
<a href="https://m365princess.com/#iot-button" aria-hidden="true"><span aria-hidden="true"></span></a>IOT button</h3>
<p>I use a <a href="https://flic.io/" rel="nofollow">Flic IOT button</a> to trigger my flow. This button works with bluetooth, which means that we will need a bluetooth enabled device to work with this button- either a smartphone or an IOT Hub.</p>
<h4>
<a href="https://m365princess.com/#set-up-your-iot-button" aria-hidden="true"><span aria-hidden="true"></span></a>Set up your IOT button</h4>
<ul><li>download the app from your app store</li>
<li>install the app</li>
<li>register a new account</li>
<li>connect your folic button by pressing it for ~10 seconds</li>
</ul><p>If you like to, rename this button – please keep in mind, that one button can be used to trigger several flows, as we have three different event types: Click, Double-Click and Hold.</p>
<h3>
<a href="https://m365princess.com/#spotify" aria-hidden="true"><span aria-hidden="true"></span></a>Spotify</h3>
<p>In this flow we want to trigger by one or any event of the flic button and then tweet the song we are currently listening to on Spotify. Turns out, that there is no connector for Spotify, so why not building our own custom connector?</p>
<blockquote>
<p>To be able to build custom actions, you will need an API for this service. Lucky us, that Spotify provides us with that API so that we can use this to build our custom connector.</p>
</blockquote>
<p>Of course we need to have at least a free Spotify account so that we can listen to music that then shall be tweeted about.</p>
<p>Before we can build the connector, we will need to register for <a href="https://developer.spotify.com/" rel="nofollow">Spotify’s Developer program</a> – Once this is done, we can retrieve Spotify content such as album data, playlists and more though Spotify Web API. To get user-related data (like the song our user is playing right now) we need to authorize our application so that we are allowed to retrieve this information.</p>
<h4>
<a href="https://m365princess.com/#register-our-application-on-spotify" aria-hidden="true"><span aria-hidden="true"></span></a>Register our application on Spotify</h4>
<ul><li>
<p>Log into your brand new Spotify for Developers account</p>
</li>
<li>
<p>Go to your <a href="https://developer.spotify.com/dashboard/applications" rel="nofollow">Dashbaord</a></p>
</li>
<li>
<p>Click <strong>Create an App</strong></p>
</li>
<li>
<p>Give your app a name and accept T&amp;C</p>
</li>
</ul><p><a href="https://github.com/LuiseFreese/blog/blob/main/media/how-to-use-custom-connectors-in-powerautomate/create-an-app.png" target="_blank" rel="noopener noreferrer"><img src="https://github.com/LuiseFreese/blog/raw/main/media/how-to-use-custom-connectors-in-powerautomate/create-an-app.png" alt="Create a new app"></a></p>
<ul><li>Click <strong>Create</strong>
</li>
<li>Copy the <code>Client ID</code> and the <code>Client Secret</code>
</li>
</ul><h4>
<a href="https://m365princess.com/#build-the-custom-connector" aria-hidden="true"><span aria-hidden="true"></span></a>Build the custom Connector</h4>
<ul><li>Go to <a href="https://flow.microsoft.com/" rel="nofollow">flow.microsoft.com</a>
</li>
<li>Click <strong>Data</strong>
</li>
<li>Click <strong>Custom connectors</strong>
</li>
<li>Click <strong>New Custom connector</strong>, <strong>Create from blank</strong>
</li>
<li>Add a name for your connector</li>
<li>Click <strong>Continue</strong>
</li>
<li>If you like to, you can upload a connector icon, this step is optional</li>
<li>enter <code>api.spotify.com</code> as <strong>Host</strong>
</li>
</ul><p><a href="https://github.com/LuiseFreese/blog/blob/main/media/how-to-use-custom-connectors-in-powerautomate/cc-general.png" target="_blank" rel="noopener noreferrer"><img src="https://github.com/LuiseFreese/blog/raw/main/media/how-to-use-custom-connectors-in-powerautomate/cc-general.png" alt="Custom Connector – general"></a></p>
<p>You can find the values you need to fill in here in the <a href="https://developer.spotify.com/documentation/web-api/reference/#reference-index" rel="nofollow">Spotify for developers documentation</a>, but to make things easier for you, I will provide them for you.</p>
<ul><li>Click on <strong>Security</strong>
</li>
<li>Select <strong>OAuth2.0</strong>
</li>
<li>Select <strong>Generic Oath 2</strong> as Identity Provider</li>
<li>Paste in your Client ID and Client secret</li>
<li>enter <code>https://accounts.spotify.com/authorize</code> as Authorization URL</li>
<li>enter <code>https://accounts.spotify.com/api/token</code> as Token URL and Refresh URL</li>
<li>enter <code>user-read-currently-playing</code> as scope</li>
<li>Click **Create connector</li>
<li>Copy the Redirect URL</li>
<li>go to your <a href="https://developer.spotify.com/dashboard/applications" rel="nofollow">Spotify app</a>
</li>
<li>Click <strong>Edit settings</strong>
</li>
<li>past the Redirect URI into the field for Redirect URIs</li>
<li>Click <strong>Add</strong>
</li>
<li>Click <strong>Save</strong>
</li>
</ul><p><a href="https://github.com/LuiseFreese/blog/blob/main/media/how-to-use-custom-connectors-in-powerautomate/edit%20settings.png" target="_blank" rel="noopener noreferrer"><img src="https://github.com/LuiseFreese/blog/raw/main/media/how-to-use-custom-connectors-in-powerautomate/edit%20settings.png" alt="edit settings"></a></p>
<p>Now go back to your Custom connector</p>
<ul><li>Click on <strong>Definition</strong>
</li>
<li>Click <strong>New action</strong>
</li>
<li>enter something like <code>GetSong</code> in Summary</li>
<li>enter a description</li>
<li>enter an operation ID like <code>getssong</code> – please note, that this ID shouldn’t start with an upper case letter</li>
</ul><p><a href="https://github.com/LuiseFreese/blog/blob/main/media/how-to-use-custom-connectors-in-powerautomate/cc-definition-general.png" target="_blank" rel="noopener noreferrer"><img src="https://github.com/LuiseFreese/blog/raw/main/media/how-to-use-custom-connectors-in-powerautomate/cc-definition-general.png" alt="Custom Connector definition"></a></p>
<ul><li>Click <strong>import from sample</strong>
</li>
<li>Select verb <strong>Get</strong>
</li>
<li>paste in <code>https://api.spotify.com/v1/me/player/currently-playing</code> as URL</li>
</ul><p>(For reference: <a href="https://developer.spotify.com/console/get-users-currently-playing-track/" rel="nofollow">https://developer.spotify.com/console/get-users-currently-playing-track/</a>)</p>
<ul><li>Click <strong>Import</strong>
</li>
<li>Click <strong>Update connector</strong>
</li>
<li>Click <strong>Test</strong>
</li>
</ul><p>To test our new connector, we need to select from an existing connection or create a new connection.</p>
<ul><li>Click <strong>New connection</strong>
</li>
</ul><p>A new pop up window will appear and promt us to <strong>Agree</strong> – you as a user authorize your Spotify app to retrieve data related to your user account – such as the song currently playing.</p>
<p><a href="https://github.com/LuiseFreese/blog/blob/main/media/how-to-use-custom-connectors-in-powerautomate/cc-authorization.png" target="_blank" rel="noopener noreferrer"><img src="https://github.com/LuiseFreese/blog/raw/main/media/how-to-use-custom-connectors-in-powerautomate/cc-authorization.png" alt="custom connector authorization"></a></p>
<ul><li>Click <strong>Agree</strong>
</li>
<li>Click <strong>Close</strong>
</li>
</ul><h3>
<a href="https://m365princess.com/#use-the-custom-connector-in-our-flow" aria-hidden="true"><span aria-hidden="true"></span></a>Use the custom connector in our flow</h3>
<p>Now it’s time to build our flow</p>
<h4>
<a href="https://m365princess.com/#trigger-flic" aria-hidden="true"><span aria-hidden="true"></span></a>Trigger flic</h4>
<p>As already said, we want the flic button to be our trigger</p>
<p><a href="https://github.com/LuiseFreese/blog/blob/main/media/how-to-use-custom-connectors-in-powerautomate/flic.png" target="_blank" rel="noopener noreferrer"><img src="https://github.com/LuiseFreese/blog/raw/main/media/how-to-use-custom-connectors-in-powerautomate/flic.png" alt="Power Automate flow with flic as a trigger"></a></p>
<p>You can choose, if you want this flow to be triggered by any event type or if you want to save the two other event types for other flows.</p>
<p>Now we want to get the current song from our shiny new Custom connector:</p>
<h3>
<a href="https://m365princess.com/#get-current-song" aria-hidden="true"><span aria-hidden="true"></span></a>Get current song</h3>
<ul><li>Click on <strong>Insert a new Step</strong>
</li>
<li>Click on <strong>Custom</strong>
</li>
<li>Select the new custom connector for Spotify</li>
</ul><p>Our intention now is to tweet something like "I am currently listenintg to {songname} by {artistname}, check it out {spotify URL}." But from our custom connector, we don’t get the name of song and artist per se, we will need to first parse the JSON output. If you never heard of that before, don’t worry, go read this article about <a href="https://m365princess.com/how-to-get-started-with-http-requests-in-power-automate/" rel="nofollow">how to parse JSON in Power Automate</a>, I will just wait here for you and drink a coffee.</p>
<p>Back again? Cool! ☕</p>
<ul><li>Let your flow run</li>
<li>Go to your run history</li>
<li>Copy the output of the <strong>Get current song</strong> action</li>
<li>Insert a <strong>Parse JSON</strong> action</li>
<li>Click <strong>Generate from sample</strong>
</li>
<li>Paste into the new field</li>
<li>Click <strong>done</strong>
</li>
</ul><p>Magic 🦄 – Now we can see all the output from our custom action as Dynamic content. Next thing up is to send the tweet. We can use the twitter connector for it, but Buffer works fine as well.</p>
<ul><li>Add the <strong>post a tweet</strong> action</li>
</ul><p>provide your tweet text with Dynamic content as you wish from your Parse JSON action. Don’t be afraid when the flow adds <strong>Apply to each</strong> loops! Unfortunatley, both artist-name and -song-name are named <code>name</code>, so you will need to figure out which is which.</p>
<ul><li>save your flow</li>
</ul><h2>
<a href="https://m365princess.com/#run-your-flow" aria-hidden="true"><span aria-hidden="true"></span></a>Run your flow</h2>
<p>Open your flic app and select the new button, set the action that is triggered by the <code>click</code> event to <strong>Microsoft Flow</strong> (watch out, this is the old name of Power Automate, which is not refelcted in the Flic app). When you now click the button, this will trigger our flow, that listens to the <strong>Click</strong> event of that button, get the current song and tweet about it!</p>
<p><a href="https://github.com/LuiseFreese/blog/blob/main/media/how-to-use-custom-connectors-in-powerautomate/post-tweet.png" target="_blank" rel="noopener noreferrer"><img src="https://github.com/LuiseFreese/blog/raw/main/media/how-to-use-custom-connectors-in-powerautomate/post-tweet.png" alt="post tweet in Power Automate"></a></p>
<h2>
<a href="https://m365princess.com/#conclusion-and-whats-next" aria-hidden="true"><span aria-hidden="true"></span></a>Conclusion and what’s next</h2>
<p>In this post I explained, how you can create a custom connector and call an API outside of Microsoft 365. You learned how to define actions and how to authorize your application so that you can retrieve the requested data. Which use cases do you have in mind? What would you like to build a custom connector for? Please share!</p>
</div>

Posted in Skype for Business

by Ankita Kirti

For most people, remote work—whether part-time or full-time—is the new way of working. That’s why over 115 million daily users rely on Microsoft Teams to connect and collaborate, and also why Teams was recognized as a Leader …

Posted in Skype for Business

by Lasse Nordvik Wedø

 Tolling out right now, as Roadmap Item 68838 is the feature that will allow users to start a Teams meeting directly from the calendar view in the Outlook desktop client.Clicking the Meet now button launches the pre-meeting wind…

Posted in Skype for Business

by Teri Seals-Dormer

Microsoft listed as a Representative Vendor in the 2020 Market Guide for Insider Risk Management Solutions. Insider Risk Management is used worldwide to identify and manage insider risks, while maintaining employee privacy.
The post Microsoft listed as a Representative Vendor in 2020 Gartner Market Guide for Insider Risk Management Solutions appeared first on Microsoft Security.

Posted in Skype for Business

by Sue Bohn

Hello!
ServiceNow was recently named one of our most used apps for the third year in a row, is a new Microsoft Viva (Employee Experience Platform) launch partner, and has been building deep integrations to benefit our joint customers like new …

Posted in Skype for Business