07-05-2013 07:25 AM - edited 03-16-2019 06:14 PM
I need to reset the Primary User Device to <None> using the Bulk admin tool. No-matter what I use, the job is submitted and sucessfull, but the field is NOT reset. How can I do this?
07-06-2013 08:43 AM
%NULL% is generally the clear keyword, assuming that BAT will accept it for that field (it doesn't in all cases). If that doesn't work you could export the phone with all details, delete it to forcefully break the link, and then readd it.
Please remember to rate helpful responses and identify helpful or correct answers.
07-07-2013 11:07 AM
Hoa,
What does the BAT log report indicate after making the changes?
Can you paste the log snippets for the job from Job Scheduler page?
Sent from Cisco Technical Support iPad App
07-08-2013 04:46 AM
Here is my csv input file:
USER ID,ENABLE MOBILITY,PRIMARY USER DEVICE
bic5555,f,
The output:
Update Users - Custom File
Begin Time : 07/08/2013 07:41:16
Query :
Update Users in update_users_primary_user_device.csv
Failure Details :
users Error Code Error Description
-----------------------------------------------------------------------------------------
Warning :
LDAP Sync status is enabled.Some fields cannot be updated.
******** NO ERROR FOUND ********
Result Summary :
UPDATE for 1 USERS passed.
UPDATE for 0 USERS failed.
End Time : 07/08/2013 07:41:17
07-10-2013 09:16 AM
Hoa,
Is CSV file correct ?
Have you configured the 3 columns yourself? Try using the default BAT template from CUCM and see if your update works ?
07-10-2013 09:52 AM
Yes, my csv is correct. It is the shorten version of the BAT template.
I also try with the default BAT template with the following value in the Primary User Device field:
The NULL, %NULL% and
07-10-2013 08:19 PM
Have you attempted to import the file leaving the "Primary User Device"field blank? I believe you must specify a special character in any field you want BAT to ignore. In this case you want the field overwritten so leave the field blank in your csv.
JP
Sent from Cisco Technical Support Android App
07-11-2013 06:23 AM
Yes, I did try that; and all other posibilities I could think of.
The strange thing is I am able to set the Primary User Device field to
07-12-2013 05:27 AM
This can be done and here's how:
Export Users --> All User Format
Remove contents of Primary Device field. (the field should be blank)
User ID is mandatory, leave alone
Add # to all other fields and specify that as the value for fields to be ignored when updating users.
Save the csv and then rename it to .txt
***NOTE - do not "save as" .txt as this does not work. Just rename csv file to .txt
JP
07-12-2013 08:48 AM
07-12-2013 09:03 AM
Did you disable mobility in the update file? Disable Mobility by placing f in the "Enable Mobility" field, then re-run the job.
07-12-2013 09:21 AM
same behaviour with Enable Mobility disabled
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide