Share via

Get chat ID in New Teams

Anonymous
2024-05-22T18:01:08+00:00

I am creating deep links to navigate to my chats (I am following these instructions) and I need to get Chat ID using new Teams. For classic Teams (old version of Teams) I was getting the Chat ID in the URL of the Teams for the Web (picture 1 below).

Now that we will not be able to access the classic Teams anymore, there is the problem that new Teams URL is not showing the information about Chat ID (picture 2 below). I found some instructions about using PowerShell, but I don't have administrator account to install Microsoft Teams PowerShell Module (I've tried these procedure).

I am not an IT professional, so I would like a simple solution. I just need to see all my Chat ID's or get the deep link to navigate to each chat.

Thanks.

Picture 1

Picture 2

Microsoft Teams | Microsoft Teams for business | Chats | Group chats

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2024-05-23T00:57:47+00:00

    Dear Ana_898TR,

    Good day.

    Based on the description you have shared; we understand that you want to get the chat ID in New teams

    To get the Chat ID in the new version of Microsoft Teams, you can follow these steps:

    Get the chat ID for the simple chat

    Open your Note pad

    1. Open Microsoft NEW Teams and navigate to the chat you want to get the Chat ID for.
    2. Click on the three dots (...) next to one of the message . and copy the link and past on your note pad

    Alternatively, for the channel go to teams and you can also right-click on the channel name and select "Copy link to channel" or "Copy link to chat" and the Chat ID will be included in the link that is copied to your clipboard.

    The above steps is to get the simple chat ID and the channel chat ID

    However, the link you have share this is to create a deep link but if my understanding is wrong, please let me know. Thank you.  

    We will continue to assist you based on the information you provide. I sincerely appreciate your patience and cooperation.SincerelyEben Ezer Tres | Microsoft Community Moderator

    20+ people found this answer helpful.
    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-06-05T14:14:06+00:00

    Hello,

    I am having this issue of not finding the Chat ID anywhere in New Teams. This solution, however, no longer works. The "copy link" option is not available in the three dots (...) menu for chats any longer.

    Is there a new solution that will yield the Chat ID?

    Thank you,

    Mark

    20+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-05-23T12:26:49+00:00

    Hi Eben Ezer Tres,

    Good day.

    Thanks for your reply, I didn't realize that the message link contained the chat ID. This would solve my situation.

    But I ended up going to other way and found a solution that I would like to share.

    I created a simple Power Automate flow trigger for Teams messages, and this flow creates a SharePoint list with the Chat name, Chat ID, and the full deep link for the conversation (picture below). So, with just two clicks on each chat I have a complete list with the information I need.

    Thank you for all your assistance.

    Image

    5 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-08-12T22:26:34+00:00

    I also had this problem, very on-brand for Microsoft honestly. However, I was able to find it in the HTML.

    Open Teams in your browser. Right-click anywhere in your browser (I am using Chrome) and select inspect.

    This will open up dev tools. In the upper right-hand corner of your screen, you will see a little arrow inside of a dotted box. Click that, this is the element selector.

    Click on the DM you want the ID of. This will select the DIV that contains this chat and the DIV ID will be the chat id. It will look like this

    <div id=chat-list-item_19:fc997876cdf449eb803b903136e99117@thread.v2>

    Your chat ID is 19:fc997876cdf449eb803b903136e99117@thread.v2

    I would post images showing how to do this but image uploading doesn't work either. Microsoft everyone!

    3 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-07-31T06:10:44+00:00

    Hi Mark,

    The "copy link" button no longer appears for me.

    I was able to work around this problem by using the new UI for Power Automate.

    1. Create or edit a flow at https://make.powerautomate.com
    2. Add a "Post message in a chat or channel" action
    3. Connect to Teams (we require this to see a list of chats)
    4. Select the desired chat from the dropdown
    5. Select "Code View"
    6. Look for the "body/recipient" in the JSON view (this will be your chat ID)
    7. Feel free to delete the flow

    I hope this helps!

    3 people found this answer helpful.
    0 comments No comments