Populating PreStage with MUT

kbremner
New Contributor III

I'm trying to change some computer Prestage assignments using the MUT tool but having difficulty. In MUT I have selected 'Remove from Prestage' and then input the appropriate id# but when I run it it errors out with "404 error: Computer Prestage with id 18 does not exist". Except it does. Is this an issue others have had or am I doing something wrong?

MUT screen:

Screen Shot 2021-08-26 at 4.05.22 PM.png

URL from browser:

kbremner_0-1630008476595.png

 

Log results:

2021-08-26 04:03:50 [INFO  ]: Token has 222 seconds left to live. Proceeding with current token.
2021-08-26 04:03:50 [INFO  ]: Beginning CSV Parse - Scope update.
2021-08-26 04:03:50 [INFO  ]: Getting current prestage scope from https://mtbluersd.jamfcloud.com/uapi/v2/computer-prestages/18/scope
2021-08-26 04:03:50 [ERROR ]: Failed GET. 404.
2021-08-26 04:03:50 [ERROR ]: {
  "httpStatus" : 404,
  "errors" : [ {
    "code" : "INVALID_ID",
    "description" : "Computer Prestage with id 18 does not exist",
    "id" : "18",
    "field" : "id"
  } ]
}
2021-08-26 04:03:50 [INFO  ]: Updating the current prestage scope at https://mtbluersd.jamfcloud.com/uapi/v2/computer-prestages/18/scope/delete-multiple
2021-08-26 04:03:50 [ERROR ]: Failed scope update. 404.
2021-08-26 04:03:50 [ERROR ]: {
  "httpStatus" : 404,
  "errors" : [ {
    "code" : "INVALID_ID",
    "description" : "Computer Prestage with id 18 does not exist",
    "id" : "18",
    "field" : "id"
  } ]
}

 

6 REPLIES 6

ChaseEndy
New Contributor III

I would go to the App Store and download MUT Classic as this will try to submit the devices one by one whereas MUT v5 submits the list all at once. https://apps.apple.com/us/app/mut-classic/id1473487226?mt=12 

 

After downloading it I would toggle on Advanced Debugging in the Settings pane on the App Menu Bar

kbremner
New Contributor III

I thought about that but Prestage isn't one of the attribute options to update.

ChaseEndy
New Contributor III

Are the devices unassigned from a prestage and pointed at your production server? 

kbremner
New Contributor III

No, they are currently in a prestage. I want to remove them so I can put them in a different prestage. 

ChaseEndy
New Contributor III

So what I would try is to manually remove them from their current Prestage and then add them using MUT to see if that works? I can't say that I've run into many issues using MUT

mlev
Contributor

@ChaseEndy @kbremner MUT v6 has a fix for this. 🙂

MUT v6 will fall back to "classic mode" if you have a group or prestage update that fails. https://community.jamf.com/t5/jamf-pro/mut-v6-0-0-is-now-available/m-p/249538

EDIT: I just re-read your post. It appears the issue is actually that you do not have a Computer Prestage with ID of 18 in your environment. Those look like they could possibly be mobile device Serial Numbers. Is it possible that you are attempting to add Mobile Devices to a Computer Prestage, but used the Mobile Device Prestage ID?