{"id":1275,"date":"2017-12-14T22:50:55","date_gmt":"2017-12-15T06:50:55","guid":{"rendered":"https:\/\/officedevblogs.wpengine.com\/?p=1275"},"modified":"2021-11-15T10:30:37","modified_gmt":"2021-11-15T18:30:37","slug":"announcing-add-in-support-for-gmail-accounts-in-mac-outlook","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/announcing-add-in-support-for-gmail-accounts-in-mac-outlook\/","title":{"rendered":"Announcing add-in support for Gmail accounts in Mac Outlook"},"content":{"rendered":"<header class=\"entry-header single\">\n<hr \/>\n<\/header>\n<div class=\"entry-content single\">\n<p>In March, we announced\u00a0<a href=\"https:\/\/blogs.office.com\/en-us\/2017\/03\/01\/outlook-2016-for-mac-adds-support-for-google-calendar-and-contacts\/\">support for Gmail accounts in Outlook 2016 for Mac<\/a>. Today we&#8217;re happy to announce preview add-in support for Gmail accounts in Outlook 2016 for Mac.<\/p>\n<h2 id=\"limitations\">Limitations<\/h2>\n<p>When add-ins are loaded in a Gmail mailbox, there are a few limitations to take into account.<\/p>\n<ul>\n<li>You cannot use Exchange Web Services (EWS) to access items in the Gmail mailbox. This means that you cannot use\u00a0<code>makeEwsRequestAsync<\/code>\u00a0or use an EWS callback token from\u00a0<code>getCallbackTokenAsync<\/code>\u00a0to make EWS calls directly. Instead, you can get the same type of access to the items in the mailbox by\u00a0<a href=\"https:\/\/docs.microsoft.com\/outlook\/add-ins\/use-rest-api\">using the Outlook REST APIs<\/a>.<\/li>\n<li>You cannot get a single-sign-on token using\u00a0<code>getAccessTokenAsync<\/code>. Instead, you can use the\u00a0<a href=\"https:\/\/docs.microsoft.com\/outlook\/add-ins\/authenticate-a-user-with-an-identity-token\">Exchange identity token<\/a>.<\/li>\n<\/ul>\n<h2 id=\"new-api-features\">New API features<\/h2>\n<p>In order to allow your add-in to determine what type of mailbox it is loaded in, we&#8217;ve added a new property to\u00a0<a href=\"https:\/\/dev.office.com\/reference\/add-ins\/outlook\/preview\/Office.context.mailbox.userProfile?product=outlook&amp;version=preview\">Office.context.mailbox.userProfile<\/a>\u00a0called\u00a0<code>accountType<\/code>. This property is a string and can return one of the following values:<\/p>\n<table>\n<thead>\n<tr>\n<th>Value<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>enterprise<\/code><\/td>\n<td>The mailbox is on an on-premises Exchange server.<\/td>\n<\/tr>\n<tr>\n<td><code>gmail<\/code><\/td>\n<td>The mailbox is associated with a Gmail account.<\/td>\n<\/tr>\n<tr>\n<td><code>office365<\/code><\/td>\n<td>The mailbox is associated with an Office 365 work or school account.<\/td>\n<\/tr>\n<tr>\n<td><code>outlookCom<\/code><\/td>\n<td>The mailbox is associated with a personal Outlook.com account.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Note:<\/strong>\u00a0This property is currently only implemented in Outlook 2016 for Mac.<\/p>\n<h2 id=\"get-access-to-the-preview\">Get access to the preview<\/h2>\n<p>Preview add-in support for Gmail mailboxes is available for users that are part of the\u00a0<a href=\"https:\/\/products.office.com\/en-in\/office-insider?tab=Mac\">Office Insider Fast program<\/a>. The minimum build number is 16.9.1212.<\/p>\n<h2 id=\"call-to-action\">Call to action<\/h2>\n<p>Other than accounting for the limitations mentioned previously, there are no specific changes that need to be made in order for your add-in to work in Gmail mailboxes. However, if your add-in is listed in the Office Store, you&#8217;ll need to resubmit it for validation before it will show up in the store for Gmail users.<\/p>\n<p>Try your add-in with a Gmail mailbox today, and give us feedback on\u00a0<a href=\"https:\/\/officespdev.uservoice.com\/\">UserVoice<\/a>.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In March, we announced\u00a0support for Gmail accounts in Outlook 2016 for Mac. Today we&#8217;re happy to announce preview add-in support for Gmail accounts in Outlook 2016 for Mac.<\/p>\n","protected":false},"author":69108,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[12],"class_list":["post-1275","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office-add-ins","tag-outlook"],"acf":[],"blog_post_summary":"<p>In March, we announced\u00a0support for Gmail accounts in Outlook 2016 for Mac. Today we&#8217;re happy to announce preview add-in support for Gmail accounts in Outlook 2016 for Mac.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69108"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=1275"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1275\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=1275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=1275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=1275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}