Issue Description
Building/Department values from LDAP do not populate after device performs an Inventory Update.
Troubleshooting Steps
1. Confirm in Jamf Pro under Settings > Computer Management > Inventory Collection or Settings > Device Management > Inventory Collection that the box is checked for "Collect user and location information from Directory Service." (LDAP server must be in Jamf Pro for this option to show)
2. Confirm in Settings > System > LDAP Servers > name of LDAP server > Mappings > User Mappings that the building/department field is mapped to an LDAP attribute.
For more information on mappings, see: https://learn.jamf.com/bundle/technical-articles/page/LDAP_Attribute_Mappings_Reference.html
3. Confirm in Settings > Network > Buildings or Settings > Network > Departments that there are values listed in here that match the values that could appear on the User Account within LDAP
Note:
If there are no Buildings or Departments configured in Jamf Pro, then it will not pull over the mapped attribute from the LDAP server. The values within the user attribute in LDAP must match values within either the Building or Department area of Jamf Pro for those attributes to populate.
Note, the API or the Mass Update Tool (MUT) can be used to populate a large number of values.
4. Force the device to submit inventory and check the User and Location tab of the device record to confirm that the attribute is now populated with a value from LDAP.