Office365 Microsoft Graph beta findRooms未返回userPrincipalName
使用Office365 Microsoft Graph beta findRooms未返回userPrincipalName,office365,microsoft-graph-api,Office365,Microsoft Graph Api,使用/beta/users/xxx/findRooms调用时,API将返回电子邮件地址(和名称)列表 在大多数情况下,电子邮件地址与userPrincipalName相同,可用于进一步查找(例如/v1.0/users//calendarView…) 但是,如果文件室已重命名,且关联的电子邮件地址已更改: 房间的userPrincipalName不会更改 但是电子邮件地址将更改,这是由findRooms返回的地址 这意味着必须进行额外的查找,以将返回的名称或电子邮件地址转换为/users/xx
/beta/users/xxx/findRooms
调用时,API将返回电子邮件地址(和名称)列表
在大多数情况下,电子邮件地址与userPrincipalName
相同,可用于进一步查找(例如/v1.0/users//calendarView…
)
但是,如果文件室已重命名,且关联的电子邮件地址已更改:
- 房间的
不会更改userPrincipalName
- 但是电子邮件地址将更改,这是由
返回的地址findRooms
/users/xxx/…
查找所需的userPrincipalName
或id
如果findRooms
返回房间的userPrincipalName
和/或id
,而不仅仅是姓名和电子邮件,那就太好了
在Microsoft修复此问题之前:
- 有没有办法在
中获取这些附加信息?我找不到findRooms
- 当电子邮件不是
时,是否有办法直接在userPrincipalName
中使用返回的电子邮件users/xxx/calendarView
我在UserVoice中创建了一个功能请求:
is there a way to get that additional information in findRooms? I couldn't find one.
is there a way to use the returned e-mail directly in users/xxx/calendarView when the e-mail is not the userPrincipalName?
GET /users/{id | userPrincipalName}