Skip to content

Get-PnPUserProfileProperty only returns a few properties #2834

@ZzyzxIsAlreadyTaken

Description

@ZzyzxIsAlreadyTaken

Missing properties on Get-PnPUserProfileProperty

This commandlet only returns:
AccountName
DirectReports
DisplayName
Email
ExtendedManagers
ExtendedReports
IsFollowed
LatestPost
Peers
PersonalSiteHostUrl
PersonalUrl
PictureUrl
Title
UserProfileProperties
UserUrl
Context
Tag
Path
ObjectVersion
ServerObjectIsNull
TypedObject

It should return all properties of the userprofile.

I know that it returns it within the userprofileproperty property. But this is a extra complication that should not be there.
Also I would like it to return a property directly if I ex. write:

Get-PnPUserProfileProperty -propertyname "FirstName"

Return: Firstname

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions