Cant find IP-Phone attribute when using powershell in Teams

IBN 4,331 Reputation points
2022-06-22T11:40:49.15+00:00

Hello

Please i need your help on this issue.

I need to locate the IP - Phone attribute in MS 365.

I have the attribute set to sync in MS 365 and it appears to be working there.

213800-image.png

However when I use PowerShell in teams I cannot find the attribute.

213917-image.png

Please does anyone know the PowerShell command to use.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,065 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. JimmyYang-MSFT 48,866 Reputation points Microsoft Vendor
    2022-06-23T05:38:21.717+00:00

    Hi @IBN

    Your command is correct. You could find the test result from here. The IP-Phone attribute is included in the lists of attribites synchronized by Azure AD Connect, you could see the list from this article:

    https://learn.microsoft.com/en-us/azure/active-directory/hybrid/reference-connect-sync-attributes-synchronized

    In this case, we assumed this attribute was not synchronizing. I would like you to verify the synchronization process has not been filtered during the ADConnect sync configuration. For more details about its process, you could check it from:

    https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-install-custom#azure-ad-app-and-attribute-filtering


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



  2. Holger Bunkradt 16 Reputation points
    2022-06-23T10:39:27.14+00:00

    Hi, this attribute is not use for Teams.

    To find all IP Phone policies use Get-CsTeamsIPPhonePolicy
    https://learn.microsoft.com/en-us/powershell/module/skype/get-csteamsipphonepolicy?view=skype-ps

    If you need to assign your IP Phone policy use Grant-CsTeamsIPPhonePolicy

    Grant-CsTeamsIPPhonePolicy -Identity Foyer1@Company portal .com -PolicyName CommonAreaPhone

    https://learn.microsoft.com/en-us/powershell/module/skype/grant-csteamsipphonepolicy?view=skype-ps