How to get user online status in Microsoft Graph?

醉酒当歌 提交于 2020-07-21 03:28:11

问题


I am using Microsoft Graph.

I tried

GET /users/{id | userPrincipalName}

to get user online status (online / busy / offline...) like the one in Outlook.

However, it won't give me any field like onlineStatus.

Is there an API to get user online status?


回答1:


This is not available through the Microsoft Graph today, but we welcome community feedback! Please upvote/comment on this UserVoice post so our team can see interest in this endpoint being added to the Microsoft Graph API.




回答2:


To add to Dan's answer the Skype informations in general are not available in the graph so at the time of writing. You can leverage the UCWA web SDK to get that information.
I published a sample for sharepoint framework implementations a couple of weeks ago that can help you understand how it works.



来源:https://stackoverflow.com/questions/48039789/how-to-get-user-online-status-in-microsoft-graph

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!