title: Publishing Outlook add-in which uses Outlook preview element - SupportsSharedFolders
body: <p>I am developing Outlook add-in which will work with shared mailboxes.
  Currently, office add-ins are not available on delegate scenarios but MS has released preview build which supports these scenarios.
  <code>https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/supportssharedfolders</code></p>
  
  <p>My problem is since the manifest.xml has preview elements; I can't upload the it at <code>outlook.office365.com</code> under <code>my add-ins</code>. I get following error.</p>
  
  <p><code>This app can't be installed. The manifest file doesn't conform to the schema definition. The element 'DesktopFormFactor' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides/1.1' has invalid child element 'SupportsSharedFolders' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides/1.1'. List of possible elements expected: 'ExtensionPoint' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides/1.1'... The element 'DesktopFormFactor' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides/1.1' has invalid child element 'SupportsSharedFolders' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides/1.1'. List of possible elements expected: 'ExtensionPoint' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides/1.1'.
  </code></p>
  
  <p>Anyone know any other way to deploy the add-in for users or even test it out without being to upload xml file?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Copy of my manifest.xml file is here.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;OfficeApp
            xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
            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"
            xsi:type="MailApp"&gt;
  
    &lt;Version&gt;1.0.0.0&lt;/Version&gt;
    &lt;ProviderName&gt;&lt;/ProviderName&gt;
    &lt;DefaultLocale&gt;en-US&lt;/DefaultLocale&gt;
    &lt;DisplayName DefaultValue="Sample1" /&gt;
    &lt;Description DefaultValue="First Sample Angular Add-in"/&gt;
    &lt;IconUrl DefaultValue="xxxx.jpg" /&gt;
    &lt;HighResolutionIconUrl DefaultValue="https://localhost:3000/assets/hi-res-icon.png"/&gt;
  
    &lt;!--If you plan to submit this add-in to the Office Store, uncomment the SupportUrl element below--&gt;
    &lt;SupportUrl DefaultValue="https://localhost:3000/support.html" /&gt;
  
    &lt;!-- Domains that will be allowed when navigating. For example, if you use ShowTaskpane and then have an href link, navigation will only be allowed if the domain is on this list. --&gt;
    &lt;AppDomains&gt;
      &lt;AppDomain&gt;AppDomain1&lt;/AppDomain&gt;
      &lt;AppDomain&gt;AppDomain2&lt;/AppDomain&gt;
      &lt;AppDomain&gt;AppDomain3&lt;/AppDomain&gt;
    &lt;/AppDomains&gt;
    &lt;!--End Basic Settings. --&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://localhost:3000/index.html"/&gt;
          &lt;RequestedHeight&gt;250&lt;/RequestedHeight&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="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;Description resid="residDescription" /&gt;
      &lt;Requirements&gt;
        &lt;bt:Sets DefaultMinVersion="1.3"&gt;
          &lt;bt:Set Name="Mailbox" /&gt;
        &lt;/bt:Sets&gt;
      &lt;/Requirements&gt;
      &lt;Hosts&gt;
        &lt;Host xsi:type="MailHost"&gt;
          &lt;!-- add information on form factors --&gt;
        &lt;/Host&gt;
      &lt;/Hosts&gt;
      &lt;Resources&gt;
        &lt;!-- add information on resources --&gt;
      &lt;/Resources&gt;
  
      &lt;VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1"&gt;
      &lt;Requirements&gt;
        &lt;bt:Sets DefaultMinVersion="1.3"&gt;
          &lt;bt:Set Name="Mailbox" /&gt;
        &lt;/bt:Sets&gt;
      &lt;/Requirements&gt;
      &lt;Hosts&gt;
        &lt;Host xsi:type="MailHost"&gt;
  
          &lt;DesktopFormFactor&gt;
            &lt;!-- Location of the Functions that UI-less buttons can trigger (ExecuteFunction Actions). --&gt;
            &lt;FunctionFile resid="functionFile" /&gt;
            &lt;SupportsSharedFolders&gt;true&lt;/SupportsSharedFolders&gt;
            &lt;!-- Message Read --&gt;
            &lt;ExtensionPoint xsi:type="MessageReadCommandSurface"&gt;
              &lt;!-- Use the default tab of the ExtensionPoint or create your own with &lt;CustomTab id="myTab"&gt; --&gt;
              &lt;OfficeTab id="TabDefault"&gt;
                &lt;!-- Up to 6 Groups added per Tab --&gt;
                &lt;Group id="msgReadGroup"&gt;
                  &lt;Label resid="groupLabel" /&gt;
                  &lt;!-- Launch the add-in : task pane button --&gt;
                  &lt;Control xsi:type="Button" id="msgReadOpenPaneButton"&gt;
                    &lt;Label resid="paneReadButtonLabel" /&gt;
                    &lt;Supertip&gt;
                      &lt;Title resid="paneReadSuperTipTitle" /&gt;
                      &lt;Description resid="paneReadSuperTipDescription" /&gt;
                    &lt;/Supertip&gt;
                    &lt;Icon&gt;
                      &lt;bt:Image size="16" resid="icon16" /&gt;
                      &lt;bt:Image size="32" resid="icon32" /&gt;
                      &lt;bt:Image size="80" resid="icon80" /&gt;
                    &lt;/Icon&gt;
                    &lt;Action xsi:type="ShowTaskpane"&gt;
                      &lt;SourceLocation resid="messageReadTaskPaneUrl" /&gt;
                    &lt;/Action&gt;
                  &lt;/Control&gt;
                  &lt;!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu --&gt;
                &lt;/Group&gt;
              &lt;/OfficeTab&gt;
            &lt;/ExtensionPoint&gt;
            &lt;!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee --&gt;
          &lt;/DesktopFormFactor&gt;
        &lt;/Host&gt;
      &lt;/Hosts&gt;
      &lt;Resources&gt;
        &lt;!-- add information on resources --&gt;
      &lt;/Resources&gt;
      &lt;/VersionOverrides&gt;
    &lt;/VersionOverrides&gt;
  &lt;/OfficeApp&gt;
  
  </code></pre>