EWS 扩展属性到 Microsoft Graph 扩展属性
EWS Extended Properties to Microsoft Graph Extended Properties
谁能告诉我如何将 EWS 扩展 属性 转换为 Microsoft Graph 扩展 属性 定义,因为我无法访问使用 EWS 创建的约会的单值扩展属性。
当我通过图表 API 创建约会时,我能够访问定义的 属性。
这是我的 EWS 属性 定义:
ExtendedPropertyDefinition myPropertyDefinition = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, 1001, MapiPropertyType.String);
我尝试了以下变体,但其中 none 对我有用。我没有收到单值扩展属性数组。
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')
我搜索了常见问题,但其中 none 对我有所帮助。
任何想法都会有所帮助。
谢谢
鉴于您的示例,您需要包含 Public 字符串的 GUID,因此它应该看起来像
https://graph.microsoft.com/v1.0/me/calendar/events?$expand=SingleValueExtendedProperties($filter=(Id eq 'Integer {00020329-0000-0000-C000-000000000046} Id 0x3E90'))
但是你命名的 属性 定义看起来不正确如果你使用盖子值的命名属性范围应该是 0x8000 和 0x8FFF https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-pst/60003704-dfa6-476f-b782-ce8bb52a2df3
您尝试使用的 属性 范围是保留的,我很惊讶如果您使用 PublicStrings 可能使用唯一的字符串作为 属性 ID,它确实有效一个更好的主意。
谁能告诉我如何将 EWS 扩展 属性 转换为 Microsoft Graph 扩展 属性 定义,因为我无法访问使用 EWS 创建的约会的单值扩展属性。
当我通过图表 API 创建约会时,我能够访问定义的 属性。
这是我的 EWS 属性 定义:
ExtendedPropertyDefinition myPropertyDefinition = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, 1001, MapiPropertyType.String);
我尝试了以下变体,但其中 none 对我有用。我没有收到单值扩展属性数组。
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')
我搜索了常见问题,但其中 none 对我有所帮助。
任何想法都会有所帮助。
谢谢
鉴于您的示例,您需要包含 Public 字符串的 GUID,因此它应该看起来像
https://graph.microsoft.com/v1.0/me/calendar/events?$expand=SingleValueExtendedProperties($filter=(Id eq 'Integer {00020329-0000-0000-C000-000000000046} Id 0x3E90'))
但是你命名的 属性 定义看起来不正确如果你使用盖子值的命名属性范围应该是 0x8000 和 0x8FFF https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-pst/60003704-dfa6-476f-b782-ce8bb52a2df3
您尝试使用的 属性 范围是保留的,我很惊讶如果您使用 PublicStrings 可能使用唯一的字符串作为 属性 ID,它确实有效一个更好的主意。