Outlook 插件在 Mac 上的新 Outlook 中的共享邮箱中不起作用

Outlook Addin does not work in shared mailbox in new Outlook on Mac

我开发了一个应该在共享邮箱中使用的小型 Outlook 插件。

问题如下:

在 mac 的“新”Outlook 中,它只能在共享邮箱中打开一次。之后 Addin 变灰了。

在 Outlook 网页版中,无法在共享邮箱中使用固定功能

详情:

我加了

<DesktopFormFactor>
  <SupportsSharedFolders>true</SupportsSharedFolders>

清单,使其在共享邮箱中工作。

我们的一位用户使用 mac 并切换到“新 Outlook”。当他在共享邮箱中时,插件可以打开一次。 (打开个人邮箱后) 之后图标变灰,无法再次打开(仅在切换到个人邮箱和返回时)。将鼠标悬停在插件上时,会出现此消息:

(更改了图标、标题和电子邮件)

在 Mac 的“旧”Outlook 中它似乎可以工作,但用户不想使用它。

起初我认为它可能与 WebApplicationInfo 及其授权有关,但没有这部分它显示相同的行为。

有趣的是,它在全新安装后也可以工作一段时间。如果我新添加 manifest.xml 它可以用于一个或两个会话。

在网络客户端中出现了不同的问题,插件可以加载到共享邮箱中,但固定不起作用。

这是完整的清单(没有 URL 和名称),我知道它不包括旧版 Outlook 的版本。但是我们的用户群非常有限,每个人都使用最新的客户端。

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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>{{ID}}</Id>
    <Version>1.0.0.0</Version>
    <ProviderName>{{Provider}}</ProviderName>
    <DefaultLocale>en-US</DefaultLocale>
    <DisplayName DefaultValue="{{Name}"/>
    <Description DefaultValue="{{Description}"/>
    <IconUrl DefaultValue="https://test.app/Icon"/>
    <HighResolutionIconUrl DefaultValue="https://test.app/Icon2"/>
    <SupportUrl DefaultValue="https://test.app/Help"/>

    <AppDomains>
        <AppDomain>https://test.app/</AppDomain>
    </AppDomains>
    <Hosts>
        <Host Name="Mailbox"/>
    </Hosts>
    <Requirements>
        <Sets DefaultMinVersion="1.1">
            <Set Name="Mailbox" MinVersion="1.1"/>
        </Sets>
    </Requirements>
    <FormSettings>
        <Form xsi:type="ItemRead">
            <DesktopSettings>
                <SourceLocation DefaultValue="https://test.app/pane"/>
                <RequestedHeight>250</RequestedHeight>
            </DesktopSettings>
        </Form>
    </FormSettings>
    <Permissions>ReadWriteMailbox</Permissions>
    <Rule xsi:type="RuleCollection" Mode="Or">
        <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
    </Rule>
    <DisableEntityHighlighting>false</DisableEntityHighlighting>
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
        <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
            <Requirements>
                <bt:Sets DefaultMinVersion="1.3">
                    <bt:Set Name="Mailbox"/>
                </bt:Sets>
            </Requirements>
            <Hosts>
                <Host xsi:type="MailHost">
                    <DesktopFormFactor>
                        <SupportsSharedFolders>true</SupportsSharedFolders>

                        <ExtensionPoint xsi:type="MessageReadCommandSurface">
                            <OfficeTab id="TabDefault">
                                <Group id="msgReadGroup">
                                    <Label resid="GroupLabel"/>
                                    <Control xsi:type="Button" id="msgReadOpenPaneButton">
                                        <Label resid="TaskpaneButton.Label"/>
                                        <Supertip>
                                            <Title resid="TaskpaneButton.Label"/>
                                            <Description resid="TaskpaneButton.Tooltip"/>
                                        </Supertip>
                                        <Icon>
                                            <bt:Image size="16" resid="Icon.16x16"/>
                                            <bt:Image size="32" resid="Icon.32x32"/>
                                            <bt:Image size="80" resid="Icon.80x80"/>
                                        </Icon>
                                        <Action xsi:type="ShowTaskpane">
                                            <SourceLocation resid="Taskpane.Url"/>
                                            <SupportsPinning>true</SupportsPinning>

                                        </Action>
                                    </Control>
                                </Group>
                            </OfficeTab>
                        </ExtensionPoint>


                    </DesktopFormFactor>
                </Host>
            </Hosts>
            <Resources>
                <bt:Images>
                    <bt:Image id="Icon.16x16" DefaultValue="https://test.app/Icon1"/>
                    <bt:Image id="Icon.32x32" DefaultValue="https://test.app/Icon2"/>
                    <bt:Image id="Icon.80x80" DefaultValue="https://test.app/Icon3"/>
                </bt:Images>
                <bt:Urls>
                    <bt:Url id="Taskpane.Url" DefaultValue="https://test.app/Pane"/>
                </bt:Urls>
                <bt:ShortStrings>
                    <bt:String id="GroupLabel" DefaultValue=""/>
                    <bt:String id="TaskpaneButton.Label" DefaultValue=""/>
                </bt:ShortStrings>
                <bt:LongStrings>
                    <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens a pane displaying all available properties."/>
                </bt:LongStrings>
            </Resources>
            <WebApplicationInfo>
                <Id>{{ID}}</Id>
                <Resource>{{URI}}</Resource>
                <Scopes>
                    <Scope>offline_access</Scope>
                    <Scope>openid</Scope>
                    <Scope>profile</Scope>
                    <Scope>Mail.ReadWrite.Shared</Scope>
                    <Scope>Mail.Send.Shared</Scope>
                    <Scope>User.Read</Scope>
                </Scopes>
            </WebApplicationInfo>
        </VersionOverrides>
    </VersionOverrides>

</OfficeApp>

Outlook 网页版尚不支持群组共享邮箱的插件支持。我们在此处的文档中提到了这一点。我们在我们的技术社区页面上跟踪 Outlook 加载项功能请求。请在那里提交您的请求并选择合适的标签。在我们进行规划过程时,会考虑技术社区的功能请求