jamf / mut

MIT License
134 stars 10 forks source link

User updates #4

Closed pdhowell closed 7 years ago

pdhowell commented 7 years ago

I have a CSV that I am trying to update several fields including some EA but no matter which Attribute I choose to update, it returns with Device with name Username - Failed - 404!.

CSV: /Users/pdhowell/Desktop/MUT CSVs/AdobeAccessGroup-JSSMUT.csv Found 2 rows in the CSV.

Example row from your CSV: Username: gpcalhoun, User's Site by ID: 5

Device Type: Users ID Type: Username Attribute Type: User's Site by ID

Beginning Update Run!

Device with name Username - Failed! - 404!

HTTP 404 means 'not found'. There is no device with name Username enrolled in your JSS.

Device with name gpcalhoun - OK! - 201

mike-levenick commented 7 years ago

So, it looks like that is just a failure in trying to run the first line of your CSV, which is the header.

It is trying to update the username "Username", which doesn't exist. The MUT will run the first row of your CSV, even if it's just headers. It will throw a 404, but then just move on and update the next row.

I believe there is an issue with updating user extension attributes via the API at this time. I can do some testing to confirm, but I know it was there a couple JSS versions ago. Other attributes such as asset tag should work just fine tho.

pdhowell commented 7 years ago

When I run it the update it’ll say it completed but the changes aren’t there. Do you have new help me for the current version? The video is out of date.

Thank you,

Parker Howell Level II District Technician | Prosper ISD (T) 469-219-2150 Extension 14162 (Direct) 469-219-2086

From: Mike Levenick notifications@github.com Reply-To: mike-levenick/mut reply@reply.github.com Date: Wednesday, July 26, 2017 at 2:22 PM To: mike-levenick/mut mut@noreply.github.com Cc: Parker Howell pdhowell@prosper-isd.net, Author author@noreply.github.com Subject: Re: [mike-levenick/mut] User updates (#4)

So, it looks like that is just a failure in trying to run the first line of your CSV, which is the header.

It is trying to update the username "Username", which doesn't exist. The MUT will run the first row of your CSV, even if it's just headers. It will throw a 404, but then just move on and update the next row.

I believe there is an issue with updating user extension attributes via the API at this time. I can do some testing to confirm, but I know it was there a couple JSS versions ago. Other attributes such as asset tag should work just fine tho.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mike-levenick/mut/issues/4#issuecomment-318155918, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXJ4t9KZ3iQNYSh2eyvx8W6zYWNaCumkks5sR5ICgaJpZM4OkVp_.

[Top 100]

Prosper ISD Disclaimer

mike-levenick commented 7 years ago

Understood. Have you tried updating something other than extension attribute (such as Full Name or Email)? Do those update successfully?

Which version of MUT are you using?