title: Getting Permission Denied console message while executing OfficeItem.organizer.getAsync in Office365
body: <p>In office 365 (version 1803) locally installed outlook(desktop client).
  We have added our plugin which appears in the side panel. It fetches some field information from desktop outlook using outlook API's. It requires information about these 5 field properties from desktop outlook: "subject", "itemId", "organizer", "requiredAttendees", "optionalAttendees"</p>
  
  <p>We use the getAsync API for this in compose mode of Appointment to fetch these values.</p>
  
  <p>Example: </p>
  
  <ol>
  <li><p>In case of subject we get correct response in console.</p>
  
  <pre><code>window.Office.context.mailbox.item.subject.getAsync(function(res){console.log(res)});
  </code></pre></li>
  </ol>
  
  <blockquote>
    <p>output: <code>{status:"succeeded", value: "appointment1"}</code></p>
  </blockquote>
  
  <ol start="2">
  <li><p>In case of organizer</p>
  
  <pre><code>window.Office.context.mailbox.item.organizer.getAsync(function(res){console.log(res)});
  </code></pre></li>
  </ol>
  
  <blockquote>
    <p>output : <strong>Permission Denied</strong> </p>
  </blockquote>
  
  <p>Please see the attached image for the console error message.</p>
  
  <p>Notes: 
  The same flow works fine in Outlook Web APP (OWA) in Internet Explorer browser.</p>
  
  <p>We tried the above scenario in create and update flows from native outlook.</p>
  
  <p>Does anyone knows the reason of this issue?
  What can I do to resolve this issue in my locally installed outlook client?</p>
  
  <p><a href="https://i.stack.imgur.com/H6uco.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H6uco.png" alt="console screenshot"></a> </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9--&gt;
  &lt;OfficeApp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
             xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides"
             xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xsi:type="MailApp"&gt;
      &lt;Id&gt;69833250-ebab-4f58-8606-59df2b358121&lt;/Id&gt;
      &lt;Version&gt;1.0.0.0&lt;/Version&gt;
      &lt;ProviderName&gt;Oracle&lt;/ProviderName&gt;
      &lt;DefaultLocale&gt;en-US&lt;/DefaultLocale&gt;
      &lt;DisplayName DefaultValue="Engagement Cloud"/&gt;
      &lt;Description DefaultValue="fuscdrmsmc151-fa-ext.us.oracle.com"/&gt;
      &lt;IconUrl DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/css/images/osc_icon_80.png"/&gt;
      &lt;HighResolutionIconUrl DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/css/images/osc_icon_80.png"/&gt;
      &lt;AppDomains&gt;
          &lt;AppDomain&gt;https://login.microsoftonline.com/&lt;/AppDomain&gt;
      &lt;/AppDomains&gt;
      &lt;Hosts&gt;
          &lt;Host Name="Mailbox"/&gt;
      &lt;/Hosts&gt;
      &lt;Requirements&gt;
          &lt;Sets&gt;
              &lt;Set Name="MailBox" MinVersion="1.1"/&gt;
          &lt;/Sets&gt;
      &lt;/Requirements&gt;
      &lt;FormSettings&gt;
          &lt;Form xsi:type="ItemRead"&gt;
              &lt;DesktopSettings&gt;
                  &lt;SourceLocation DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/index.html"/&gt;
                  &lt;RequestedHeight&gt;250&lt;/RequestedHeight&gt;
              &lt;/DesktopSettings&gt;
          &lt;/Form&gt;
          &lt;Form xsi:type="ItemEdit"&gt;
              &lt;DesktopSettings&gt;
                  &lt;SourceLocation DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/index.html?rc_channel=COMPOSE"/&gt;
              &lt;/DesktopSettings&gt;
          &lt;/Form&gt;
      &lt;/FormSettings&gt;
      &lt;Permissions&gt;ReadWriteItem&lt;/Permissions&gt;
      &lt;Rule xsi:type="RuleCollection" Mode="Or"&gt;
          &lt;Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit"/&gt;
          &lt;Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/&gt;
          &lt;Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit"/&gt;
          &lt;Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Read"/&gt;
      &lt;/Rule&gt;
      &lt;DisableEntityHighlighting&gt;false&lt;/DisableEntityHighlighting&gt;
      &lt;VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides"
                        xsi:type="VersionOverridesV1_0"&gt;
          &lt;Hosts&gt;
              &lt;Host xsi:type="MailHost"&gt;
                  &lt;DesktopFormFactor&gt;
                      &lt;FunctionFile resid="functionFile"/&gt;
                      &lt;ExtensionPoint xsi:type="MessageReadCommandSurface"&gt;
                          &lt;OfficeTab id="TabDefaultRead"&gt;
                              &lt;Group id="oscReadGroup"&gt;
                                  &lt;Label resid="groupLabel"/&gt;
                                  &lt;Tooltip resid="groupTooltip"/&gt;
  
                                  &lt;Control xsi:type="Button" id="oscReadButton"&gt;
                                      &lt;Label resid="buttonLabel"/&gt;
                                      &lt;Tooltip resid="buttonTooltip"/&gt;
                                      &lt;Supertip&gt;
                                          &lt;Title resid="superTipTitle"/&gt;
                                          &lt;Description resid="superTipDescription"/&gt;
                                      &lt;/Supertip&gt;
                                      &lt;Icon&gt;
                                          &lt;bt:Image size="16" resid="osc_icon_16x16"/&gt;
                                          &lt;bt:Image size="32" resid="osc_icon_32x32"/&gt;
                                          &lt;bt:Image size="80" resid="osc_icon_80x80"/&gt;
                                      &lt;/Icon&gt;
                                      &lt;Action xsi:type="ShowTaskpane"&gt;
                                          &lt;SourceLocation resid="residOscHomeUrl"/&gt;
                                      &lt;/Action&gt;
                                  &lt;/Control&gt;
                              &lt;/Group&gt;
                          &lt;/OfficeTab&gt;
                      &lt;/ExtensionPoint&gt;
                      &lt;ExtensionPoint xsi:type="MessageComposeCommandSurface"&gt;
                          &lt;OfficeTab id="TabDefaultCompose"&gt;
                              &lt;Group id="oscComposeGroup"&gt;
                                  &lt;Label resid="groupLabel"/&gt;
                                  &lt;Tooltip resid="groupTooltip"/&gt;
  
                                  &lt;Control xsi:type="Button" id="oscComposeButton"&gt;
                                      &lt;Label resid="buttonLabel"/&gt;
                                      &lt;Tooltip resid="buttonTooltip"/&gt;
                                      &lt;Supertip&gt;
                                          &lt;Title resid="superTipTitle"/&gt;
                                          &lt;Description resid="superTipDescription"/&gt;
                                      &lt;/Supertip&gt;
                                      &lt;Icon&gt;
                                          &lt;bt:Image size="16" resid="osc_icon_16x16"/&gt;
                                          &lt;bt:Image size="32" resid="osc_icon_32x32"/&gt;
                                          &lt;bt:Image size="80" resid="osc_icon_80x80"/&gt;
                                      &lt;/Icon&gt;
                                      &lt;Action xsi:type="ShowTaskpane"&gt;
                                          &lt;SourceLocation resid="residOscHomeEditUrl"/&gt;
                                      &lt;/Action&gt;
                                  &lt;/Control&gt;
                              &lt;/Group&gt;
                          &lt;/OfficeTab&gt;
                      &lt;/ExtensionPoint&gt;
                      &lt;ExtensionPoint xsi:type="AppointmentAttendeeCommandSurface"&gt;
                          &lt;OfficeTab id="TabDefaultApptRead"&gt;
                              &lt;Group id="oscApptReadGroup"&gt;
                                  &lt;Label resid="groupLabel"/&gt;
                                  &lt;Tooltip resid="groupTooltip"/&gt;
  
                                  &lt;Control xsi:type="Button" id="oscApptReadButton"&gt;
                                      &lt;Label resid="buttonLabel"/&gt;
                                      &lt;Tooltip resid="buttonTooltip"/&gt;
                                      &lt;Supertip&gt;
                                          &lt;Title resid="superTipTitle"/&gt;
                                          &lt;Description resid="superTipDescription"/&gt;
                                      &lt;/Supertip&gt;
                                      &lt;Icon&gt;
                                          &lt;bt:Image size="16" resid="osc_icon_16x16"/&gt;
                                          &lt;bt:Image size="32" resid="osc_icon_32x32"/&gt;
                                          &lt;bt:Image size="80" resid="osc_icon_80x80"/&gt;
                                      &lt;/Icon&gt;
                                      &lt;Action xsi:type="ShowTaskpane"&gt;
                                          &lt;SourceLocation resid="residOscHomeUrl"/&gt;
                                      &lt;/Action&gt;
                                  &lt;/Control&gt;
                              &lt;/Group&gt;
                          &lt;/OfficeTab&gt;
                      &lt;/ExtensionPoint&gt;
                      &lt;ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface"&gt;
                          &lt;OfficeTab id="TabDefaultApptCompose"&gt;
                              &lt;Group id="oscApptComposeGroup"&gt;
                                  &lt;Label resid="groupLabel"/&gt;
                                  &lt;Tooltip resid="groupTooltip"/&gt;
                                  &lt;Control xsi:type="Button" id="oscApptComposeButton"&gt;
                                      &lt;Label resid="buttonLabel"/&gt;
                                      &lt;Tooltip resid="buttonTooltip"/&gt;
                                      &lt;Supertip&gt;
                                          &lt;Title resid="superTipTitle"/&gt;
                                          &lt;Description resid="superTipDescription"/&gt;
                                      &lt;/Supertip&gt;
                                      &lt;Icon&gt;
                                          &lt;bt:Image size="16" resid="osc_icon_16x16"/&gt;
                                          &lt;bt:Image size="32" resid="osc_icon_32x32"/&gt;
                                          &lt;bt:Image size="80" resid="osc_icon_80x80"/&gt;
                                      &lt;/Icon&gt;
                                      &lt;Action xsi:type="ShowTaskpane"&gt;
                                          &lt;SourceLocation resid="residOscHomeEditUrl"/&gt;
                                      &lt;/Action&gt;
                                  &lt;/Control&gt;
                              &lt;/Group&gt;
                          &lt;/OfficeTab&gt;
                      &lt;/ExtensionPoint&gt;
                  &lt;/DesktopFormFactor&gt;
              &lt;/Host&gt;
          &lt;/Hosts&gt;
          &lt;Resources&gt;
              &lt;bt:Images&gt;
                  &lt;bt:Image id="osc_icon_16x16" DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/css/images/osc_icon_16.png"/&gt;
                  &lt;bt:Image id="osc_icon_32x32" DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/css/images/osc_icon_32.png"/&gt;
                  &lt;bt:Image id="osc_icon_80x80" DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/css/images/osc_icon_80.png"/&gt;
              &lt;/bt:Images&gt;
              &lt;bt:Urls&gt;
                  &lt;bt:Url id="residOscHomeUrl" DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/index.html"/&gt;
                  &lt;bt:Url id="residOscHomeEditUrl" DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/index.html?rc_channel=COMPOSE"/&gt;
              &lt;/bt:Urls&gt;
              &lt;bt:ShortStrings&gt;
                  &lt;bt:String id="groupLabel" DefaultValue="Engagement Cloud"/&gt;
                  &lt;bt:String id="buttonLabel" DefaultValue="Engagement Cloud"/&gt;
                  &lt;bt:String id="superTipTitle" DefaultValue="fuscdrmsmc151-fa-ext.us.oracle.com"/&gt;
              &lt;/bt:ShortStrings&gt;
              &lt;bt:LongStrings&gt;
                  &lt;bt:String id="groupTooltip" DefaultValue="Oracle Engagement Cloud actions"/&gt;
                  &lt;bt:String id="buttonTooltip" DefaultValue="Launches Oracle Engagement Cloud Application"/&gt;
                  &lt;bt:String id="superTipDescription" DefaultValue="Launches Oracle Engagement Cloud Application"/&gt;
              &lt;/bt:LongStrings&gt;
          &lt;/Resources&gt;
          &lt;VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1"
                            xsi:type="VersionOverridesV1_1"&gt;
              &lt;Hosts&gt;
                  &lt;Host xsi:type="MailHost"&gt;
                      &lt;DesktopFormFactor&gt;
                          &lt;FunctionFile resid="functionFile"/&gt;
                          &lt;ExtensionPoint xsi:type="MessageReadCommandSurface"&gt;
                              &lt;OfficeTab id="TabDefaultRead"&gt;
                                  &lt;Group id="oscReadGroup"&gt;
                                      &lt;Label resid="groupLabel"/&gt;
                                      &lt;Tooltip resid="groupTooltip"/&gt;
  
                                      &lt;Control xsi:type="Button" id="oscReadButton"&gt;
                                          &lt;Label resid="buttonLabel"/&gt;
                                          &lt;Tooltip resid="buttonTooltip"/&gt;
                                          &lt;Supertip&gt;
                                              &lt;Title resid="superTipTitle"/&gt;
                                              &lt;Description resid="superTipDescription"/&gt;
                                          &lt;/Supertip&gt;
                                          &lt;Icon&gt;
                                              &lt;bt:Image size="16" resid="osc_icon_16x16"/&gt;
                                              &lt;bt:Image size="32" resid="osc_icon_32x32"/&gt;
                                              &lt;bt:Image size="80" resid="osc_icon_80x80"/&gt;
                                          &lt;/Icon&gt;
                                          &lt;Action xsi:type="ShowTaskpane"&gt;
                                              &lt;SourceLocation resid="residOscHomeUrl"/&gt;
                                              &lt;SupportsPinning&gt;true&lt;/SupportsPinning&gt;
                                          &lt;/Action&gt;
                                      &lt;/Control&gt;
                                  &lt;/Group&gt;
                              &lt;/OfficeTab&gt;
                          &lt;/ExtensionPoint&gt;
                          &lt;ExtensionPoint xsi:type="MessageComposeCommandSurface"&gt;
                              &lt;OfficeTab id="TabDefaultCompose"&gt;
                                  &lt;Group id="oscComposeGroup"&gt;
                                      &lt;Label resid="groupLabel"/&gt;
                                      &lt;Tooltip resid="groupTooltip"/&gt;
  
                                      &lt;Control xsi:type="Button" id="oscComposeButton"&gt;
                                          &lt;Label resid="buttonLabel"/&gt;
                                          &lt;Tooltip resid="buttonTooltip"/&gt;
                                          &lt;Supertip&gt;
                                              &lt;Title resid="superTipTitle"/&gt;
                                              &lt;Description resid="superTipDescription"/&gt;
                                          &lt;/Supertip&gt;
                                          &lt;Icon&gt;
                                              &lt;bt:Image size="16" resid="osc_icon_16x16"/&gt;
                                              &lt;bt:Image size="32" resid="osc_icon_32x32"/&gt;
                                              &lt;bt:Image size="80" resid="osc_icon_80x80"/&gt;
                                          &lt;/Icon&gt;
                                          &lt;Action xsi:type="ShowTaskpane"&gt;
                                              &lt;SourceLocation resid="residOscHomeEditUrl"/&gt;
                                              &lt;SupportsPinning&gt;true&lt;/SupportsPinning&gt;
                                          &lt;/Action&gt;
                                      &lt;/Control&gt;
                                  &lt;/Group&gt;
                              &lt;/OfficeTab&gt;
                          &lt;/ExtensionPoint&gt;
                          &lt;ExtensionPoint xsi:type="AppointmentAttendeeCommandSurface"&gt;
                              &lt;OfficeTab id="TabDefaultApptRead"&gt;
                                  &lt;Group id="oscApptReadGroup"&gt;
                                      &lt;Label resid="groupLabel"/&gt;
                                      &lt;Tooltip resid="groupTooltip"/&gt;
  
                                      &lt;Control xsi:type="Button" id="oscApptReadButton"&gt;
                                          &lt;Label resid="buttonLabel"/&gt;
                                          &lt;Tooltip resid="buttonTooltip"/&gt;
                                          &lt;Supertip&gt;
                                              &lt;Title resid="superTipTitle"/&gt;
                                              &lt;Description resid="superTipDescription"/&gt;
                                          &lt;/Supertip&gt;
                                          &lt;Icon&gt;
                                              &lt;bt:Image size="16" resid="osc_icon_16x16"/&gt;
                                              &lt;bt:Image size="32" resid="osc_icon_32x32"/&gt;
                                              &lt;bt:Image size="80" resid="osc_icon_80x80"/&gt;
                                          &lt;/Icon&gt;
                                          &lt;Action xsi:type="ShowTaskpane"&gt;
                                              &lt;SourceLocation resid="residOscHomeUrl"/&gt;
                                              &lt;SupportsPinning&gt;true&lt;/SupportsPinning&gt;
                                          &lt;/Action&gt;
                                      &lt;/Control&gt;
                                  &lt;/Group&gt;
                              &lt;/OfficeTab&gt;
                          &lt;/ExtensionPoint&gt;
                          &lt;ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface"&gt;
                              &lt;OfficeTab id="TabDefaultApptCompose"&gt;
                                  &lt;Group id="oscApptComposeGroup"&gt;
                                      &lt;Label resid="groupLabel"/&gt;
                                      &lt;Tooltip resid="groupTooltip"/&gt;
  
                                      &lt;Control xsi:type="Button" id="oscApptComposeButton"&gt;
                                          &lt;Label resid="buttonLabel"/&gt;
                                          &lt;Tooltip resid="buttonTooltip"/&gt;
                                          &lt;Supertip&gt;
                                              &lt;Title resid="superTipTitle"/&gt;
                                              &lt;Description resid="superTipDescription"/&gt;
                                          &lt;/Supertip&gt;
                                          &lt;Icon&gt;
                                              &lt;bt:Image size="16" resid="osc_icon_16x16"/&gt;
                                              &lt;bt:Image size="32" resid="osc_icon_32x32"/&gt;
                                              &lt;bt:Image size="80" resid="osc_icon_80x80"/&gt;
                                          &lt;/Icon&gt;
                                          &lt;Action xsi:type="ShowTaskpane"&gt;
                                              &lt;SourceLocation resid="residOscHomeEditUrl"/&gt;
                                              &lt;SupportsPinning&gt;true&lt;/SupportsPinning&gt;
                                          &lt;/Action&gt;
                                      &lt;/Control&gt;
                                  &lt;/Group&gt;
                              &lt;/OfficeTab&gt;
                          &lt;/ExtensionPoint&gt;
                      &lt;/DesktopFormFactor&gt;
                  &lt;/Host&gt;
              &lt;/Hosts&gt;
              &lt;Resources&gt;
                  &lt;bt:Images&gt;
                      &lt;bt:Image id="osc_icon_16x16"
                                DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/css/images/osc_icon_16.png"/&gt;
                      &lt;bt:Image id="osc_icon_32x32"
                                DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/css/images/osc_icon_32.png"/&gt;
                      &lt;bt:Image id="osc_icon_80x80"
                                DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/css/images/osc_icon_80.png"/&gt;
                  &lt;/bt:Images&gt;
                  &lt;bt:Urls&gt;
                      &lt;bt:Url id="residOscHomeUrl"
                              DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/index.html"/&gt;
                      &lt;bt:Url id="residOscHomeEditUrl"
                              DefaultValue="https://fuscdrmsmc151-fa-ext.us.oracle.com/crmUI/osc365/web/index.html?rc_channel=COMPOSE"/&gt;
                  &lt;/bt:Urls&gt;
                  &lt;bt:ShortStrings&gt;
                      &lt;bt:String id="groupLabel" DefaultValue="Engagement Cloud"/&gt;
                      &lt;bt:String id="buttonLabel" DefaultValue="Engagement Cloud"/&gt;
                      &lt;bt:String id="superTipTitle" DefaultValue="fuscdrmsmc151-fa-ext.us.oracle.com"/&gt;
                  &lt;/bt:ShortStrings&gt;
                  &lt;bt:LongStrings&gt;
                      &lt;bt:String id="groupTooltip" DefaultValue="Oracle Engagement Cloud actions"/&gt;
                      &lt;bt:String id="buttonTooltip" DefaultValue="Launches Oracle Engagement Cloud Application"/&gt;
                      &lt;bt:String id="superTipDescription" DefaultValue="Launches Oracle Engagement Cloud Application"/&gt;
                  &lt;/bt:LongStrings&gt;
              &lt;/Resources&gt;
          &lt;/VersionOverrides&gt;
      &lt;/VersionOverrides&gt;
  &lt;/OfficeApp&gt;</code></pre>
  </div>
  </div>
  </p>