Table of contents
TOC
Collapse the table of content
Expand the table of content

Get-PnPUserProfileProperty

Bert Jansen|Last Updated: 2/20/2017
|
1 Contributor

You must connect to the tenant admin website (https://:-admin.sharepoint.com) with Connect-PnPOnline in order to use this cmdlet.

Syntax

Get-PnPUserProfileProperty -Account <String[]>

Detailed Description

Requires a connection to a SharePoint Tenant Admin site.

Returns

Microsoft.SharePoint.Client.UserProfiles.PersonProperties

Parameters

ParameterTypeRequiredDescription
AccountString[]TrueThe account of the user, formatted either as a login name, or as a claims identity, e.g. i:0#.f

Examples

Example 1

PS:> Get-PnPUserProfileProperty -Account 'user@domain.com'

Returns the profile properties for the specified user

Example 2

PS:> Get-PnPUserProfileProperty -Account 'user@domain.com','user2@domain.com'

Returns the profile properties for the specified users

© 2017 Microsoft