Enable selecting custom User Profile Properties from REST API
I've created an UserProfile with some custom properties.
When using http://siteurl/_api/SP.UserProfiles.PeopleManager/GetMyProperties, I get a resultset with all UserProfile properties, including my custom properties.
When I try to select one (or more) of my custom properties by http://siteurl/_api/SP.UserProfiles.PeopleManager/GetMyProperties?$select=CustomProperty, I do not get the custom property returned.
Selecting on the default properties that SharePoint provides does work.
Right now I am using a workaround which iterates through the (big) resultset with all properties to get my custom property values, but it would be great if I could select just my customer properties.