2016-07-05 58 views
1

我们正在尝试向商店提交我们的第一个办公室外观插件,但由于Outlook webaccess 2013而被拒绝。我们正在尝试使用2013年不应该支持的1.3api,但是验证团队仍然为OWA 2013清单版本的验证Office365插件

测试在这个页面上微软明确指出,1.1所需的OWA 2013 http://dev.office.com/reference/add-ins/outlook/tutorial-api-requirement-sets

从验证团队的评价是: 外接程序不工作Windows 7上安装Internet Explorer 11的Outlook 2013客户端。用户无法向Hogia进行身份验证。在对O365和Hogia进行身份验证后,身份验证弹出窗口关闭,但用户未登录。

404错误不再在Fiddler跟踪中看到,但用户未登录到任务窗格,并且加载项不可用。

如果您不支持2013 SP1,因为您使用的API仅适用于2016/Online,则必须将这些API放在清单中的需求标记中。如果您未使用仅在2016年/在线提供的API,则必须支持2013 SP1。

以下是我们的匿名清单。关于如何限制插件只有1.3的任何想法。这可能是也应该是1.3的xml命名空间吗?

<?xml version="1.0" encoding="utf-8"?> 
<!-- For more information on using transformations 
    see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. --> 

<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/1.0" 
    xsi:type="MailApp"> 

    <Id>0ada1ef7-1cea-4e3a-b946-a234e777d07b</Id> 
    <Version>1.0.0.0</Version> 
    <ProviderName>Provider</ProviderName> 
    <DefaultLocale>sv-SE</DefaultLocale> 

    <DisplayName DefaultValue="Name"/> 
    <Description DefaultValue="Description"/> 
    <IconUrl DefaultValue="url" /> 
    <HighResolutionIconUrl DefaultValue="url" /> 
    <SupportUrl DefaultValue="url" /> 
    <Hosts> 
    <Host Name="Mailbox" /> 
    </Hosts> 

    <Requirements> 
    <Sets> 
     <Set Name="Mailbox" MinVersion="1.3" /> 
    </Sets> 
    </Requirements> 
    <!-- These elements support older clients that don't support add-in commands --> 
    <FormSettings> 
    <Form xsi:type="ItemEdit"> 
     <DesktopSettings> 
     <SourceLocation DefaultValue="url"/> 
     </DesktopSettings> 
     <TabletSettings> 
     <SourceLocation DefaultValue="url"/> 
     </TabletSettings> 
     <PhoneSettings> 
     <SourceLocation DefaultValue="url"/> 
     </PhoneSettings> 
    </Form> 
    </FormSettings> 

    <Permissions>ReadWriteMailbox</Permissions> 
    <Rule xsi:type="RuleCollection" Mode="Or"> 
    <Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit" /> 
    </Rule> 
    <DisableEntityHighlighting>false</DisableEntityHighlighting> 
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0"> 
    <Requirements> 
     <bt:Sets DefaultMinVersion="1.3"> 
     <bt:Set Name="Mailbox" /> 
     </bt:Sets> 
    </Requirements> 
    <Hosts> 
     <Host xsi:type="MailHost"> 

     <DesktopFormFactor> 
      <!-- Location of the Functions that UI-less buttons can trigger (ExecuteFunction Actions). --> 
      <FunctionFile resid="functionFile" /> 

      <!-- Message Read --> 
      <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface"> 
      <!-- Use the default tab of the ExtensionPoint or create your own with <CustomTab id="myTab"> --> 
      <OfficeTab id="TabDefault"> 
       <!-- Up to 6 Groups added per Tab --> 
       <Group id="apptComposeDemoGroup"> 
       <Label resid="groupLabel" /> 
       <!-- Launch the add-in : task pane button --> 
       <Control xsi:type="Button" id="apptComposeFunctionButton"> 
        <Label resid="funcComposeButtonLabel" /> 
        <Supertip> 
        <Title resid="funcComposeButtonLabel" /> 
        <Description resid="funcComposeSuperTipDescription" /> 
        </Supertip> 
        <Icon> 
        <bt:Image size="16" resid="icon16" /> 
        <bt:Image size="32" resid="icon32" /> 
        <bt:Image size="80" resid="icon80" /> 
        </Icon> 
        <Action xsi:type="ShowTaskpane"> 
        <SourceLocation resid="functionFile" /> 
        </Action> 
       </Control> 
       <!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu --> 
       </Group> 
      </OfficeTab> 
      </ExtensionPoint> 
      <!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee --> 
     </DesktopFormFactor> 
     </Host> 
    </Hosts> 

    <Resources> 
     <bt:Images> 
     <bt:Image id="icon16" DefaultValue="url"/> 
     <bt:Image id="icon32" DefaultValue="url"/> 
     <bt:Image id="icon80" DefaultValue="url"/> 
     </bt:Images> 
     <bt:Urls> 
     <bt:Url id="functionFile" DefaultValue="url"/> 
     </bt:Urls> 
     <bt:ShortStrings> 
     <bt:String id="groupLabel" DefaultValue="Name"/> 
     <bt:String id="funcComposeButtonLabel" DefaultValue="Name"/> 
     </bt:ShortStrings> 
     <bt:LongStrings> 
     <bt:String id="paneReadSuperTipDescription" DefaultValue="string"/> 
     <bt:String id="funcComposeSuperTipTitle" DefaultValue="string"/> 
     <bt:String id="funcComposeSuperTipDescription" DefaultValue="string"/> 
     </bt:LongStrings> 
    </Resources> 
    </VersionOverrides> 
</OfficeApp> 
+0

我相信你很困惑Outlook Web App 2013(Exchange 2013附带的OWA的本地版本)和Outlook 2013 for Windows。没有看到完整的验证报告,我无法给出明确的答案,但我相信他们将您的加载项标记为不适用于适用于Windows的Outlook 2013 SP1,而不适用于适用于Exchange 2013的OWA。 –

+0

感谢您的回答,可能是这种情况。我提供了上述验证的全部响应。 – forsmyr

+0

是的,问题是Windows 2013的Outlook。登录问题与正确接收令牌后的重定向有关。 Outlook 2013 for windows中的浏览器在其地址字段中具有相同的网址,因此浏览器认为它不需要重定向。 – forsmyr

回答

0

鉴于此问题在OAUTH附近,我建议您查看Dialog API。这个API的核心目的之一就是处理这种情况。

这里假设您对定位Outlook 2013不感兴趣。 Dialog API需要邮箱1.4,目前只支持2016年。通过要求1.4,外接程序不会在Outlook 2013中出现。