Identifying the different response between /beta and /V1.0 api's

S, Selvaraj 31 Reputation points
2022-02-22T11:24:22.427+00:00

Getting only minimal information in /v1.0/users/{id} api when compared to /beta/users/{id} api. When can we expect similar response as like /beta api

Microsoft Security | Microsoft Graph
0 comments No comments
{count} vote

Accepted answer
  1. CarlZhao-MSFT 46,371 Reputation points
    2022-02-23T07:16:43.25+00:00

    Hi @S, Selvaraj

    Don't take a production dependency on APIs in the beta endpoint. The APIs in the beta endpoint are subject to change. We don't recommend that you use them in your production apps.

    If you want to get some properties of a user in v1.0 endpoint (production environment), then can use $select OData query params.

    https://graph.microsoft.com/v1.0/users/{user id}?$select=id,displayName,companyName,imAddresses,mail,proxyAddresses,userPrincipalName,assignedPlans......  
    

    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.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Shivam Dhiman 6,081 Reputation points
    2022-02-22T13:06:51.107+00:00

    Hi @S, Selvaraj ,

    We agree Graph API users beta endpoint provide additional properties but please Note that

    APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. Features, including APIs and tools, in preview status may change without notice, and some may never be promoted to generally available (GA) status. Hence we recommend you to use currently available users API in V1.0.

    However you can track new features/changes in Graph API Using the below Documentation.

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


Your answer

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