Hi, I am trying to get my User and Location info in JSS to automatically populate from the last user logged into the Mac. Have successfully setup Azure AD as a Cloud Identity Provider on our Jamf cloud instance. The way we setup our Macs is we use the SAM ID from MS on-prem AD as the Mac Account Name as we run a Hybrid AD. With trying to keep some type of standardization, the SAM ID matches the Account Name (local account) on the Macs. The way I see it, the only way the User and Location fields populate via Azure in JSS is when enrolling and the user assigned is added in with their email address, which works fine getting the user info from Azure. However, we have a lot of turnaround in my company, and with users working remotely, we would like to add accounts remotely and have the User and Location info populate automatically. It would work if I could setup the local Mac account name as the email address, but I can't use the "@" symbol in Mac Account Name. Interesting enough, I can use the email address as an alias though. For numerous reasons, we can't use DEP in our environment yet. If I could get the "Last User Logged In: info to somehow look up the SAM ID email account, and then populate that into the "Username" field, my problem would be solved.
I have looked at other posts about this, and it would seem nobody has a full resolution. Just posting to see for feedback and thank you. Hope I explained this clearly.

