RMEX app have graph User.Read.All permission but still receiving null for required fields for below query

Rajesh Tammidisetti (INFOSYS LIMITED) 21 Reputation points Microsoft Vendor
2020-12-18T20:37:05.037+00:00

RMEX app have graph User.Read.All permission but still receiving null for required fields for below query. can i know why we had issue?

• App Name: Ps-SvcDel-Rm-Svc-Prd
• AppId: e42b0f1c-xxxx-xxxx-xxxx-089f1ab22b22

https://graph.microsoft.com/v1.0/users/xxxxxx[@](/users/na/?userId=1da9c235-7ffe-0003-0000-000000000000).com?$select=displayName,givenName,jobTitle,officeLocation,businessPhones,companyName,country,department,employeeId,employeeOrgData,employeeType,id

we are looking for below fields from graph for an user/employee

• Alias
• ReportsTo
• Homecoutry
• StandardTitle
• CostCenterCode

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,720 questions
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,236 Reputation points
    2020-12-21T08:45:49.56+00:00

    Hello @Rajesh Tammidisetti (INFOSYS LIMITED) · Thank you for reaching out.

    To get the values of these attribute, make sure you are using the attribute name added to Azure AD Schema. For example, attribute name for below attributes in Azure AD are:

    • Alias = mailNickname
    • CostCenterCode = extension_<guid>_CostCenterCode

    To get a list of all attribute names in your Azure AD tenant, please use below call:

    GET https://graph.microsoft.com/beta/users/user[@](/users/na/?userId=19d591f5-0000-0003-0000-000000000000).com

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful