【发布时间】:2020-02-21 07:18:07
【问题描述】:
谁能告诉我如何将 EWS 扩展属性转换为 Microsoft Graph 扩展属性定义,因为我无法访问使用 EWS 创建的约会的单值扩展属性。
当我通过 Graph API 创建约会时,我可以访问定义的属性。
这是我的 EWS 属性定义:
ExtendedPropertyDefinition myPropertyDefinition = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, 1001, MapiPropertyType.String);
我尝试了以下变体,但没有一个对我有用。我没有收到单值扩展属性数组。
https://graph.microsoft.com/v1.0/me/calendar/events?$expand=SingleValueExtendedProperties($filter=Id eq 'String 1001')
https://graph.microsoft.com/v1.0/me/calendar/events?$expand=SingleValueExtendedProperties($filter=Id eq 'String 0x3E9')
https://graph.microsoft.com/v1.0/me/calendar/events?$expand=SingleValueExtendedProperties($filter=Id eq 'Integer 1001')
https://graph.microsoft.com/v1.0/me/calendar/events?$expand=SingleValueExtendedProperties($filter=Id eq 'Integer 0x3E9')
我搜索了常见问题,但没有一个对我有帮助。
任何想法都会有所帮助。
谢谢。
【问题讨论】:
标签: asp.net asp.net-core exchangewebservices microsoft-graph-calendar