Microsoft Graph Presence API is not returning the correct activity when a user is Out of Office

%3CLINGO-SUB%20id%3D%22lingo-sub-1533564%22%20slang%3D%22en-US%22%3EMicrosoft%20Graph%20Presence%20API%20is%20not%20returning%20the%20correct%20activity%20when%20a%20user%20is%20Out%20of%20Office%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1533564%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20using%20the%20presence%20API%20to%20get%20the%20presence%20of%20users%20but%20it%20seems%20that%20the%20activity%20property%20is%20returning%20the%20same%20value%20of%20the%20availability%20when%20a%20user%20is%20OOO.%3C%2FP%3E%3CP%3EI've%20tested%20this%20on%20the%20Graph%20Explorer%20and%20the%20values%20returned%20are%20not%20consistent%20with%20what%20we%20see%20in%20Microsoft%20Teams.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222020-07-20_11-11-41.png%22%20style%3D%22width%3A%20537px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206430iD419B7609DC97BC9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%222020-07-20_11-11-41.png%22%20alt%3D%222020-07-20_11-11-41.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20a%20dev%20tenant%20I%20am%20able%20to%20get%20the%20correct%20value%20for%20the%20activity%2C%20sice%20I%20am%20seing%20two%20differnet%20behaviours%20I%20am%20wondering%20what%20may%20be%20causing%20it%20since%20nothing%20is%20explained%20in%20the%20official%20documentatation%20and%20the%20values%20should%20match%20what%20is%20being%20displayed%20on%20Teams.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22right%20presence.PNG%22%20style%3D%22width%3A%20540px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206427i679133E9E85A7F0E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22right%20presence.PNG%22%20alt%3D%22right%20presence.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20it%20requires%20any%20extra%20permission%20like%20mailbox%20settings%20to%20get%20the%20OOO%20in%20the%20Graph%20presence%20API%3F%3C%2FP%3E%3CP%3EIs%20there%20any%20limitation%20to%20get%20the%20activity%20defined%20by%20the%20applications%20using%20the%20Presence%20API%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1533564%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1724259%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Graph%20Presence%20API%20is%20not%20returning%20the%20correct%20activity%20when%20a%20user%20is%20Out%20of%20Office%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1724259%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20already%20a%20solution%20to%20this%3F%20I%20am%20experiencing%20the%20same%20issue.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1831603%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Graph%20Presence%20API%20is%20not%20returning%20the%20correct%20activity%20when%20a%20user%20is%20Out%20of%20Office%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1831603%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F19125%22%20target%3D%22_blank%22%3E%40Jo%C3%A3o%20Ferreira%3C%2FA%3E%26nbsp%3Bjust%20wondering%20if%20you%20found%20out%20what%20the%20issue%20was%20here.%20I%20am%20experiencing%20the%20same%20problem.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThanks%2C%3CBR%20%2F%3EDave%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I'm using the presence API to get the presence of users but it seems that the activity property is returning the same value of the availability when a user is OOO.

I've tested this on the Graph Explorer and the values returned are not consistent with what we see in Microsoft Teams.

2020-07-20_11-11-41.png

 

In a dev tenant I am able to get the correct value for the activity, sice I am seing two differnet behaviours I am wondering what may be causing it, since nothing is explained in the official documentatation and the values should match what is being displayed in Teams.

right presence.PNG

 

Does it requires any extra permission like mailbox settings to get the OOO in the Graph presence API?

Is there any limitation to get the activity defined by the applications using the Presence API?

4 Replies

Is there already a solution to this? I am experiencing the same issue.

@João Ferreira just wondering if you found out what the issue was here. I am experiencing the same problem.


Thanks,
Dave

@DaveHmp  My team brought the issue under the attention of Microsoft and they are working on it right now, so hopefully there will be a fix soon.

@MartijnSchotel thanks. Do you by any chance have a link to the bug/work item that Microsoft are working on so that we can track it? Thanks, Dave.