By default, SharePoint Online surfaces a lot of attributes from Azure AD. However, there may be instances where you want to develop or implement a SharePoint App that requires information that's not stored in Active Directory. For this purpose, a custom SharePoint attribute may be useful. To create a custom user profile property, follow these steps:
- Launch the User Profile Service application from the classic SharePoint admin page.
- Under People, select Manage User Properties.
- Select New Property.
- Fill out the necessary values, including Name, Display Name, Description, whether it is Indexed, and Type:
Once you select a Type, you cannot change it. If you wish to do so, you must delete and recreate the profile property.
- Click OK to save the new property.
Now, the new property is available to reference and start accepting data immediately.