<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tom Morgan on Medium]]></title>
        <description><![CDATA[Stories by Tom Morgan on Medium]]></description>
        <link>https://medium.com/@thoughtstuff?source=rss-15eab18769f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*T4zHfhuaR5ZZignV_cQbQg.jpeg</url>
            <title>Stories by Tom Morgan on Medium</title>
            <link>https://medium.com/@thoughtstuff?source=rss-15eab18769f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 23:33:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thoughtstuff/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[“It wasn’t me, boss!”]]></title>
            <link>https://thoughtstuff.medium.com/it-wasnt-me-boss-ec658d8b2727?source=rss-15eab18769f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec658d8b2727</guid>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[microsoft-graph]]></category>
            <category><![CDATA[microsoft-teams]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[microsoft-bot-framework]]></category>
            <dc:creator><![CDATA[Tom Morgan]]></dc:creator>
            <pubDate>Mon, 10 Jan 2022 11:44:12 GMT</pubDate>
            <atom:updated>2022-01-10T11:44:12.911Z</atom:updated>
            <content:encoded><![CDATA[<h3>“It wasn’t me, boss!” You can now identify Microsoft Teams chat messages sent by bots on behalf of users</h3><p>A small but important change recently rolled out to Microsoft Graph. The <a href="https://docs.microsoft.com/graph/api/resources/chatMessage?view=graph-rest-beta&amp;WT.mc_id=M365-MVP-5001530">chatMessage </a>resource (which is the object type that contains information about chat messages sent and received in Microsoft Teams) now has a new property: onBehalfOf. This provides additional information about the user, when the message itself is actually sent by a bot. <strong>Note that right now this property is only available in /beta, it is not yet in the v1.0 endpoint.</strong></p><p>You can use this information in a few different ways. First, just reading Graph — this now shows you messages which are being sent by bots but triggered by user actions or tied to specific users. This might be useful information for reporting but also for compliance scenarios.</p><p>Secondly, as a developer, you can include this onBehalfOf property when sending messages. For instance, if your bot code is posting a card to a channel as a result as action by a specific user you can now specify this user. In C#, you do this by adding a OnBehalfOf property to ChannelData in your Activity payload (as long as you are using v4.6 or later of the Bot Framework SDK):</p><pre>OnBehalfOf = new []<br>    {<br>      new<br>      {<br>        ItemId = 0,<br>        MentionType = &quot;person&quot;,<br>        Mri = turnContext.Activity.From.Id,<br>        DisplayName = turnContext.Activity.From.Name<br>      }  <br>    }</pre><h3>How does this look in Teams?</h3><p>Where the onBehalfOf information is present, Teams will use it when building the title of the author of the post. Instead of the title just showing the name of the bot, the syntax <strong>{user} via {bot}</strong> is used. You can see the difference in the image below: the one on the right has the onBehalfOf information present:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jMS273bMu9JiAFui.png" /></figure><p>ref: <a href="https://docs.microsoft.com/en-gb/microsoftteams/platform/messaging-extensions/how-to/action-commands/respond-to-task-module-submit?tabs=dotnet%2Cdotnet-1&amp;WT.mc_id=M365-MVP-5001530#user-attribution-for-bots-messages">User attribution for bots messages</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec658d8b2727" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft Teams Export APIs and Change Notifications for Chats & Channels will be chargeable]]></title>
            <link>https://thoughtstuff.medium.com/microsoft-teams-export-apis-and-change-notifications-for-chats-channels-will-be-chargeable-85b3b9ae8614?source=rss-15eab18769f------2</link>
            <guid isPermaLink="false">https://medium.com/p/85b3b9ae8614</guid>
            <category><![CDATA[webhooks]]></category>
            <category><![CDATA[microsoft-graph]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[microsoft-graph-api]]></category>
            <category><![CDATA[microsoft-teams]]></category>
            <dc:creator><![CDATA[Tom Morgan]]></dc:creator>
            <pubDate>Sun, 31 Oct 2021 14:12:30 GMT</pubDate>
            <atom:updated>2021-10-31T14:12:30.688Z</atom:updated>
            <content:encoded><![CDATA[<p>The Microsoft Teams Export APIs were <a href="https://blog.thoughtstuff.co.uk/2020/10/you-can-now-bulk-export-teams-chat-data-with-a-dedicated-graph-api-call/">released to Beta around a year ago at Microsoft Ignite 2020</a>, designed for those who want to bulk export 1:1 and group chat messages from Microsoft Teams. Whilst in beta they were free to use but the documentation contained the disclaimer “<em>In the future, Microsoft may require you or your customers to pay additional fees based on the amount of data accessed through the API.</em>“</p><p>Those APIs have<a href="https://developer.microsoft.com/en-us/graph/blogs/announcing-general-availability-of-microsoft-graph-export-api-for-microsoft-teams-messages/?WT.mc_id=M365-MVP-5001530"> now moved into the v1.0 namespace and become Generally Available</a>. At the same time, a new charging structure has been placed around these APIs. It’s quite complicated and lots of the charging mechanisms don’t go live immediately and so I’ll try my best to explain what you might in the future be charged to use these.</p><p><strong>This new charging structure ALSO applies to Change Notification subscriptions to retrieve chat and channel messages.</strong></p><h3>This is big news for anyone using the Microsoft Teams Export APIs or change notifications to backup, export or access chat and channel data in bulk.</h3><p>Disclaimer/Warning: All the information in this blog post has come from the following pages and is believed to be correct at the time of publishing. However, this is new and fast-changing information so you should check any charging information and prices yourself before making purchasing/design decisions.</p><p><a href="https://developer.microsoft.com/graph/blogs/announcing-general-availability-of-microsoft-graph-export-api-for-microsoft-teams-messages?WT.mc_id=M365-MVP-5001530">Announcing general availability of Microsoft Graph Export API for Microsoft Teams messages — Microsoft 365 Developer Blog</a></p><p><a href="https://docs.microsoft.com/microsoftteams/export-teams-content#license-requirements-for-teams-export-apis?WT.mc_id=M365-MVP-5001530">Export content with the Microsoft Teams Export APIs — Microsoft Teams | Microsoft Docs</a></p><p><a href="https://docs.microsoft.com/graph/teams-licenses?WT.mc_id=M365-MVP-5001530">Licensing and payment requirements — Microsoft Graph | Microsoft Docs</a></p><p><a href="https://www.microsoft.com/licensing/terms/productoffering/MicrosoftAzure/MCA#ServiceSpecificTerms">Commercial Licensing Terms (microsoft.com)</a></p><h3>Model A, Model B, Evaluation</h3><p>First, there are two separate charging models: Model A and Model B. When calling the Export APIs developers need to define which Model they wish to be charged under by using a query parameter in the call. (model=A, model=B). There is also an Evaluation model: this appears to be the default used if no query parameter is supplied.</p><h3>Model A</h3><p>Model A is designed for Security &amp; Compliance scenarios, with the documentation noting that this model is “restricted to applications performing security and/or compliance functions”. According to the<a href="https://www.microsoft.com/licensing/terms/productoffering/MicrosoftAzure/MCA#ServiceSpecificTerms"> Commercial Licensing Terms</a>:</p><p>“<strong>Compliance Application</strong>” means a software program or service built exclusively to ensure that an organization is complying with their security-related requirements.</p><p>“<strong>Security Application</strong>” means a software program or service built exclusively to protect and defend the information and technology assets of an enterprise.</p><p>It’s not clear how this will be enforced. The model requires all users being exported to have an E5/A5/G5 license. The license includes a “seeded capacity” which can be used to export messages without additional charge. Any usage beyond the seeded capacity is charged on a consumption model.</p><p>The exact licenses required for Model A use are (at the time of publishing):</p><ul><li>Microsoft 365 E5/A5/G5</li><li>Microsoft 365 E5 Security</li><li>Microsoft 365 E5 Compliance</li><li>Microsoft 365 E5 Information Protection and Governance</li><li>Microsoft 365 E5 Information Protection &amp; Data Loss Prevention</li></ul><p>As of right now, any overage in Model A is not charged but this seems to be just a temporary waiver, with Microsoft saying: <em>“In the future, Microsoft will charge a fee for usage over the seeded capacity. It is not possible yet to associate your app with a payment method.”</em> The price for overage is the same as Model B consumption pricing. Microsoft has said that charging for API usage beyond available seeded capacity will be <strong>enabled in CY22</strong>, and a 30-day notice will be provided before these charges are in effect.</p><p>It is the tenant owner’s responsibility (not the app owner) to ensure users are properly licensed: it’s not clear from the documentation whether non-licensed users will be excluded from notification and export results or not.</p><h3>What is the Seeded Capacity?</h3><p>The seeded capacity defines how many messages can be exported each month in Model A without any additional consumption cost. At the time of publishing, this includes:</p><ul><li><a href="https://docs.microsoft.com/en-us/graph/api/subscription-post-subscriptions">ChatMessage change notifications</a>, or <a href="https://docs.microsoft.com/graph/api/subscription-post-subscriptions?WT.mc_id=M365-MVP-5001530">conversationMember change notifications</a> — 800 chat messages or conversation member change notifications, per user, per month, per app (shared across both calls)</li><li><a href="https://docs.microsoft.com/graph/api/chats-getallmessages?WT.mc_id=M365-MVP-5001530">Get messages across all chats for users</a> or <a href="https://docs.microsoft.com/graph/api/channel-getallmessages?WT.mc_id=M365-MVP-5001530">Get messages across all channels</a> — 1600 messages, per user, per month, per app (shared across both calls)</li><li><a href="https://docs.microsoft.com/graph/api/chatmessage-update?WT.mc_id=M365-MVP-5001530">Updating a chatMessage policyViolation</a> — 800 messages, per user, per month, per app</li></ul><h3>Model B</h3><p>There are no license restrictions for Model B usage. <strong>Today, Model B is free to use</strong>. However, the intent is for this model to be chargeable, based on consumption. Developers should bear this in mind when designing and building applications that use Model B.</p><p>Regardless of whether you’re using the Export API or change notifications, the charge is <strong>$0.00075</strong> per message or notification.</p><p>As an example, for a 1000 person organisation where each user generates 100 chat messages a day = 100,000 messages per day = $75 per day to be notified about every chat message. To perform a one-time export of all chat messages in a week: 1000 x 100 x 7 = 700,000 = $525.</p><p>Microsoft considers Teams Backup to be a Model B (not A) scenario, meaning that <strong>seeded capacity cannot be used for backup applications</strong>.</p><p>It’s not entirely clear how Model B will be charged, whether it will be taken from Azure credits or applied to a Microsoft 365 invoice, or some other method of charging. I’ve reached out to Microsoft for clarification and will update here once I know more.</p><h3>Evaluation</h3><p>For development, testing and evaluation there is a free tier that has no consumption overages and does not impact any seeded capacity. However, it is capped to 500 messages or change notifications per month, per app. Once this limit is exceeded, 402 error codes will be returned for Export API calls and change notifications will stop sending notifications.</p><h3>What about my app today? Is there a Grace Period?</h3><p>Lots of these changes don’t come in immediately. Model B consumption charging and overage charging for Model A isn’t live yet, with no firm start date, so no applications are immediately impacted.</p><p>In addition, Microsoft has announced a 6-moth grace period starting October 5th 2021 to ensure users can be correctly moved to the appropriate license.<em> </em>However, any new customers after October 5th will be required to have users on the correct license to benefit from the Model A capacity.</p><p>However, if you think that your application might be impacted by these changes and charges then now is the time to start planning for what you do about that so that you (or your customers) are not negatively impacted when these charges start to roll out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85b3b9ae8614" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I talk to Dona Sarkar about Power Platform, Accessibility & Development]]></title>
            <link>https://thoughtstuff.medium.com/i-talk-to-dona-sarkar-about-power-platform-accessibility-development-d46eb868ea5c?source=rss-15eab18769f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d46eb868ea5c</guid>
            <category><![CDATA[accessibility]]></category>
            <category><![CDATA[powerplatform]]></category>
            <category><![CDATA[dyslexia]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Tom Morgan]]></dc:creator>
            <pubDate>Sun, 31 Oct 2021 14:10:27 GMT</pubDate>
            <atom:updated>2021-10-31T14:10:27.621Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kYGJNsd0Twgo3SL8ubKI1g.png" /></figure><p>At <a href="https://www.southcoastsummit.com/">South Coast Summit 2021</a>, I had the opportunity to talk to <a href="https://www.linkedin.com/in/donasarkar/">Dona Sarkar, Director of Technology — Accessibility at Microsoft</a>. She was there as a keynote speaker and hackathon judge, and I couldn’t pass up the opportunity to ask her about her new role at Microsoft.</p><p><a href="https://www.youtube.com/watch?v=hXtVImEyXH4">Talking to Dona Sarkar about Power Platform and Accessibility at South Coast Summit — YouTube</a></p><p>This was such a fun interview to do and very informative for me as well: for instance, I had never really thought about accessibility as a SEO tool. Thanks so much to Dona for being so gracious with her time.</p><p>By the way, if you want to know what South Coast Summit was like my <a href="https://youtu.be/Pe1-hS4vvvY">Day 1 video is out now</a>.</p><h3>Transcript</h3><p><em>Tom: </em>Hello. I’m Tom Morgan, Microsoft MVP, I’m at South Coast Summit, and I’m with the fantastic Dona Sarkar.</p><p><em>Dona: </em>Hello, everyone. Not fantastic, but I am here.</p><p><em>Tom: </em>You’re pretty fantastic. So, I mean, you’ve just had a, you’ve done lots and lots of things.</p><p><em>Dona: </em>Yes.</p><p><em>Tom: </em>So you’ve come from the Windows Insider Program. You’ve done, you know, Dev Manager of Advocacy, Power Platform, and now you are Director of Technology, Microsoft Accessibility, but you’re here, you’re at the Power Platform hack. So in my mind, like you go to Director of IT, you go to the top floor and you kind of check out all the technical stuff, but you’re here at hackathon.</p><p><em>Dona: </em>Oh no, no. I think for me at heart, I’m a Dev right. And I have to see what other Devs are doing. And like, you know, micromanaging needle. Also, accessibility is a topic that impacts every single product, not just at Microsoft, but actually in the world, because you actually have no idea. People from all different backgrounds using your tech, what else they need. Right. So it really helps me to watch people building products and services and concepts and to figure out like, okay, what would it mean to have someone who’s deaf use this? What would it mean to have someone who is blind use this or someone dyslexic like me? So accessibility touches all of us. And I am here among to do many things, but to focus on how accessibility should be mainstream, it should be a topic we all concerned ourself with because it actually concerns all of us.</p><p><em>Tom: </em>And we see, we see some of that in Microsoft. We see some of that come into products, but I mean, within Microsoft, but also I guess, with outside of Microsoft, for developers, like what’s… do we have a long way to go; a little way to go?</p><p><em>Dona: </em>We’ve made a lot of progress, right? We made a ton of progress, but the journey is, it’s not like, oh, you’re going to reach a point and you’re done. It’s we learn more every day. And two of the topics, I’m here to talk a lot about are neurodiversity and mental health. So these are two things that people in my generation were not diagnosed with until much later in life, because we didn’t talk about it. Now people with ADHD, people with dyslexia are getting diagnosed in their thirties and forties, because we just know to test for them. And often it’s because their kids got diagnosed and the neurologists are like, let’s test your parents. And it turns out parents, you weren’t bad at school, you just happen to be dyslexic. So I learned, I was dyslexic when I was 31 years old, that is not normal. Right. And the other topic is mental health. And I will talk a lot about this tomorrow at the keynote, but there is none of us in this entire building probably in this entire city, this entire country that have not been touched by mental health in the last 18 months, every single last person has had a sense of anxiety, of sense of depression or someone in our house has. And these are all accessibility topics. And it’s something that we in the tech industry should be just conscious of when we build products.</p><p><em>Tom: </em>Are there things that, is that like a checklist for developers to go to be thinking about? Because I think there’s a lot of, like, if you go and ask about it, then there’s a lot of, oh, of course, but actually it’s not in their heads. It’s not front of their minds when they’re building stuff.</p><p><em>Dona: </em>I’m really glad you asked that because I realized I didn’t learn about accessibility when I was studying computer science. I don’t, I didn’t learn about accessibility. My first 10 years of being a developer, right. I only learned like 10 years into career, which is weird, but some basic things that developers can do run accessibility insights, it’s accessibilityinsights.io on anything, any website you build, because I’ll give you all of the top issues. It’s a free tool. It’s open source with Microsoft and a bunch of other partners. That’s a basic thing. They also have a checker for Android apps. So if you’re building an Android app or a website go check. Second thing is just put a way to have alt text on images, right? There’s many ways to do it, but image descriptions and alt texts are really, really important. And the third put captions on your videos. If you’re making videos or making a video platform, make adding captions easy, it’s really good for folks who are deaf folks who speak another language. And for SEO, like no one thinks about SEO, but putting captions on video, actually make your videos maybe a hundred thousand times more percent discoverable. I did all these tests myself because I’m a dev and I don’t believe anything. So it’s actually true when you’re more accessible, you actually have more impact with everybody.</p><p><em>Tom: </em>That’s really cool. That’s really, I never thought about that either. Like I’m a developer. I also do these videos. I never even thought about that. Of course having a caption file makes it easy for a bot to read it. All right.</p><p><em>Dona: </em>It just makes it easier. So have a transcript file, have a caption file because really your SEO will go up.</p><p><em>Tom: </em>Really interesting.</p><p><em>Dona: </em>Yeah.</p><p><em>Tom: </em>And you’ve been very open about your dyslexia. For young people, for people wanting to come into this industry. What would you say to them? Like you were an example of that being done. I mean, what was that journey like?</p><p><em>Dona: </em>I’ll tell you, I actually think computer science or technology is a wonderful industry for those with dyslexia because the compiler will tell you when you’re wrong. It’s one of the reasons I, you know, I am a writer, I’m an author and all these things. And I struggle with, I struggled much more with the arts than I do with computer science and being dyslexic, you actually gained a bunch of really interesting superpowers. Like you’re weirdly good at 3D visualization. You’re really good at understanding spatial things. So I was telling them one of my favourite products at Microsoft that I worked on was the Holo Lens mixed reality. I was really, really good at it. People are like, how are you naturally kind of good at 3D visualization and all of this? I don’t know, it’s a mystery, so odd. Now I realize, oh, because this girl is dyslexic. So if you are dyslexic, join tech. There’s a lot of us here a lot. I bet if I go in that room and say, how many of your dyslexic you’re going to have? Like, I don’t know, a third of people raise their hand, it’s a very good industry. It’s an industry where you can openly talk about it cause we’re building tech solutions to help. Right? So I think it’s a wonderful field, better than trying to be a dyslexic lawyer. That’s learn, memorize and learn, memorize. Or a doctor. Like you can do it, but I can see them as being infinitely harder than being in tech.</p><p><em>Tom: </em>If the technology was just not an object, you could make anything possible. What would you do?</p><p><em>Dona: </em>I think what I would do is figure out how accessibility can be part of the system where I write a line of code. How can I make sure that that line of code is accessible toward people who are blind people who are deaf people with limited mobility, but also those who have mental health concerns, right? How do I make sure we’re doing no harm as we build the next generation of products? That’s what I would do. Wave my magic wand.</p><p><em>Tom: </em>And final question because I was, I was showing your resume to one of my colleagues and I was kind of like, what should I ask Dona? And she read it through, sheen the stuff you’ve been doing at Microsoft, your fashion company, your side hustles…question was, do you sleep?</p><p><em>Dona: </em>I do. I’m a really good sleeper. I think the key is to draw some really hard boundaries around your day and say like, I am going to work on this from this hour to that hour, this from this hour to that hour. And then I’m going to bed. I only do two things a day. And one of those things is mental health. So day job, mental health stuff, fashion design and mental health stuff. But that is the way to be in the game for a long time. Cause I plan to stick around this industry for like, I don’t know, a hundred years, that’s a lot of trouble to cause. Right. So yeah, that’s the plan.</p><p><em>Tom: </em>Fantastic, thanks very much.</p><p><em>Dona: </em>Thank you</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d46eb868ea5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Electron to WebView2 — What does it really mean for the Teams desktop client, and for a Client SDK?]]></title>
            <link>https://thoughtstuff.medium.com/electron-to-webview2-what-does-it-really-mean-for-the-teams-desktop-client-and-for-a-client-sdk-bd8b5e507316?source=rss-15eab18769f------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd8b5e507316</guid>
            <category><![CDATA[microsoft-teams]]></category>
            <category><![CDATA[sdk]]></category>
            <category><![CDATA[electron]]></category>
            <category><![CDATA[windows-11]]></category>
            <category><![CDATA[webview]]></category>
            <dc:creator><![CDATA[Tom Morgan]]></dc:creator>
            <pubDate>Tue, 29 Jun 2021 14:57:43 GMT</pubDate>
            <atom:updated>2021-06-29T14:57:43.016Z</atom:updated>
            <content:encoded><![CDATA[<h3>Electron to WebView2 — What does it really mean for the Teams desktop client, and for a Client SDK?</h3><p>Last week was a busy one for news, including <a href="https://www.theverge.com/2021/6/24/22548738/microsoft-teams-windows-11-integration-announcement-features">the announcement</a> that Windows 11 will include some or all of Microsoft Teams:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*pAruMAhoi5eEbDaK.jpg" /><figcaption>Image of Microsoft Teams running in Windows 11, as shown at the Windows 11 launch event</figcaption></figure><p>However, what was almost more interesting was the Twitter thread that Rish Tandon started, as <a href="https://www.petri.com/microsoft-teams-2-0-will-deliver-big-performance-improvements">first reported (I think) by Brad Sams</a>:</p><p><a href="https://twitter.com/rishmsft/status/1408085784016539653">Rish Tandon on Twitter: “With this change, we are taking a major step in #MicrosoftTeams Teams architecture. We are moving away from Electron to Edge Webview2. Teams will continue to remain a hybrid app but now it will be powered by #MicrosoftEdge. Also Angular is gone. We are now 100% on reactjs” / Twitter</a></p><p>In the thread, Rish says several things about Teams moving from Electron to WebView2, and to a 100% Reactjs model. This has been well reported elsewhere and I don’t want to copy that. Instead, I wanted to think about what I think this <em>really</em> means for the Microsoft Teams Desktop client.</p><h3>WebView1 != Electron: Teams will be a “proper” Windows application</h3><p>I think this is an important distinction to make. Electron is a wrapper application technology, to enable you to build something that is cross-platform but still a desktop application, and it is a host to a web application. It provides an abstraction to the desktop and means that all the “real” work of the application has to happen in JavaScript, with Electron being the “gateway” through which applications interact with the underlying desktop (for instance to show a popup or respond to a device being plugged in).</p><p>WebView2 isn’t that.</p><p>WebView2 is a control, like a text box, a button or a label is a control. It’s quite a sophisticated control but it’s still just a control. It is a control that renders webpage experiences, using the Chromium rendering engine built into Edge.</p><p>The reason it’s called WebView2 is that it replaces the WebView control, which in turn replaced the WebBrowser control, which old-school Win32 developers may remember. WebView used the original Edge (Trident) rendering engine and was a Windows10 only control. WebView2 uses the newer Edge rendering engine and is supported across many more Windows platforms.</p><p>It’s a powerful enough web-rendering control to host the Teams application, it would appear, and it’s using this control that the recently demoed application shown in Windows 11 is being built. WebView2 is a control that is part of an application, whereas Electron is the application (sort of). (if you disagree with this last bit, that’s OK, I’m just trying to broadly explain the difference)</p><p>That means that in order to use it, the Microsoft Teams team have needed to <strong>build a new Teams desktop application</strong>, and then used the WebView2 control to “host” parts of the Teams experience. A proper new application from the ground up: a File &gt; New Project for someone in Engineering.</p><p>The distinction is subtle but important. With this new approach, the Teams developers are no longer required to use an intermediary to talk to the underlying system — because they are running a native application they can directly interact with devices, screens, the file system. So, things like support for multiple windows and spanning multiple displays become much easier. On the other side, they don’t get anything for free anymore: so all the hooks and events that Electron was providing need to be written in.</p><p>It’s not a rewrite of Microsoft Teams — remember that all the real logic and UI is in web components and that remains (expect that that has also all been re-written to use React instead of Angular, but that’s a different story!) the case. In a way this is “just” the housing .. but it’s also a big deal because it’ll make some things easier and some things harder.</p><h3>Does this change a lot or a little?</h3><p>The most simple implementation of this approach is to create a new application, add a single WebView2 control that fills the canvas, host Teams in it, and write an abstraction layer to deal with communication to the desktop.</p><p>However, I predict that the power and ease of being able to write client-side code that operates alongside the WebView2 control will prove too much of a lure and we will see innovations in the desktop client experience that aren’t possible elsewhere.</p><p>We should also see some performance improvements associated with removing a generic abstraction (Electron) and replacing it with something custom-built.</p><h3>So, what about Mac &amp; Linux?</h3><p>One of the reasons given for using Electron to build the Teams application was that all clients would be on the same evergreen version and that this would limit the number of supported applications and enable faster development progress.</p><p>WebView2 is a Windows control, for .NET, Win32 or WinUI applications. It’s supported on lots of Windows versions, but nowhere else.</p><p>That means that (I think) one of three things will need to happen:</p><ul><li>Mac &amp; Linux users will have to use the web-based version of Teams only</li><li>WebView2 will start supporting Mac &amp; Linux</li><li>there will be 2 supported desktop clients for Teams: an Electron-based one and a WebView2-based one</li></ul><p>In a <a href="https://github.com/MicrosoftEdge/WebView2Feedback/issues/645">GitHub issue</a> comment, <a href="https://www.linkedin.com/in/nicolas-champagne-williamson-2835851a/">Nicolas Champagne-Williamson, Principal Software Engineering Manager</a> on the WebView2 team confirmed that the WebView2 team were working on both Mac and Linux support, were prioritising Mac support over Linux support, and didn’t expect Linux support to come until at least 2022. This might be enough for Teams to justify waiting for WebView2 to be supported everywhere and is (I think) the most likely option.</p><p>It would be technically possible to support both Electron and WebView2 to ensure all clients can access Teams via an application, but it would involve creating an abstraction layer above WebView2 so that it resembled Electron (or the other way around but because all the code works with Electron already the former way makes more sense) so that the Teams business logic code could run on both platforms. However, doing this removes all the benefits and advantages of moving to a hybrid model using WebView2 because it doesn’t offer the flexibility and means developers are still constrained using the Electron abstraction even when they’re not using Electron. It’s the worst of all worlds but would mean both client types could be supported.</p><p>In his tweet, Rish spoke about this being a 6-month “moonshot” project. However, I think now that it is here it’s going to stay. I think that this WebView2-based version will evolve to become <em>the</em> version of Teams for desktop clients, replacing the Electron-based one.</p><h3>What about Virtualized Desktop Infrastructure (VDI)?</h3><p>In general, because WebView2 is “just” a control and is being used within a Windows application, using it in a VDI should be fine. In practice though, there might be some vendor-specific restrictions or configurations needed.</p><p>When it renders in an application, WebView2 will start its own process (similar to how Chromium Edge starts a new process for each browser tab) called (I think): msedgewebview2.exe (although this name might be different for Teams when it launches, we’ll have to wait and see).</p><p>There have been some reports of problems with Citrix hooks and the WebView2 process which prevents it from starting. The workaround is to disable hooks for that process as described in <a href="https://support.citrix.com/article/CTX107825">Citrix CTX107825</a>.</p><h3>What about Client SDKs?</h3><p>Since Teams launched, developers have been asking about a desktop client SDK. It’s a <a href="https://microsoftteams.uservoice.com/forums/555103-public/suggestions/38534776-full-teams-client-api-including-call-control">highly upvoted entry</a> on the Microsoft Teams User Voice. The latest update is from July 2020 with a comment from the Engineering Team that <em>“the team is reviewing possibilities in this space but does not yet have a date on this”</em>.</p><p>It’s interesting to think through why such a popular item, that would promote more applications that use Teams, isn’t being prioritised.</p><p>One reason could be technical — that it’s hard or unfeasible to create an SDK that interacts nicely with the Teams application via Electron. Electron does support Inter-Process Communication (IPC) with external applications via a <a href="https://riaevangelist.github.io/node-ipc/">node module</a>, but the reality might be that it is overly complicated or latent to be useful for real-time communications.</p><p>Another reason might be Microsoft would prefer all Teams-based applications to live inside of Teams, using the existing app model. These apps also have the advantage that they work on mobile devices as well. Having a class of Teams-based applications that only work on desktop machines (and likely only Windows-based desktop machines) might be seen as diluting the integration story, even though I think it would be useful in a number of scenarios.</p><p>We’ve seen some moves that seem to recognise that different devices behave differently from each other and sometimes need their own specific solutions: for instance SDK support for GPS and QR code reading for apps that are designed to be used only on mobile devices. The argument only gets stronger if we see the WebView2-based desktop application gain desktop-specific features (as I think it will).</p><p>So, a move to a purpose-built Windows application might make a client SDK more likely if it becomes technically easier to achieve, but it’s not a given.</p><h3>So, is Electron dead?</h3><p>Not yet. Don’t forget there are other high-profile and complex apps that use Electron, such as Visual Studio Code, Slack, Twitch etc. I don’t know whether the engineering teams for these products are planning on moving away from Electron to something more native or not.</p><p>Even if all the Microsoft-based products move away from Electron, I don’t see Microsoft ever “killing” it, at least not in the short term. They picked up ownership of the technology as part of the GitHub acquisition and so I think they will leave it to continue as it is. [Although, a fun fiction work might imagine a more dystopian world in which a Machiavellian Microsoft attempted to pull the Electron rug from under Slack…]</p><p>Electron is still a great solution for many applications and has its place for cross-platform development. In fact, it’s a lot more of a cross-platform solution than anything built with WebView2 is today! However, it seems that Electron has an upper limit for application complexity, as borne out by complaints of Teams’ high use of system resources, and it was time for a change.</p><h3>Conclusion</h3><p>The “new” Teams application, when it comes, is going to feel both different, and not at all different, both at the same time. The way it loads and interacts with the rest of your computer might change, but the UI and functionality will remain unchanged from the web experience (unless of course a new UI for Windows 11 is ushered into the Teams experience…we’ll have to wait and see on that).</p><p>More exciting I think will be how making a break from Electron will enable the Teams engineering team to do things they couldn’t previously and improve performance and experiences in areas that were under Electron’s control and couldn’t be changed.</p><p>Electron remain a fabulous way of building cross-platform applications, but recently it started to feel like Teams had outgrown it. Re-writing to remove Electron is (I think) the correct choice and will be the runway for another period of exciting product innovation from the Teams team. I’m looking forward to seeing what they do next!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd8b5e507316" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reminder: Your Skype for Business Online apps will NOT work in Microsoft Teams (act before July…]]></title>
            <link>https://thoughtstuff.medium.com/reminder-your-skype-for-business-online-apps-will-not-work-in-microsoft-teams-act-before-july-8f45acc34147?source=rss-15eab18769f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f45acc34147</guid>
            <category><![CDATA[unified-communication]]></category>
            <category><![CDATA[microsoft-teams]]></category>
            <category><![CDATA[skype-for-business]]></category>
            <dc:creator><![CDATA[Tom Morgan]]></dc:creator>
            <pubDate>Fri, 07 May 2021 10:59:41 GMT</pubDate>
            <atom:updated>2021-05-07T10:59:41.094Z</atom:updated>
            <content:encoded><![CDATA[<h3>Reminder: Your Skype for Business Online apps will NOT work in Microsoft Teams (act before July 31st)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*CQo1ZXL716uORVT6wFbDvA.jpeg" /></figure><p>This week saw Microsoft release <a href="https://techcommunity.microsoft.com/t5/microsoft-teams-blog/skype-for-business-online-retires-july-31-2021-here-s-what-to/ba-p/2303300?WT.mc_id=M365-MVP-5001530">some updated guidance</a> for IT Administrators who have not yet migrated from Skype for Business Online to Microsoft Teams, with information on how they would be scheduling “Microsoft-assisted upgrades” in the coming weeks.</p><p>The post has several points of interest for administrators but doesn’t speak to any work needed by developers, so I thought I’d put together this post for any developers wondering if they have work to do when their environment migrates from Skype for Business Online to Microsoft Teams.</p><p>TL,DR: Yes, you do.</p><h3>What won’t work any more</h3><p>If you have any <strong>desktop applications</strong> which are using the <a href="https://docs.microsoft.com/skype-sdk/appsdk/skypeappsdk?WT.mc_id=M365-MVP-5001530">Skype for Business Client SDK</a>, these do <em>not</em> work with Microsoft Teams. Although there isn’t a like-for-like replacement for the Client SDK today many of the functions can be achieved via Microsoft Graph calls, although this will require a significant development effort.</p><p>If you have any web applications which are using the <strong>Skype Web SDK</strong> or <strong>UCWA</strong>, these do <em>not </em>work with Microsoft Teams. Depending on what you want to do here, you could look at Microsoft Graph for sending and receiving chat messages. Alternatively, if it’s audio and video in the browser you are looking to achieve, maybe the <a href="https://blog.thoughtstuff.co.uk/2021/03/with-teams-interop-for-azure-communication-services-developers-can-finally-create-native-web-and-mobile-experiences/">Teams Interop functionality</a> in <a href="https://blog.thoughtstuff.co.uk/category/azure-communication-services/">Azure Communication Services</a> will help. (I also have <a href="https://learnacs.dev/">an entire series on getting started with Azure Communication Services</a>)</p><p>If you have any back-end services which are using the<strong> Trusted Application API</strong> (a Rest API to create &amp; manage meetings, provide voice routing, recording, and some other functions), these will stop working if your tenant is migrated from Skype for Business Online to Microsoft Teams. There are API calls in Microsoft Graph to replicate most (all?) of this functionality, but some development will be needed.</p><p>Finally, if you are using any <strong>deep-link mobile URIs</strong> to make it easy for users to start a call or chat in mobile applications, whilst these will probably keep working and open the Skype for Business client, once your tenant has migrated to Microsoft Teams this probably isn’t what you want. There are <a href="https://docs.microsoft.com/microsoftteams/platform/concepts/build-and-test/deep-links?WT.mc_id=M365-MVP-5001530">similar deep-links in Microsoft Teams</a> you can use instead.</p><h3>What will carry on working</h3><p>If you’re using Skype for Business Server (the on-premise solution) then you are unaffected by the July 31st deadline. That means that if you have<strong> UCMA applications</strong>, they will continue to work (although if you are communicating with endpoints outside of your tenant which move off Skype for Business Online they won’t be contactable).</p><p>Similarly, if you are using the <strong>Skype for Business SDN</strong> interface with your Skype for Business Server deployment, this will continue to work.</p><p>Any bots you have built with <strong>Bot Framework</strong> should work fine with Microsoft Teams, but you might need to go and add the Microsoft Teams channel, and then create a Teams app in order for users to access it. If you haven’t done this before,<a href="https://blog.thoughtstuff.co.uk/2019/04/what-is-app-studio-in-microsoft-teams-and-why-do-i-care/"> check out App Studio</a> as an easy way to get started creating Microsoft Teams apps.</p><h3>What new things can you do?</h3><p>As well as all the new functionality in Microsoft Teams, migrating to Teams opens up the possibility of developing applications using the <a href="https://docs.microsoft.com/microsoftteams/platform??WT.mc_id=M365-MVP-5001530">Microsoft Teams Development Platform</a>. This is something I’ve been writing about since the start of Teams, so I won’t go through it all here. Instead, if you’re new to Teams development, start at my <a href="https://www.thoughtstuff.co.uk/teams">“Developing with Microsoft Teams” landing page</a>.</p><h3>In Conlusion…</h3><p>July 31st is less than 3 months away, so if you haven’t done it already, <strong>now is the time</strong> to perform an audit of your applications and services, making sure that users aren’t currently relying on anything which will stop working when you move off Skype for Business Online. You don’t want to migrate your tenant to Microsoft Teams, and <em>then </em>find out you need to make a significant development effort in updating critical applications to new APIs and SDKs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f45acc34147" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I’m Speaking about Power Apps and the Microsoft Power Platform on 27 April online]]></title>
            <link>https://thoughtstuff.medium.com/im-speaking-about-power-apps-and-the-microsoft-power-platform-on-27-april-online-b3744f0ee5d7?source=rss-15eab18769f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3744f0ee5d7</guid>
            <category><![CDATA[microsoft-office]]></category>
            <category><![CDATA[microsoft-365]]></category>
            <category><![CDATA[microsoft-powerapps]]></category>
            <category><![CDATA[powerplatform]]></category>
            <category><![CDATA[microsoft-teams]]></category>
            <dc:creator><![CDATA[Tom Morgan]]></dc:creator>
            <pubDate>Thu, 15 Apr 2021 08:29:31 GMT</pubDate>
            <atom:updated>2021-04-15T08:29:31.150Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZjANNf5iASiAiDi5uu3kEw.jpeg" /></figure><p>I’m going to be speaking at a <a href="https://nasstargroup_modality.eventbuilder.com/event/42691">free-to-register webinar</a> on April 27th at 1600 London (1500 UTC / 0800 Pacific) about the Microsoft Power Platform and specifically Power Apps.</p><p>I’m planning on first talking about what makes up the Power Platform, covering what Power Apps can do. Then, I’m going to run through a demo using a combination of these technologies to solve a real-world problem: building a workable solution during the session.</p><p>I hope that by the end of the session you’ll have a clear understanding of what the Power Platform can do for your business together with some ideas that you can implement in your organisation.</p><p>The webinar is free, <a href="https://nasstargroup_modality.eventbuilder.com/event/42691">but you need to register</a>. When you do register, there is a “Questions &amp; Comments” section. If there is something specific you want me to cover, please do add it in there and if I can include it I will.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3744f0ee5d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn Azure Communication Services Day 2 — How does ACS Work? (high-level)]]></title>
            <link>https://thoughtstuff.medium.com/learn-azure-communication-services-day-2-how-does-acs-work-high-level-a8303322f5cd?source=rss-15eab18769f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8303322f5cd</guid>
            <category><![CDATA[azure-communication]]></category>
            <category><![CDATA[microsoft-azure]]></category>
            <category><![CDATA[communication]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[cpaas]]></category>
            <dc:creator><![CDATA[Tom Morgan]]></dc:creator>
            <pubDate>Wed, 24 Mar 2021 13:23:10 GMT</pubDate>
            <atom:updated>2021-03-24T13:23:10.152Z</atom:updated>
            <content:encoded><![CDATA[<h3>Learn Azure Communication Services Day 2 — How does ACS Work? (high-level)</h3><p><em>This blog post is part of a series called “</em><a href="https://learnacs.dev/"><em>Learn ACS</em></a><em>“, all about </em><a href="https://docs.microsoft.com/azure/communication-services?WT.mc_id=M365-MVP-5001530"><em>Microsoft Azure Communication Services</em></a><em>. The series covers a high-level overview of capabilities and considerations, then dives into the development detail of using ACS in your application. Find the rest of the posts in the series at </em><a href="https://learnacs.dev/"><em>learnACS.dev</em></a><em>.</em></p><p>Yesterday, we talked about what ACS is, and its high-level capabilities. Today, we’re going to cover how ACS works: what the architecture model is for developers that want to use it. ACS is a platform for communication. Exactly how you decide to use it is very much up to you, but regardless of which capabilities you make use of there is a common authentication model you’ll need to understand first.</p><h3>Authentication</h3><p>ACS provides a model for your code to authenticate clients who want to connect and use your ACS instance. As long as these clients are running your front-end code and you’re expecting them, everything is fine. However, there has to be an authentication step in case someone tries to use your ACS instance for their own calls: because you’ll be picking up the cost!</p><p>This authentication code should run server-side, not client-side so that the sensitive access keys that are used to manage ACS aren’t exposed. Besides, it’s good practice to secure these authentication steps behind an API. It also gives your API a chance to process any business-logic to decide whether this request for access should be granted or not. You likely already have authentication between your front-end client and your API so there might now be any additional calculation to be done other than to check that the request is valid. In other scenarios, though it might depend on a subscription level, whether or not the user is eligible, if the service is open and operating: any number of different reasons.</p><p>Here’s how the flow works at a really high level:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*QgUDLtVQBfFTlZ6m.jpg" /></figure><p>We’re going to focus on exactly what happens in between the API and ACS part.</p><h3>Identity</h3><p>Once you’ve decided that you want to allow access, the first thing that your back-end code needs to do is to create an <strong>ACS Identity</strong>. Don’t think of this as anything as complicated as a user, or an Azure AD account or anything like that. It’s simply a way of identifying this connection. You can create as many of these identities as you want, there’s no charge. They don’t contain any identifying information (you can’t set name, date of birth, anything like that): they are just a unique ID that ACS generates and is used to identify this connection on the system.</p><p>However, if your solution does have the concept of users and accounts then you can (and should) store this ID once you have generated it and then re-use it the next time this user wants to use ACS. This means that you will always be using the same ID for a user and will be able to tie together calls in the ACS environment with the users that are making them.</p><p>The identity is also used when making and receiving calls — if you want to make a call to this user then you need to know their identity to do so. Similarly, when looking at an incoming call being made, the identity will be provided. This allows your application to look up the identity and overlay any other useful information about the incoming call, such as display name, photo, etc etc.</p><p>An ACS identity looks like a combination of some GUIDs and other characters. It’s a string object. Here’s an example of one: 8:acs:4ccc92c8–9815–4422-bddc-ceea181dc774_00000006–19e0–2727–80f5–8b3a0d003502</p><p>You can create them either by <a href="https://docs.microsoft.com/rest/api/communication/communicationidentity/create#communicationidentity?WT.mc_id=M365-MVP-5001530">calling the ACS API</a> or by using the .NET libraries. Tomorrow, we’re going to make use of the .NET libraries and create a simple Azure Function that will create identities for us.</p><h3>Scope and Access</h3><p>Once you’ve created an identity (or retrieved an identity you previously created), it’s time to actually grant access. This is done by generating a short-lived access token, similar to how many authentication systems such as OAuth work.</p><p>When you generate an access token you have to provide the <strong>scope</strong> of that token. The scope defines the things that can be done by someone with that access token. For instance, if you are issuing an access token to someone you know is about to use the VoIP capabilities of ACS then you will want to make sure you set the scope to CommunicationTokenScope.VoIP. Valid scopes are:</p><ul><li>CommunicationTokenScope.Chat</li><li>CommunicationTokenScope.PSTN</li><li>CommunicationTokenScope.VoIP</li></ul><p>You can generate access tokens by using the <a href="https://docs.microsoft.com/rest/api/communication/communicationidentity/issuetoken?WT.mc_id=M365-MVP-5001530">ACS API</a> or using the .NET libraries. Tomorrow, we’re going to use the .NET libraries to enable our simple Azure Function to issue access tokens for use. You’ll then be able to use this Azure Function in the following blog posts to test some of the other things we will be talking about.</p><p>That’s it. ACS will generate an access token which you can then pass back to the caller of your API (such as your front-end code), which can use the access token to access ACS. It’s a simple, secure model that keeps your API in control. At any time your API can choose to revoke an access token and the front-end code has no ability to access ACS directly.</p><p>It’s worth remembering that tokens expire! When a token is generated it has an expiry date/time and your application is responsible for renewing these tokens over time if it needs to maintain access past this point (this is also something you can do via API or .NET)</p><p>By default (at the time of publishing) an access token is valid for 24 hours from issue.</p><h3>Front-end, let’s go!</h3><p>From here, it’s all down to the front-end code: there’s nothing more that’s needed from the back-end.</p><p>The front-end client code is the code that sets up the call and lays out the display of video, issues commands to mute/unmute, call, hangup, answer and whatever else it is you want to do. Your API might tell your front-end which identity it needs to call but all the actual work of making and receiving calls is done on the front-end.</p><p>Don’t panic though — there are libraries to help you make this easy and abstract a lot of the heavy lifting. There are also UI controls you can use to simplify things even more. We’ll cover all this in a future blog post.</p><p><strong>That’s the high-level of how ACS operates and how to fit it into your existing code. Next time we’re going to build our a simple Azure Function to generate access tokens, which we’ll then use in subsequent demos. Links for all blog posts can be found at </strong><a href="https://learnacs.dev/"><strong>learnACS.dev</strong></a><strong>. You can also </strong><a href="https://www.youtube.com/c/TomMorganTS?sub_confirmation=1"><strong>subscribe to my YouTube channel</strong></a><strong> for videos about ACS (and much more!).</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8303322f5cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn Azure Communication Services Day 1 — What is Azure Communication Services (ACS), an…]]></title>
            <link>https://thoughtstuff.medium.com/learn-azure-communication-services-day-1-what-is-azure-communication-services-acs-an-b4c2eedd7c0?source=rss-15eab18769f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4c2eedd7c0</guid>
            <category><![CDATA[microsoft-azure]]></category>
            <category><![CDATA[azure-communication]]></category>
            <category><![CDATA[cpaas]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Tom Morgan]]></dc:creator>
            <pubDate>Wed, 24 Mar 2021 13:19:52 GMT</pubDate>
            <atom:updated>2021-03-24T13:19:52.589Z</atom:updated>
            <content:encoded><![CDATA[<h3>Learn Azure Communication Services Day 1 — What is Azure Communication Services (ACS), an Introduction</h3><p><em>This blog post is part of a series called “</em><a href="https://learnacs.dev/"><em>Learn ACS</em></a><em>“, all about </em><a href="https://docs.microsoft.com/azure/communication-services?WT.mc_id=M365-MVP-5001530"><em>Microsoft Azure Communication Services</em></a><em>. The series covers a high-level overview of capabilities and considerations, then dives into the development detail of using ACS in your application. Find the rest of the posts in the series at </em><a href="https://learnacs.dev/"><em>learnACS.dev</em></a><em>.</em></p><p>Azure Communication Services (ACS) is a new Microsoft Azure offering, which enables developers to add communication services such as SMS, WebRTC or PSTN to their applications. It was first announced at Microsoft Ignite in November 2020 when it was made available for Public Preview. Now, in March 2021 — again at Microsoft Ignite — it’s due to become Generally Available this month. At the same time, additional functionality such as Teams Interop has been introduced as a public preview feature.</p><p>ACS is a developer platform, not an end-user service or product. It’s something that makes it easier for developers to add communication capabilities to their own applications: it’s not an application itself: there’s nothing for users to download. If you’re familiar with Azure’s SignalR service, it’s conceptually similar to that.</p><h3>Why ACS?</h3><p>There are many providers out there already that provide a platform for communication, whether that’s VoIP, PSTN or SMS. However, ACS will be attractive to enterprises, especially those who are already invested in the Microsoft Azure platform. Being part of Azure makes it easier to achieve specific compliance needs such as GDPR or HIPAA, and means that access can be controlled using Azure Active Directory just like any other Azure resource.</p><h3>What can ACS do?</h3><p>There are a few different parts to ACS. Firstly, it’s a platform for VoIP calls via WebRTC. Using ACS you can make and receive peer-to-peer and group calls. These can be audio and/or video and can include screen sharing and chat. There is also support for outbound calling via PSTN.</p><p>Secondly, it’s also a platform for sending and receiving SMS messages, and for managing the flow of long-lived conversations via SMS.</p><p>We’re going to be going into a lot more detail about these capabilities in later blog posts.</p><h3>What can you do with ACS?</h3><p>ACS gives you (the developer) complete control of the user interface of calls, enabling you to either deeply embed the calling experience into an application, or provide a completely customised front-end for users. This makes it ideal for customer-facing solutions that require video or audio functionality. Contact-centers, customer-service, expert systems and more can all benefit from ACS. In addition, the SMS platform can be used to provide another way for users to interact with your application.</p><h3>What tools are there for ACS developers?</h3><p>At its core, ACS is an API and developers can access it in this way if needed. However, there are several libraries available that make it easier to work with.</p><p>There are .NET libraries for the back-end administration of ACS (which we will cover in Day 4), and front-end libraries for JavaScript, iOS and Android.</p><p>ACS also supports Events, via EventGrid. This means that it’s possible to push incoming activities (such as incoming calls) to an Azure Function or a Service Bus Queue without writing any code and build up an entirely server-less and highly scalable model using Azure components.</p><p>There are also several UI components that can be used to abstract some of the effort in building your own user interface if you don’t need as much customisation.</p><h3>How much is ACS?</h3><p>ACS is billed on a per-usage basis. As of publishing, this is $0.004 per user per minute of audio/video, and $0.0008 per SMS message. There’s no difference in charging between audio and video calls.</p><p><strong>That’s a brief introduction to Azure’s latest communication platform. In the upcoming posts we’re going to look at how ACS works, considerations when choosing a communication provider and then jump into writing code. Links for all blog posts can be found at </strong><a href="https://learnacs.dev/"><strong>learnACS.dev</strong></a><strong>. You can also </strong><a href="https://www.youtube.com/c/TomMorganTS?sub_confirmation=1"><strong>subscribe to my YouTube channel</strong></a><strong> for videos about ACS (and much more!).</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4c2eedd7c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fixing a stuck Microsoft Teams “Loading Microsoft Teams” splash-screen]]></title>
            <link>https://thoughtstuff.medium.com/fixing-a-stuck-microsoft-teams-loading-microsoft-teams-splash-screen-26b45070d3f2?source=rss-15eab18769f------2</link>
            <guid isPermaLink="false">https://medium.com/p/26b45070d3f2</guid>
            <category><![CDATA[support]]></category>
            <category><![CDATA[microsoft-teams]]></category>
            <category><![CDATA[microsoft-teams-adoption]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Tom Morgan]]></dc:creator>
            <pubDate>Wed, 24 Mar 2021 12:00:56 GMT</pubDate>
            <atom:updated>2021-03-24T12:00:56.073Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*nmbFyYPfcpXnig7M0qwCdQ.jpeg" /></figure><p>I had this problem on my laptop over the past few weeks. It took an unusually large amount of searching to find a good resolution, so I wanted to amplify the correct answer in case it helps others (and in case it happens to me again!)</p><p>The symptoms were that the Microsoft Teams desktop client would stay on the “Loading Microsoft Teams” splash screen forever. No errors or other popups, but also no forward progress. Deleting the %appdata% data didn’t work. Removing anything Teams from Credential Manager didn’t work. Uninstalling and re-installing didn’t work. That was the oddest thing — literally removing all traces and then starting again got me to exactly the same position.</p><p>The “fix that worked for me” came from <a href="https://answers.microsoft.com/en-us/profile/1735bb0b-b0e2-441e-9bfa-7a64c9fd9b85?sort=LastReplyDate&amp;dir=Desc&amp;tab=Threads&amp;forum=allcategories&amp;meta=&amp;status=&amp;mod=&amp;advFil=&amp;postedAfter=undefined&amp;postedBefore=undefined&amp;threadType=All&amp;page=1">Luciano Milanesi</a>, and I found it on <a href="https://answers.microsoft.com/en-us/msteams/forum/all/microsoft-teams-will-not-start-and-stuck-at/3e95636f-499a-479b-8dcf-09e7bd21288e">this page</a>. I’ve copied the full answer below:</p><ul><li>First check if you find C:\Program Files (x86)\Teams Installer folder with two file in (‘setup.json’ and ‘Teams.exe’).<br>If YES, this fix should work for you.</li><li><strong>Uninstall </strong>Teams and all the Office suite (mine is 365 provided by University IT but as i understand it should work also for other IT provided suite and for private licence)</li><li>Go to File Explore (or Win+R) and paste <strong>%appdata%\Microsoft\</strong></li><li>Find ‘<strong>Teams</strong>‘ folder and delete it.</li><li>Restart your PC.</li><li>Install again your office suite, login and update it (open Word -&gt; Account -&gt; Update Options -&gt; Update now)</li><li>Restart your PC again.</li><li>If after restart Teams login automatically appear it should be fixed and just login. If not, follow the next steps</li><li>After you fully update Office, open File Explorer and go to <strong>C:\Program Files (x86)\Teams Installer</strong></li><li>Execute ‘<strong>Teams.exe</strong>‘ and a new installation and login process should start.</li><li><strong>ENJOY</strong></li></ul><p>I can’t be sure of this, but I suspect the actual problem/resolution here is using the 32-bit version of the installer. Each time I uninstalled and then went to download Teams again I did it from the link on the Teams web experience (at teams.microsoft.com). This gave me the 64-bit version (presumably because I have a 64-bit machine. However, as part of my Office installation, maybe I have/had the 32-bit version installed in a way that wasn’t fully removed by the uninstaller? I don’t know — I’m just a developer</p><p>I’m just pleased it’s working again now.</p><p>Thanks Luciano!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26b45070d3f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft announces first-party integration between Microsoft Teams and Dynamics 365 for Chat &…]]></title>
            <link>https://thoughtstuff.medium.com/microsoft-announces-first-party-integration-between-microsoft-teams-and-dynamics-365-for-chat-e6fea6e9f993?source=rss-15eab18769f------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6fea6e9f993</guid>
            <category><![CDATA[microsoft-teams]]></category>
            <category><![CDATA[omnichannel]]></category>
            <category><![CDATA[microsoft-dynamics-365]]></category>
            <dc:creator><![CDATA[Tom Morgan]]></dc:creator>
            <pubDate>Wed, 24 Mar 2021 09:05:08 GMT</pubDate>
            <atom:updated>2021-03-24T09:05:08.074Z</atom:updated>
            <content:encoded><![CDATA[<h3>Microsoft announces first-party integration between Microsoft Teams and Dynamics 365 for Chat &amp; Voice (and more)</h3><p>At Microsoft Ignite 2021, Microsoft announced a slew of integrations between Microsoft Teams and Dynamics 365, including full chat and &amp; voice integration.</p><p>All of these were announced in the session <a href="https://myignite.microsoft.com/sessions/a69ffbe7-7793-447e-8dee-82d06eee0873?source=schedule"><strong>Microsoft Teams + Dynamics 365: The unified collaboration platform for modern business</strong></a>, which talked about them coming in “the upcoming release” of Dynamics 365. For each feature, I’ve tried to track down when we can expect it to be available.</p><p>I <em>think </em>that all these announcements are from the <a href="https://docs.microsoft.com/en-us/dynamics365-release-plan/2021wave1/">Dynamics 365 2021 Release Wave 1 Plan</a> (but I’m not at all sure), which details work due to released between April 2021 and September 2021, although I’ve found it hard to find exact matches with the things announced. Looking at the <a href="https://go.microsoft.com/fwlink/?linkid=2153357">detailed PDF</a>, the voice integration looks like it’s GA in <strong>August 2021</strong> — but I’m not certain on that.</p><p>Here’s what got announced:</p><h3>Follow up on events hosted in Microsoft Teams using Dynamics Marketing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*9xfqZaZMOMk_n4zV.jpg" /></figure><p>When setting up an event in Dynamics, there is now integration with Microsoft Teams Webinars, which is the default option for new online events:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*pB5BPrs1Y5fSK5-L.jpg" /></figure><p>This just automates the webinar creation process though, which can also be done in Teams. What’s more interesting is that after the event, as well as the participant list available in Teams, there is an additional “follow up with participants” button which opens Dynamics:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*G_Ha5H2nzyWKCMa-.jpg" /></figure><p>The participant list is imported into Dynamics and segmented by activity, with template journeys for each segment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*6z6R8RAu-tDL1cKU.jpg" /></figure><p>This is fully customised so that you can set up your own journey as you wish, like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*r-FGyt-8wu-jRLPz.jpg" /></figure><p>If all this looks interesting, Microsoft also announced that E3 and E5 license holders can get 6 months of free Dynamics 365 Marketing, to try this out. More details on this offer will be shared soon, say Microsoft.</p><h3>Voice, Chat and AI with Dynamics 365 Sales</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*GH4kHXZlQwBe0u7U.jpg" /></figure><p>Microsoft Teams chats are now integrated into Dynamics 365 Sales, and users can reply and continue conversations from within Dynamics:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*HOcHRUHKmELHIxF3.jpg" /></figure><p>Chat can be popped out to reply:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*Hwwic22t0beqcs4e.jpg" /></figure><p>A seller can also directly Call a customer, from within Dynamics, which opens a call screen in Dynamics:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/0*Yh45uR18_czrvOce.jpg" /></figure><p>The experience is being referred to as a “Team dialler”, and the title of the Dynamics pop-out is “Teams calls (preview)” so I think it’s fair to assume that this is a genuine Microsoft Teams call that’s being made, rather than an ACS call to a meeting in Teams or something. This is important because there are lots of reason why having both Teams and ACS in the mix could cause complications (see my Day 4 discussion about this in the <a href="https://learnacs.dev/">Learn ACS series</a>).</p><p>In addition, transcription of the call takes place in real-time, with key information such as names, company names and amounts highlighted.</p><p>For meetings, there is also a new In-Meeting application for Dynamics 365 Sales which plays that same information, meaning that if sellers need to use the Teams client to watch/drive a presentation they can do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*6uuF7bjaqDpljQ_p.jpg" /></figure><p><strong>It’s not clear to me from the demo whether this in-meeting application experience will also be there for peer-to-peer calls or just for meetings. Right now in Microsoft Teams, in-meeting apps are just for meetings, and you can’t have them in peer-to-peer calls, so maybe that’s something that will come later.</strong></p><p>After the call wraps-up, from within Dynamics 365, a seller will be able to review the call, including the transcript, a recording, plus sentiment of the call:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*hZGE8bTTddW0ykrB.jpg" /></figure><h3>Dynamics 365 data available in Microsoft Teams</h3><p>Finally, there is a messaging extension for Dynamics 365 which allows users to quickly find and post Opportunities, Lead, Accounts and more:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*Hn3WaoCj6756WgyH.jpg" /></figure><p>This posts an adaptive card that can be edited (well, the basic information anyway) right from within Teams, without requiring a trip to Dynamics just to change a small detail:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*xjD5Sa4si04aRujK.jpg" /></figure><p>Users can also right-click a conversation message and create a Task in Dynamics directly from Teams:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/0*1OB0CBSDEd0I--Vw.jpg" /></figure><h3>Integrate Tasks between Dynamics &amp; Teams for first-line workers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*mDM-BtTvP5Y7VPmZ.jpg" /></figure><p>There are also integrations for first-line workers — specifically between tasks in Dynamics 365 Commerce and Microsoft Teams, giving end-users the choice of where they view and manage those tasks, and ensuring they always stay in sync.</p><p>Managers can create tasks in Teams, with integration to Dynamics meaning they can see all their stores — it’s not clear to me whether they HAVE to be imported as Teams and Channels as was shown or not:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*mj4eIy6GkcpBqixF.jpg" /></figure><p>Store manages can use their POS applications to view those Tasks, assign them and mark them completed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*GSxYBs9_Wvqksqzz.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*sF7-of_uxrYRJKv7.jpg" /></figure><p>Employees can use the Tasks application in Microsoft Teams (including on mobile) to view and update tasks:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*XGfUU4oavUhtBKu5.jpg" /></figure><p>Programmatic tasks and checking in customers for kerb-side pickup were also mentioned as features coming soon to this integration.</p><p>This is an impressive list of integration points, which I’m sure customers using both Dynamics 365 and Microsoft Teams will be eager to try out. For more information, I’d suggest watching the session <a href="https://myignite.microsoft.com/sessions/a69ffbe7-7793-447e-8dee-82d06eee0873?source=schedule">Microsoft Teams + Dynamics 365: The unified collaboration platform for modern business</a>, or reading the Microsoft blog post: <a href="https://cloudblogs.microsoft.com/dynamics365/bdm/2021/03/02/dynamics-365-and-microsoft-teams-extend-collaboration-across-teams/">Dynamics 365 and Microsoft Teams: extend collaboration across teams</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6fea6e9f993" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>