Provider Hosted App People Picker - Azure AD Group

Jul 15, 2014 at 9:18 PM
Hi guys,

I have got the PeoplePicker working in my Provider hosted app but wanted to check a feature.

In the SP native People Picker I can pick Windows Azure AD groups, but they don't resolve in the PeoplePicker here.

Is this something that you would expect to work, or can I add it as a feature request?

Thanks

Mark
Coordinator
Jul 25, 2014 at 5:24 AM
Hi Mark,

You can configure the people picker to also resolve groups by adjusting the principalType property on the people picker. This setting determines what kind of objects the people picker will return. Default this is set to 1 which means only users. Setting it to 15 will return all possible objects (users, groups, distribution lists,…). See http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.client.utilities.principaltype.aspx for more details on the possible values.

Best regards,
Bert