question

CharlesBrereton-6112 avatar image
0 Votes"
CharlesBrereton-6112 asked ·

Graph Explorer reports 'PresenceUnknown' but I'm Available in Teams

When using the Microsoft Graph Explorer to try out various Graph API functions, I find that my Presence is being incorrectly reported. The same issue occurs if I look for my manager's presence (having first obtained his id by searching his UPN). I'm logged into Teams desktop client and I am Available, but Graph explorer reports as follows:

Query: GET https://graph.microsoft.com/v1.0/users/me/presence

Response: OK - 200 - 249ms

JSON :

    {
         "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('me')/presence/$entity",
         "id": "me",
         "availability": "PresenceUnknown",
         "activity": "PresenceUnknown"
     }

Any suggestions welcome!

Thanks

office-teams-app-devmicrosoft-graph-usersmicrosoft-graph-explorer
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Adding right tags/teams to assist!!

0 Votes 0 ·

How consistently you can repro the issue?

0 Votes 0 ·
Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered ·

Ok, I tried repro the issue for a given user at my end. But i failed to repro the issue.
Refer the snapshot:

67151-image.png



image.png (25.3 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CharlesBrereton-6112 avatar image
0 Votes"
CharlesBrereton-6112 answered ·

Hi @Deva-MSFT,

thanks for your answer - unfortunately it's not consistent - I checked this morning and I can see that I am now Available. However, I can't read my manager's presence -

https://graph.microsoft.com/v1.0/users/{guid string} - I can see my manager's infornation
https://graph.microsoft.com/v1.0/users/{guid string}.presence - Not Found - 404 - 121ms and:

"error": { "code": "UnknownError", "message": "", "innerError": { "date": "2021-02-15T09:43:49", "request-id": "{hex string}", "client-request-id": "{hex string}" } }

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CharlesBrereton-6112 avatar image
0 Votes"
CharlesBrereton-6112 answered ·

sorry the presence query should read :

https://graph.microsoft.com/v1.0/users/{manager's guid string}/presence

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @CharlesBrereton-6112,

We are unable to repro the issue from our end, could you please check the permissions and try again.

0 Votes 0 ·
CharlesBrereton-6112 avatar image
0 Votes"
CharlesBrereton-6112 answered ·

Thanks for your reply - is there something that my Office 365 admin support staff should be looking at, perhaps some programmatic access is disabled?

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @CharlesBrereton-6112,

Just would like to know the issue still persists.

0 Votes 0 ·
CharlesBrereton-6112 avatar image
0 Votes"
CharlesBrereton-6112 answered ·

Hello Rama,

found that the query syntax was wrong - I had enclosed my manager's GUID string in curly brackets but it should just be between the two '/ ' characters i.e.


https://graph.microsoft.com/v1.0/users/<guid>/presence

thanks

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RamaMohanaCharyAkavarapu-4424 avatar image
0 Votes"
RamaMohanaCharyAkavarapu-4424 answered ·

Hi @CharlesBrereton-6112,


Glad to hear that your issue got fixed.

Please feel free to contact us for any further queries.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.