Unable to Retrieve Anything But "presenceUnknown" Status for Teams in External Integration

chikaraN_72 0 Reputation points
2024-03-01T08:42:11.11+00:00

I am currently developing an application that integrates with Outlook as an external collaborator. Specifically, I am implementing a feature that displays Teams' presence (status) within the app, attempting to correctly use the API to obtain these presence statuses. However, the status obtained on the app side is always displayed as "unknown," preventing the accurate display of presence information. There are no error responses.

I would appreciate any advice on how to resolve this issue under the following circumstances.

Regarding the implementation:

The app I'm developing uses a dual-screen display, with Teams open on one screen and the app operating on the other. Despite being set to an available status on Teams, the app side displays the status as "unknown."

The app obtains status through an API when the user clicks on an icon. The goal is to accurately display the user's status at that moment.

Previously, I implemented the retrieval of Outlook calendar information and am proceeding with the retrieval of Teams' status following that logic. Since responses are being returned, I believe the API itself is functioning correctly.

The system environment is as follows:

Development environment: Mac/Monterey version 12.0.1

Development browser: Chrome

Microsoft Teams version: 24004.1304.2655.7488

Furthermore, permission settings for Presence.Read.All have been completed on the Azure portal, and integration using a Microsoft account is required.

If there are any insights into solving this problem or potential causes related to the development environment, I would greatly appreciate your input. Thank you.

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,187 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.