The Office Location (SPS-Location) property in user Profile is being fetched from termset which is blank in my case. I want AAD property Office to be populated in this user profile proerty. I tried creating a new property in SP Online but unable to map it to office. Any pointers in populating the existing property or create a new office location property?
You would need to populate the TermSet (or have users populate their own profile) and edit your user's profile with this information. You cannot change the mapping. The
Office value is populated from the Azure AD attribute
PhysicalDeliveryOfficeName which you may consider populating. This also has an identically named attribute in Active Directory should you be using AAD Connect.
Information about user profile synchronization in SharePoint Online
officefield is getting populated with
PhysicalDeliveryOfficeNamebut not the
Office Location. Can I create a new property and get it synced?– AshishSep 7, 2017 at 15:02
Office Locationis not synchronized with any attribute; it is a TermSet which you can populate with values and have users select them, or edit their profiles yourself. There is no automatic population of any profile properties outside of the list in the link I provided. You would need to use a solution such as github.com/SharePoint/PnP/tree/master/Samples/… in order to populate from Active Directory on-prem to SPO directly.– user6024Sep 7, 2017 at 15:04