Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 938 Bytes

File metadata and controls

31 lines (24 loc) · 938 Bytes

#Get-SPOUserProfileProperty Office365 only: Uses the tenant API to retrieve site information.

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

##Syntax

Get-SPOUserProfileProperty -Account <String[]>

##Detailed Description Requires a connection to a SharePoint Tenant Admin site.

##Parameters

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
##Examples

###Example 1

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

Returns the profile properties for the specified user

###Example 2

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

Returns the profile properties for the specified users