SOLVED

Custom User Profile Properties

%3CLINGO-SUB%20id%3D%22lingo-sub-217794%22%20slang%3D%22en-US%22%3ECustom%20User%20Profile%20Properties%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217794%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20create%20custom%20user%20profile%20property%20in%20SharePoint%20Online.%20Either%20through%20PoweShell%20or%20CSOM.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOR%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20the%20best%20way%20to%20provision%20custom%20user%20profile%20properties%20in%20SharePoint%20Online%20%2F%20Office%20365.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-217794%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-218227%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20User%20Profile%20Properties%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-218227%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Paul%20for%20the%20response.%20Even%20I%20am%20on%20same%20page%20that%20we%20can%20not%20create%20the%20custom%20user%20properties%20in%20SharePoint%20Online%20using%20CSOM%20or%20PowerShell%20scripts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20sharing%20reference%20for%20%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fdocs%2Fconcepts%2Fextensibility_open_users%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eextensibility_open_users%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-218226%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20User%20Profile%20Properties%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-218226%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20the%20reply.%20But%20I%20am%20still%20not%20sure.%20Is%20it%20possible%20to%20share%20some%20link%20or%20reference%20from%20where%20I%20can%20get%20an%20idea.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3EPrasham%20Sabadra%3C%2FP%3E%3CP%3E%3CA%20title%3D%22My%20Office%20365%20Articles%22%20href%3D%22https%3A%2F%2Fknowledge-junction.com%2Fcategory%2Ftechnology-articles%2Foffice-365%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMy%20Office%20365%20Articles%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217822%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20User%20Profile%20Properties%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217822%22%20slang%3D%22en-US%22%3E%3CP%3EHmm%2C%20are%20you%20sure%20Juan%20Carlos%3F%20As%20far%20as%20I%20know%20(knew)%20it%20is%20not%20possible%20to%20create%20custom%20properties%20using%20CSOM%20or%20any%20other%20API.%20You%20can%20however%20read%20%2F%20set%20the%20value%20of%20Profile%20Properties%20through%20CSOM%2C%20whether%20they're%20custom%20or%20not...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20exactly%20is%20it%20you'd%20want%20to%20achieve%20with%20the%20custom%20Profile%20Property%3F%20Do%20you%20want%20it%20to%20show%20up%20in%20Delve%20and%20People%20Search%20results%20or%20do%20you%20need%20it%20for%20some%20technical%20reason%3F%20If%20you%20only%20need%20it%20to%20store%20some%20user%20information%20for%20technical%20reasons%20to%20control%20behavior%20of%20a%20custom%20application%20you%20could%20also%20consider%20using%20Open%20Extensions%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fdocs%2Fconcepts%2Fextensibility_open_users%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fdocs%2Fconcepts%2Fextensibility_open_users%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217818%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20User%20Profile%20Properties%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217818%22%20slang%3D%22en-US%22%3EYes%2C%20you%20can%20create%20custom%20profile%20properties%20in%20SPO%20using%20CSOM%20API%20(you%20can%20usit%20from%20a%20PS%20Script)%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi All,

Is it possible to create custom user profile property in SharePoint Online. Either through PoweShell or CSOM.

 

OR

 

What is the best way to provision custom user profile properties in SharePoint Online / Office 365.

 

Thanks!

4 Replies
Highlighted
Yes, you can create custom profile properties in SPO using CSOM API (you can usit from a PS Script)
Highlighted
Best Response confirmed by Prasham Sabadra (Occasional Contributor)
Solution

Hmm, are you sure Juan Carlos? As far as I know (knew) it is not possible to create custom properties using CSOM or any other API. You can however read / set the value of Profile Properties through CSOM, whether they're custom or not...

 

What exactly is it you'd want to achieve with the custom Profile Property? Do you want it to show up in Delve and People Search results or do you need it for some technical reason? If you only need it to store some user information for technical reasons to control behavior of a custom application you could also consider using Open Extensions 

 

https://developer.microsoft.com/en-us/graph/docs/concepts/extensibility_open_users

Highlighted

Thanks for the reply. But I am still not sure. Is it possible to share some link or reference from where I can get an idea.

 

Thanks!

Prasham Sabadra

My Office 365 Articles

Highlighted

Thanks Paul for the response. Even I am on same page that we can not create the custom user properties in SharePoint Online using CSOM or PowerShell scripts.

 

Thanks for sharing reference for extensibility_open_users.