How to update or modify wrong Chat email address on Microsoft Teams

Richard Li 10 Reputation points
2024-10-04T17:42:15.1666667+00:00

My issue is similar to one previous post. One user's Teams chat email is wrong. I checked AD, Exchange On Prem and Online (A hybrid environment), and found and changed the wrong SIP address in ExchangeOnline. 3 days later, both wrong and correct chat email addresses are still showing on Team's contact. Azure's IM address is also showing the wrong address.

Run the Powershell suggested by some experts here with anotehr post:

Connect to Microsoft Teams

$credential = Get-Credential

Connect-MicrosoftTeams -Credential $credential

Get the user's SIP address

Get-CsOnlineUser -Identity "******@domain.com" | Select-Object SipAddress

Update the user's SIP address

Set-CsUser -Identity "@domain.com" -SipAddress "sip:@domain.com"

Confirmed that the SIP address is still wrong, however the Set-CsUser command giving me error: Set-CsUser: A parameter cannot be found that matches parameter name "SipAddress".

Any other suggestions? Or the sync will take much longer than 3 days?

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

Microsoft Teams | Microsoft Teams for business | Other

3 answers

Sort by: Oldest
  1. Richard Li 10 Reputation points
    2024-10-11T19:50:46.5133333+00:00

    @Robin Sheng-MSFT. Thanks. I sorted it out later.

    Just want to put an update here for others having the same issues. The solution for me is to edit in AD through ADUC.

    1. Open ADUC and go to the user's properties.
    2. In the Attribute Editor, check the value of msRTCSIP-PrimaryUserAddress to ensure it's set as expected.

    Was this answer helpful?

    2 people found this answer helpful.

  2. Anonymous
    2024-10-14T01:16:01.2033333+00:00

    Hi @Richard Li

    Glad to hear you fixed the issue by changing the user properties via ADUC, thanks for contributing to the Q&A forum.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it. We also recommend logging into the Microsoft Entra Admin Center to modify your information.

    1. Sign in to the Microsoft Entra admin center as at least a User Administrator.
    2. Browse to Identity > Users > All users. Screenshot of the All users page in Microsoft Entra ID.
    3. Select a user.
    4. There are two ways to edit user profile details. Either select Edit properties from the top of the page or select Properties. Screenshot of the overview page for a selected user, with the edit options highlighted.
    5. After making any changes, select the Save button. If you selected the Edit properties option:
      • The full list of properties appears in edit mode on the All category.
        • To edit properties based on the category, select a category from the top of the page.
          • Select the Save button at the bottom of the page to save any changes.
      Screenshot a selected user's details, with the detail categories and save button highlighted. If you selected the Properties tab option:
      • The full list of properties appears for you to review.
        • To edit a property, select the pencil icon next to the category heading.
          • Select the Save button at the bottom of the page to save any changes.
      Screenshot the Properties tab, with the edit options highlighted.

    Was this answer helpful?

    0 comments No comments

  3. Nik H 0 Reputation points
    2026-10-09T07:03:21.7866667+00:00

    For anyone stumbling on this, we had the same problem in our hybrid enviroment.

    • The Set-CsUser Command is deprecated and doesn't work
    • There was no msRTCSIP-PrimaryUserAddress in the ADUC
    • We couldn't edit the properties neither in Entra nor in Exchange online

    The solution was to update the SIP Adress via our local Exchange.

    Either through the GUI:
    User Attributes -> E-Mail-Addresses -> Remove old entry for SIP:*****@domain.com*

    Or

    via the Exchange Management Shell with the Set-RemoteMailbox Command:

    1. Check if there is an alternative SIP-Address available
      Get-RemoteMailbox -Identity ******@domain.com | Select EmailAddresses
      Or
      Add the SIP-Address directly (If it already exists, you'll get a warning that the command ran without any changes)
      Set-RemoteMailbox -Identity ******@domain.com -EmailAddresses @{add="sip:******@domain.com"}
    2. Remove the old SIP-Address
      Set-RemoteMailbox -Identity ******@domain.com -EmailAddresses @{remove="sip:old.user@domaincom"}

    After a few hours this should sync and the correct Chat Address should be displayed in Teams.

    Was this answer helpful?

    0 comments No comments

Your answer

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