Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-PnPUserProfileProperty only returns a few properties #2834

Closed
ZzyzxIsAlreadyTaken opened this issue Feb 21, 2023 · 0 comments · Fixed by #2840
Closed

Get-PnPUserProfileProperty only returns a few properties #2834

ZzyzxIsAlreadyTaken opened this issue Feb 21, 2023 · 0 comments · Fixed by #2840
Assignees
Labels
enhancement New feature or request

Comments

@ZzyzxIsAlreadyTaken
Copy link

ZzyzxIsAlreadyTaken commented Feb 21, 2023

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

@ZzyzxIsAlreadyTaken ZzyzxIsAlreadyTaken added the enhancement New feature or request label Feb 21, 2023
@gautamdsheth gautamdsheth self-assigned this Feb 22, 2023
gautamdsheth added a commit to gautamdsheth/powershell that referenced this issue Feb 22, 2023
KoenZomers added a commit that referenced this issue Mar 9, 2023
Feature #2834 - Added properties to Get-PnPUserProfileProperty cmdlet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants