Within your provisioning script editor, replace your current script with the script below. This will bring all available attributes from active directory profile into Samanage.
Cloud Manager -> Apps -> Samanage -> Provisioning -> Provisioning Script -> Provisioning Script Editor
//#!
destination.email = source.Email;
destination.name = source.DisplayName;
if (source.OfficePhone != null) {
destination.phone = source.OfficePhone;
}
else if (source.MobilePhone != null) {
destination.phone = source.MobilePhone;
}
else if (source.HomePhone != null) {
destination.phone = source.HomePhone;
}
destination.title = source.Get('title');
site.name = source.Get('physicalDeliveryOfficeName');
if (site.name)
{
destination.site = site;
}
department.name = source.Get('department');
if (department.name)
{
destination.department = department;
}
reports_to.email = source.Get('ReportsToEmail');
if (reports_to.email)
{
destination.reports_to = reports_to;
}