Calling business number with Graph API CALL

Meynet Florian 0 Reputation points
2024-05-13T05:28:21.9466667+00:00

Hello,

I'm trying to use the graph api to call the Business number associate with the Azure account of a user.

Did someone know if there is a possible of doing this because i read the ms doc and i found no info...

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,832 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 37,786 Reputation points
    2024-05-13T06:38:14.2266667+00:00

    Hi @Meynet Florian

    You could try calling the /users endpoint and use the $select query parameter to return the businessPhones property.

    https://graph.microsoft.com/v1.0/users/{user_id}?$select=businessPhones
    

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.