title: OfficeApp manifest permissions element failed while installation
body: <p>When uploading my OfficeApp manifest to get installed to Outlook add-in, I get the following error:</p>
  
  <p>'The app list for the mailbox can't be read for the following reason: The value of the //owe1_1:Permissions element, ReadWriteDocument, is invalid..
  OK'</p>
  
  <p>when my permission is:</p>
  
  <pre><code>  &lt;Permissions&gt;ReadWriteDocument&lt;/Permissions&gt;
  </code></pre>
  
  <p>and when I change it to ReadWriteMailbox I get the following:</p>
  
  <p>This app can't be installed. The manifest file doesn't conform to the schema definition. The '<a href="http://schemas.microsoft.com/office/appforoffice/1.1:Permissions" rel="nofollow noreferrer">http://schemas.microsoft.com/office/appforoffice/1.1:Permissions</a>' element is invalid - The value 'ReadWriteMailbox' is invalid according to its datatype 'String' - The Enumeration constraint failed... The '<a href="http://schemas.microsoft.com/office/appforoffice/1.1:Permissions" rel="nofollow noreferrer">http://schemas.microsoft.com/office/appforoffice/1.1:Permissions</a>' element is invalid - The value 'ReadWriteMailbox' is invalid according to its datatype 'String' - The Enumeration constraint failed. The Enumeration constraint failed.'</p>
  
  <p>and here is the changed permission:</p>
  
  <pre><code>  &lt;Permissions&gt;ReadWriteMailbox&lt;/Permissions&gt;
  </code></pre>
  
  <p>However it works in the Word by <code>ReadWriteDocument</code> permisson normally, How can I resolve it?</p>
  
  <p>And here is the full manifest file code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9--&gt;
  &lt;OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TaskPaneApp"&gt;
    &lt;Id&gt;da977793-c2c9-41e3-86f9-27c6889cf9e5&lt;/Id&gt;
    &lt;Version&gt;1.0.0.0&lt;/Version&gt;
    &lt;ProviderName&gt;[Provider name]&lt;/ProviderName&gt;
    &lt;DefaultLocale&gt;en-US&lt;/DefaultLocale&gt;
    &lt;DisplayName DefaultValue="OfficeApp1" /&gt;
    &lt;Description DefaultValue="OfficeApp1"/&gt;
    &lt;IconUrl DefaultValue="~remoteAppUrl/Images/taskpane_32x.png" /&gt;
    &lt;Hosts&gt;
      &lt;Host Name="Document" /&gt;
    &lt;/Hosts&gt;
    &lt;Requirements&gt;
      &lt;Sets&gt;
        &lt;Set Name="DocumentEvents" MinVersion="1.1" /&gt;
        &lt;Set Name="File" MinVersion="1.1" /&gt;
        &lt;Set Name="Selection" MinVersion="1.1" /&gt;
        &lt;Set Name="Settings" MinVersion="1.1" /&gt;
        &lt;Set Name="TextFile" MinVersion="1.1" /&gt;
        &lt;Set Name="TextCoercion" MinVersion="1.1" /&gt;
        &lt;Set Name="TextBindings" MinVersion="1.1" /&gt;
        &lt;Set Name="BindingEvents" MinVersion="1.1" /&gt;
      &lt;/Sets&gt;
    &lt;/Requirements&gt;
    &lt;DefaultSettings&gt;
      &lt;SourceLocation DefaultValue="https://localhost:44300/App/Home/Home.html" /&gt;
    &lt;/DefaultSettings&gt;
    &lt;Permissions&gt;ReadWriteMailbox&lt;/Permissions&gt;
  &lt;/OfficeApp&gt;
  </code></pre>