Forum Discussion

Prasham_Sabadra's avatar
Prasham_Sabadra
Copper Contributor
Jul 23, 2018
Solved

Custom User Profile Properties

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!

  • paulpascha's avatar
    paulpascha
    Jul 23, 2018

    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

  • Yes, you can create custom profile properties in SPO using CSOM API (you can usit from a PS Script)
    • paulpascha's avatar
      paulpascha
      Bronze Contributor

      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

      • Prasham_Sabadra's avatar
        Prasham_Sabadra
        Copper Contributor

        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.

Resources