I'm using raw SOAP request to get a list of people from GAL in Office365, By default, it returns only basic information about each Persona, when I try to add additional properties, like persona:PhoneNumber or change BaseShape to AllProperties, it returns an error "Invalid shape specification"
How can I get all properties for each Persona using this call?
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"> <soap:Header> <t:RequestServerVersion Version="Exchange2013" /> </soap:Header> <soap:Body > <m:FindPeople> <m:PersonaShape> <t:BaseShape>IdOnly</t:BaseShape> <t:AdditionalProperties> <t:FieldURI FieldURI="persona:DisplayName"/> <t:FieldURI FieldURI="persona:Title"/> <t:FieldURI FieldURI="persona:EmailAddress"/> <t:FieldURI FieldURI="persona:PhoneNumber"/> </t:AdditionalProperties> </m:PersonaShape> <m:IndexedPageItemView BasePoint="Beginning" MaxEntriesReturned="100000" Offset="0"/> <m:ParentFolderId> <t:AddressListId Id="xxxxxxx-xxxx-xxxx-xxxx-xxxxxx"/> </m:ParentFolderId> </m:FindPeople> </soap:Body> </soap:Envelope>