You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to migrate a Mac from Jamf to Intune using Jamf Pro's new API cleint and roles feature, I get a 401 error. Upon further investigation is appears the migration script usses the NEW API but with classic bearer token auth?
Script result: Device is managed by Jamf.
Checking if the device is ADE enrolled...
Device is ADE enrolled.
Company Portal is already installed.
swiftDialog is already installed.
jq is already installed.
User is ready to start the migration.
Serial Number: XXXXXXXXX
Auth Token: null
Computer ID: null
DEBUG: Unmanaging device with computer ID: null
DEBUG: unmanage_device response: {
"httpStatus" : 401,
"errors" : [ ]
}
Failed to unmanage device: {
"httpStatus" : 401,
"errors" : [ ]
}