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:
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:
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.