You must connect to the tenant admin website (https://:-admin.sharepoint.com) with Connect-PnPOnline in order to use this cmdlet.
Get-PnPUserProfileProperty -Account <String[]>
Requires a connection to a SharePoint Tenant Admin site.
Parameter | Type | Required | Description |
---|---|---|---|
Account | String[] | True | The account of the user, formatted either as a login name, or as a claims identity, e.g. i:0#.f |
PS:> Get-PnPUserProfileProperty -Account '[email protected]'
Returns the profile properties for the specified user
PS:> Get-PnPUserProfileProperty -Account '[email protected]','[email protected]'
Returns the profile properties for the specified users