Skip to main content
Question

After enrolment Automate User, Email Address, Position and Department

  • December 18, 2025
  • 5 replies
  • 37 views

Forum|alt.badge.img+6

Hi All, 

 

Does anyone has a script for automate User, Email Address, Position and Department after enrolment?

Thanks in Advances

5 replies

Chubs
Forum|alt.badge.img+23
  • Jamf Heroes
  • December 18, 2025

Are you using enrollment customizations against an IdP for users to auth against at enrollment?  If so and you have the IdP portions setup in JAMF, it’ll poll all of that (except for department) at that time - this is 100% assuming you have the mapping attributes correct. 
 

Department has to be manually created in JAMF and has to match what’s in your IdP to populate. You can always use an LDAP EA to poll that instead. 


Chris_Hafner
Forum|alt.badge.img+27
  • Jamf Heroes
  • December 18, 2025

There are a few things that the answer depends on. Regardless, I want to point out the MUT> 

https://marketplace.jamf.com/details/the-mut

This is a great utility for updating all of those fields and more, just after the fact. 

 

In our case we gather all that info when a user onboards. We require them authenticate via SSO (Google in our case) and all that information is pulled in. 


talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • December 18, 2025

I have a JNUC presentation from a few years ago that you may find useful.

How to collect user information and apply it throughout Jamf Pro


mattjerome
Forum|alt.badge.img+9
  • Jamf Heroes
  • December 18, 2025

Agreeing with everyone, I say, if your IdP also serves as an LDAP, use the attribute there. Otherwise, you have to manually keep your buildings, depts, up to date. Email should work fine


Chubs
Forum|alt.badge.img+23
  • Jamf Heroes
  • December 18, 2025

I also wrote something a while back that scraped all of the departments and buildings from our IdP infrastructure and injected them into JAMF.  The issue became when people thought it was cute to put in building1(a) or building1_a.  Annoying because you’d have like 50 of the same buildings but all the same building.

Same with departments.  Biostat vs biostatistics or structuralbio vs structuralbiology.  Annoying.