Cli-microsoft365: New command: spo userprofile get

Created on 26 Oct 2020  路  3Comments  路  Source: pnp/cli-microsoft365

Usage

spo userprofile get [options]

Description

Retrieve user profile properties for a SharePoint user

Options

| Option | Description |
| -- | -- |
| -u, --userName <userName> | Account name of the user |

Additional Information

GET https://contoso.sharepoint.com/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v=%27i:0%23.f|membership|[email protected]%27

good first issue help wanted new feature

All 3 comments

Just to clarify: for the user name, let's use [email protected] rather than the whole claim name.

Yes, the full claim is only used in the REST call, only the UPN is required to be passed into the command.

Just realised that this is already being worked on and is a duplicate of #1670.

Closing issue as it is a duplicate.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vineet2907 picture vineet2907  路  3Comments

garrytrinder picture garrytrinder  路  3Comments

plamber picture plamber  路  3Comments

joshua-probst picture joshua-probst  路  3Comments

waldekmastykarz picture waldekmastykarz  路  3Comments