javamicrosoft-graph-apimicrosoft-teamsmicrosoft-graph-sdksuser-presence

Presence resource type in MS Graph Java SDK?


I'm currently trying to read out the present status of Microsoft Teams users and pass it on.
In C# I was able to do this relatively easily, but now I had to switch to Java.
And that's where I run into my problems. The presence resource type from the Microsoft Graph API is only available in the MS Graph API Beta, so in my Java application, I access the MS Graph Java SDK "com.microsoft.graph:microsoft-graph:1.8.+". But I can't find the class for the presence resource type anywhere, is there an extra MS Graph Beta Java SDK?


Solution

  • I have now solved the whole thing with a custom request. Not the best solution, but as long as the presence status is only available in the beta and not in the release version, there is probably no better way to do it via the SDK