PedroF
PedroF

Reputation: 95

How to read custom User Profile properties with Office Graph

I've created a few custom user profile properties on O365 Admin Center which can be edited and displayed on Delve profile page.

Followed these steps to do it: https://community.office365.com/en-us/f/154/t/406878

I expected to get those properties on Office Graph API using graph.microsoft.com/beta/me or graph.microsoft.com/beta/users/(id)

but the custom properties aren't returned.

How can we read custom User Profile properties with Office Graph Rest API?

Upvotes: 1

Views: 1591

Answers (1)

/me and /users/(id) only return few default properties of user. Please use $select query parameter to specific list of properties that you interested in. For example, to get skills and schools property, issue request like "/me?$select=skills,schools" .

Upvotes: 2

Related Questions