Get specific SharePoint user profile property with PowerShell

%3CLINGO-SUB%20id%3D%22lingo-sub-2697982%22%20slang%3D%22en-US%22%3EGet%20specific%20SharePoint%20user%20profile%20property%20with%20PowerShell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2697982%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everybody%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20get%20a%20specific%2C%20custom%20user%20profile%20property%20from%20all%20our%20users%20profiles%20to%20make%20an%20evaluation.%20I%20tried%20PnP-Powershell%20but%20the%20needed%20property%20is%20not%20shown.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20way%20to%20get%20a%20custom%20user%20profile%20property%20from%20the%20SharePoint%20user%20profiles%20with%20powershell%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20property%20is%20called%20%22categories%22%2C%20has%20multiple%20values%20and%20is%20set%20to%20private.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20any%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2697982%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Hello everybody,

 

I'm trying to get a specific, custom user profile property from all our users profiles to make an evaluation. I tried PnP-Powershell but the needed property is not shown.

 

Is there any way to get a custom user profile property from the SharePoint user profiles with powershell?

 

The property is called "categories", has multiple values and is set to private.

 

Thanks for any help!

0 Replies