-1

The /users resource in MS Teams Graph API does not provide the phone number set using https://learn.microsoft.com/en-us/microsoftteams/getting-phone-numbers-for-your-users. It just provides business phone, fax, and mobile numbers but not the actual phone number that can be used to call it. Does anyone know if there's an endpoint that provides that detail?

Thanks!

9
  • Currently GET graph.microsoft.com/v1.0/users provides businessPhones, faxNumber, mobilePhone, mail, which is already coming according to you. So what is meant by actual phone number. Could you elaborate? Feb 25, 2021 at 7:19
  • Hello, sorry for not being clear. The "actual phone number" that I am referring to is the one assigned to a user so they can make and receive phone calls. The way to assign it is documented here: learn.microsoft.com/en-us/microsoftteams/….
    – node-one
    Feb 26, 2021 at 23:38
  • After digging, I was able to get the voice phone numbers through Teams Powershell cmdlet Get-CSOnlineTelephoneNumber provided that I have admin credentials. Is there a way to get those without requiring admin credentials?
    – node-one
    Mar 6, 2021 at 0:01
  • We are trying to repro your scenario. Will let you know soon. Mar 10, 2021 at 10:40
  • Hello, any updates on this? Thanks a lot.
    – node-one
    Mar 22, 2021 at 22:49

1 Answer 1

-1

You need SFB admin credentials to retrieve telephone numbers of users in your tenant.

Thank You.

1
  • Thanks for the reply! Yeah, I already have an admin acct so I can retrieve the telephone numbers already. Was hoping that there's a way for me to retrieve those through powershell without the need to have total admin permissions.
    – node-one
    Mar 22, 2021 at 21:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.