Get presence does not work

Copper Contributor
I tried to call Getpresence graph Api  method in .net , but it doesn’t recognize Presence.i think it does not appear to give the method in the SDK i used , why ,I have no idea.
 

GraphServiceClient graphClient = new GraphServiceClient(authProvider);

var presence = await graphClient.Me.presence.Request().GetAsync ();

1 Reply

@saraefaf Presence APIs are in beta, and beta APIs are in a different SDK. They are here: https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet - installation instructions here: https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet#installation-via-nuget