How to get Chat ID from Teams Chat UI?

Kripa 80 Reputation points
2024-11-07T19:00:27.1466667+00:00

The reference link Here,

I have tried to use one to one chat and extracted manually from Teams Chat UI.

By clicking on any chat and navigate to three dots and copying the link and from link i m extracting

kind of this :

**(Single chat with others)Chat ID:**19:15a60394-4901-4113-903e-31ae6e0b5e7b_6366208d-41b6-4a76-a5d8-f69b5f8ce092@unq.gbl.spaces

(Meeting Group chat)Chat ID:19:meeting_NGIyODgzMWItMTNjNy00ZGZlLTk4ZjMtZTY0NmFkZWVlMGY3@thread.v2

I tried both of them

Graph API:

GET beta/users/{user_ID}/chats/{chat-id}

GET /chats/{chat-id}

but facing error:

User's image

How will i get valid Chat ID?

please assist me!!!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,265 questions
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,336 questions
0 comments No comments
{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.