在Windows Outlook中无法使用具有代表功能的makeEwsRequestAsync创建会议

时间:2019-01-14 15:55:27

标签: outlook-addin outlook-web-addins

我们正在尝试使用makeEwsRequestAsync和功能代表通过Outlook Web加载项创建会议。该请求在Mac上的Outlook中效果很好,但在Windows的Outlook中,它返回以下错误消息:“ Office扩展名无权访问用户上下文中提供的邮箱之外的任何其他邮箱。

我已经从Outlook中向受委派的人添加了权限,并且还从office.com作为管理员用户添加了权限

<?xml version="1.0" encoding="UTF-8"?>
<v:Envelope
        xmlns:v="http://schemas.xmlsoap.org/soap/envelope/" xmlns:c="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:d="http://www.w3.org/2001/XMLSchema" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <v:Header>
        <n0:RequestServerVersion xmlns:n0="http://schemas.microsoft.com/exchange/services/2006/types"
                                 Version="Exchange2010_SP1"/>
    </v:Header>
    <v:Body>
        <CreateItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
                    SendMeetingInvitations="SendToAllAndSaveCopy">
            <SavedItemFolderId>
                <n1:DistinguishedFolderId xmlns:n1="http://schemas.microsoft.com/exchange/services/2006/types"
                                          Id="calendar">
                    <n1:Mailbox>
                        <n1:EmailAddress>Sarah@onmicrosoft.com</n1:EmailAddress>
                    </n1:Mailbox>
                </n1:DistinguishedFolderId>
            </SavedItemFolderId>
            <Items>
                <n2:CalendarItem xmlns:n2="http://schemas.microsoft.com/exchange/services/2006/types">
                    <n2:Subject>Quick Meeting</n2:Subject>
                    <n2:Body BodyType="HTML">&lt;html&gt;&lt;body&gt;Booked with Outlook add-in. &lt;/body&gt;&lt;/html&gt;
                    </n2:Body>
                    <n2:ReminderIsSet>true</n2:ReminderIsSet>
                    <n2:ReminderMinutesBeforeStart>15
                    </n2:ReminderMinutesBeforeStart>
                    <n2:Start>2019-01-11T12:30:00.000Z</n2:Start>
                    <n2:End>2019-01-11T13:00:00.000Z
                    </n2:End>
                    <n2:IsAllDayEvent>false</n2:IsAllDayEvent>
                    <n2:LegacyFreeBusyStatus>Busy
                    </n2:LegacyFreeBusyStatus>
                    <n2:Location></n2:Location>
                    <n2:RequiredAttendees></n2:RequiredAttendees>
                </n2:CalendarItem>
            </Items>
        </CreateItem>
    </v:Body>
</v:Envelope>

我需要配置一些东西吗?

0 个答案:

没有答案