问题
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