01-25-2023 12:02 AM - edited 01-25-2023 12:03 AM
When I trie to import placeholders I get an error.
Could not update placeholder 'iPad xxxx' for serial 'XXXXXXXXXX', the DEP placeholder doesn't exist
CSV file for testing is
SerialNumber,Identification,AssetTag,AssignToUser,MemberOfGroups,AutomatedDeviceEnrollmentProfile,DeviceName,Location
XXXXXXXXX,iPad xxxx,PADSX02,,BBBBBB - CCCCCC D,BBBBBB – DEP-profile,%AssetTag% - %SerialNumber%,Location X
I have 'BBBBBB – DEP-profile' in Automated Device Enrollment Profiles and this works If I manually assign it to the devices. Profile name is double checked.
AutomatedDeviceEnrollmentProfile is descibed in the documents https://docs.jamf.com/jamf-school/documentation/Placeholder_Devices.html
There's a CSV template in xxxx.jamfcloud.com/impex/devices.html but there's no AutomatedDeviceEnrollmentProfile and there are 7 labels but 8 colums???
SerialNumber;Identification;AssetTag;AssignToUser;MemberOfGroups;DeviceName;Location
2019XXXZDSK;Device001;Optional;Optional;Optional,Optional2;Optional;Optional
2019XXXZDSK;Device002;Optional;Optional;Optional,Optional3;Optional;Optional
2019XXXZDSK;Device003;Optional;Optional;Optional,Optional4;Optional;Optional
2019XXXZDSK;Device004;Optional;Optional;Optional,Optional5;Optional;Optional
2019XXXZDSK;Device005;Optional;Optional;Optional,Optional6;Optional;Optional
2019XXXZDSK;Device006;Optional;Optional;Optional,Optional7;Optional;Optional
2019XXXZDSK;Device007;Optional;Optional;Optional,Optional8;Optional;Optional
2019XXXZDSK;Device008;Optional;Optional;Optional,Optional9;Optional;Optional
2019XXXZDSK;Device009;Optional;Optional;Optional,Optional10;Optional;Optional
2019XXXZDSK;Device010;Optional;Optional;Optional,Optional11;Optional;Optional
2019XXXZDSK;Device011;Optional;Optional;Optional,Optional12;Optional;Optional
Solved! Go to Solution.
01-25-2023 11:58 PM - edited 01-26-2023 12:06 AM
The problem was that some how in copy paster the HYPHEN-MINUS character was converted to EN DASH character.
Character -
Character name HYPHEN-MINUS
Hex code point 002D
Decimal code point 45
Hex UTF-8 bytes 2D
Octal UTF-8 bytes 55
UTF-8 bytes as Latin-1 characters bytes -
Character –
Character name EN DASH
Hex code point 2013
Decimal code point 8211
Hex UTF-8 bytes E2 80 93
Octal UTF-8 bytes 342 200 223
UTF-8 bytes as Latin-1 characters bytes â <80> <93>
So triple check was requried.
Posted on 01-25-2023 06:25 AM
I'd pair down that file some unless you absolutely need all of those fields. I only use SerialNumber,Identification,AutomatedDeviceEnrollmentProfile, and AssetTag. Your example shows IPAD XXXX in the ID column maybe tweak that so it's IPADXXXX i.e. remove the space.
01-25-2023 11:58 PM - edited 01-26-2023 12:06 AM
The problem was that some how in copy paster the HYPHEN-MINUS character was converted to EN DASH character.
Character -
Character name HYPHEN-MINUS
Hex code point 002D
Decimal code point 45
Hex UTF-8 bytes 2D
Octal UTF-8 bytes 55
UTF-8 bytes as Latin-1 characters bytes -
Character –
Character name EN DASH
Hex code point 2013
Decimal code point 8211
Hex UTF-8 bytes E2 80 93
Octal UTF-8 bytes 342 200 223
UTF-8 bytes as Latin-1 characters bytes â <80> <93>
So triple check was requried.