<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>All Things Messaging</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/artdb/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/artdb/feed.xml</link>
    <description>354 Send data. End with CRLF.CRLF</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:44:30 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Using Microsoft Flow to Curate Social Media Data</title>
      <link>https://docs.microsoft.com/archive/blogs/artdb/using-microsoft-flow-to-curate-social-media-data</link>
      <pubDate>Mon, 25 Sep 2017 02:00:17 GMT</pubDate>
      <dc:creator><![CDATA[Arthel Bibbens [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/artdb/?p=165</guid>
      <description><![CDATA[With all the buzz surrounding the Microsoft Ignite conference I wanted to make sure I am able to...]]></description>
      <content:encoded><![CDATA[With all the buzz surrounding the Microsoft Ignite conference I wanted to make sure I am able to stay up to date with the announcements that are released throughout the week. I'm most passionate about the collaboration space, so there are a few technologies where I am interested in consuming just about anything that is written or discussed about them. I typically check Twitter throughout the day for the latest updates.

It can be a challenge at times to sift through all of my tweets to find the most relevant information when I need it most. This sounded like a problem I could solve with Microsoft Flow. Microsoft Flow is a cloud-based service that makes it practical and simple to build workflows that automate time-consuming business tasks and processes across applications and services.

Here is a quick walkthrough of how I used Flow to find tweets, based on specific search criteria, and have them emailed to me for review at my leisure. Flow is collecting the data and storing it in the location of my choice (in this case, a sub-folder of my Outlook Inbox).

The simplest way for me to get started was to search for a template that fit my scenario. Flow connects to over 100 different services such as Office 365, Twitter, Facebook, SQL Server, and more. I was able to find the <em>Email yourself new Tweets about a certain keyword</em> template after a quick search for Twitter in the Social Media category. Flow needs to connect to Twitter and Outlook.com <strong>Services</strong> as the source and destination of data within the flow.

<img width="471" height="449" class="wp-image-175 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/09/EmailyourselfnewTweets-1024x975.jpg" />The template contains the basic building blocks of a flow. Each flow contains a combination of triggers, actions, conditions, and loops.
<ul>
 	<li><strong>Triggers</strong> are events that start a flow.</li>
 	<li><strong>Actions</strong> are tasks accomplished by the flow.</li>
 	<li><strong>Conditions</strong> allow for branching if/then logic in a flow.</li>
 	<li><strong>Loops</strong> are for iterating over actions more than once.</li>
</ul>
Every flow starts with a <strong>trigger</strong>. In this scenario, the trigger is any tweet that contains specific keywords.

<img width="478" height="115" class="wp-image-185 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/09/trigger1-1024x247.jpg" />

Once the tweets have been collected, I want to gather some information about the Twitter users. I used an <strong>action</strong> to get the usernames and follower counts. Then I added a <strong>condition</strong> to cull my results to only users that have greater than 500 followers.

<img width="470" height="350" class="wp-image-195 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/09/actions-1024x763.jpg" />

Next I added another <strong>action</strong> to send an email to my email address.

<img width="474" height="408" class="wp-image-205 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/09/sendemailaction-1024x881.jpg" />

The nice thing about the Send Email action is that the criteria for the email body and subject are predefined. The only required change was to add my email address in the To field. I also added "#twt" to the Subject field. This gave me a unique identifier I could use in my Outlook rule to automatically move these emails to a specific folder.

I added one additional action: a push notification. This allows me to get a notification on my phone each time this flow delivers an email to my mailbox. You must have the Flow app* installed on your mobile device for the push notifications to work. In addition to providing push notifications, the Flow app has much of the same functionality as the web portal.

This scenario demonstrates "the art of the possible" with Microsoft Flow. As an IT professional, I am using it as a tool to enable me to remain current with the latest industry news. However, this only scratches the surface of how you can use Flow to automate business processes - approval workflows, dissemination of sales leads, collection of data to be stored in the cloud or on-premises, and much more.

Microsoft Flow is part of a powerful and adaptable business application platform that includes PowerApps, the Common Data Service, Dynamics 365, and Office 365. You can check out the <a href="https://flow.microsoft.com/en-us/guided-learning/">Guided Learning </a>section of the Flow site to gain a deeper understanding of its capabilities or you can sign-up for free <a href="https://flow.microsoft.com/en-us/pricing/">plan</a> to begin building flows.

*The Flow app is available for <a href="https://play.google.com/store/apps/details?id=com.microsoft.flow">Android</a>, <a href="https://itunes.apple.com/us/app/microsoft-flow/id1094928825?mt=8">iOS</a>, and <a href="https://aka.ms/flowmobilewindows">Windows</a> Phone.]]></content:encoded>
    </item>
    <item>
      <title>Administering Office Add-ins within Exchange 2013 and Exchange 2016</title>
      <link>https://docs.microsoft.com/archive/blogs/artdb/administering-office-add-ins-within-exchange-2013-and-exchange-2016</link>
      <pubDate>Fri, 07 Oct 2016 19:08:28 GMT</pubDate>
      <dc:creator><![CDATA[Arthel Bibbens [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/artdb/?p=35</guid>
      <description><![CDATA[I recently worked with a developer to deploy an Office add-in within an Exchange 2013 on-premises...]]></description>
      <content:encoded><![CDATA[I recently worked with a developer to deploy an Office add-in within an Exchange 2013 on-premises environment. This project highlighted a capability of Exchange and Outlook that is a huge shift in the way mail add-ins are developed, deployed, and maintained. Let's take a look at the key components of Exchange 2013 that support this capability.

<strong>Office Add-in Primer for Exchange Administrators</strong>

Office Add-ins, formerly termed apps for Office, is a platform that allows developers to use web-based tools to build apps that are displayed within the Outlook Reading Pane or inspector window. This function is native to Exchange 2013 and Exchange 2016. As an Exchange administrator, you have granular control over its use within the environment.

You can use the Exchange Management Shell (EMS) to display the relevant configuration settings.

<code>Get-OrganizationConfig | Format-List AppsForOfficeEnabled</code>

<img src="https://msdnshared.blob.core.windows.net/media/2016/10/1-GetOrgConfig-1024x130.jpg" alt="1-GetOrgConfig" width="859" height="109" class="alignnone wp-image-95" />

You will see that this functionality is enabled by default. Setting AppsForOfficeEnabled to $false will prevent <em>new</em> apps from being published by the user or Exchange administrator.

The Get-App cmdlet is a quick and easy way to list all apps that are available within your Exchange environment.

<code>Get-App | Format-Table DisplayName,AppID,AppVersion,Enabled,DefaultStateForUser -Autosize</code>

<img src="https://msdnshared.blob.core.windows.net/media/2016/10/2-GetApp1-1024x202.jpg" alt="2-GetApp" width="862" height="170" class="alignnone wp-image-105" />

All native apps are enabled by default; this means the Exchange server will advertise them to the Outlook client. Whether they are displayed or not is determined by the configuration of the add-in. Outlook will only activate a contextual add-in if the activation conditions are met. For example, the Suggested Meetings add-in will only activate when Outlook detects a message that includes a reference to an event or meeting. Let’s say I receive an e-mail from a colleague that includes the text, <em>"I would like to meet with you tomorrow after 3PM"</em>.  This event would trigger the Suggested Meetings mail app to appear within the inspector window.

<img src="https://msdnshared.blob.core.windows.net/media/2016/10/6-SuggestedMeeting.jpg" alt="6-SuggestedMeeting" width="528" height="480" class="alignnone size-full wp-image-155" />

<strong>Office Add-In Components</strong>

Native apps are made available to your Exchange user community with no administrative effort, they just work! However, you can incorporate 3rd-party add-ins that extend the capability of messaging related applications. You can also publish add-ins that have been developed by your company's software development staff.  Add-ins that integrate with Outlook are referred to as mail apps.

The basic components of an Office add-in are an XML manifest file and a webpage. The manifest defines the basic logic of the add-in and points to the webpage that implements the app UI and custom logic. The Exchange server is responsible for storing and advertising the manifest XML file for mail apps. The Get-App cmdlet displays the settings from the manifest XML file. A snippet of the Suggesting Meetings mail app manifest is included below.

<code>Get-App -Identity bc13b9d0-5ba2-446a-956b-c583bdc94d5e | FL DisplayName,Description,ManifestXML</code>

<img src="https://msdnshared.blob.core.windows.net/media/2016/10/3-GetManifest1-1024x242.jpg" alt="3-GetManifest" width="876" height="207" class="alignnone wp-image-115" />

<img src="https://msdnshared.blob.core.windows.net/media/2016/10/4-GetManifest2-1024x175.jpg" alt="4-GetManifest" width="878" height="150" class="alignnone wp-image-145" />

I’ve omitted sections of the manifest to make the data a little easier to read. The key takeaways are the cmdlet syntax and some of the data points, such as DisplayName, Permissions, and Rule configuration. A full description of the Office Add-ins XML manifest can be found at the <a href="https://dev.office.com/docs/add-ins/overview/add-in-manifests">Office Dev Center.</a>

The manifest only needs to be published once for your organization. The published XML data is stored in the SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c} arbitration mailbox by default. Use the following cmdlet syntax to confirm your environment is using the default mailbox for storage of the manifests.

<code>Get-Mailbox -Arbitration | Where-Object {$_.PersistedCapabilities -like "OrganizationCapabilityClientExtensions"} | Format-List Name,PersistedCapabilities</code>

<img src="https://msdnshared.blob.core.windows.net/media/2016/10/5-GetArbitrationMailbox1-1024x190.jpg" alt="5-GetArbitrationMailbox" width="889" height="165" class="alignnone wp-image-135" />

Hopefully this information helps with your understanding of how Exchange enables the advertisement of Office add-ins. Outlook 2013 and newer clients are programmed to automatically read the manifests on startup. As users view or compose items in Outlook, their operations are checked against the activation conditions of the mail app. Outlook displays the app when the conditions are met. Mail apps can also be set to mandatory, which means they are always displayed by the client.

<span>David Craig, Office PFE, recently published an article titled </span><a href="https://davecra.com/2016/10/03/developing-an-on-premises-web-add-in/">Developing an On-premises Web Add-in</a>. I recommend bouncing over to his blog if you are interested in learning how to code Office apps for on-premises scenarios.]]></content:encoded>
    </item>
  </channel>
</rss>