Inserting User Device Profiles via BAT

I have been trying to insert User Device profiles using the BAT utility. When I select the Insert User Device Profiles Specific Details, select the file, and run the job it fails. However when I select the "Insert User Device Profiles All Details" the spreadsheet I chose is not uploaded but all new profiles are created and added. I am very confused because I am including all the details that are oulined as required on the "specific details" file I am trying to insert and it fails every time with a "device name" error but when I select the "all devices" the same uploaded file works fine?? Any advice/feedback would be very much appreciated.
Thank you!

Hey Vicky,
I just spent some time browsing the numerous Bugs related to BAT in the CUCM 5.1(x) versions. There are well over 250 Bugs :( I'm guessing that you may be hitting this one that does not identify * Mandatory Fields properly (like Device Name);
CSCsj74131 Bug Details
BAT.xlt UDP work sheet need changes.
Symptom:
BAT.xlt UDP work sheet need changes
Conditions:
Steps to Reproduce:
1. Download BAT.xlt.
2. Open it and goto UDP work sheet.
3. You could find "Device Profile name " as "optional"
It should be mandatory.
Also create file format for UDP missing "service".
work Around:
none
Status
Fixed
Severity
4 - minor
Last Modified
Any Time
Product
Cisco Unified Communications Manager (CallManager)
Technology
1st Found-In
5.1(2.9901.30)
Fixed-In
Release-Pending
Hope this helps! Just a guess here (sorry),
Rob

Similar Messages

  • Bat multiple BLF with User Device Profiles

    Has anyone able to BAT in multiple Speed Dial/BLF into a user device profile.  I have CUCM 7.1 and trying to BAT in a line with multiple SD/BLF for the other buttons.  I get this error
    Error : Missing key in referenced table for referential constraint (informix.fk_blfspeeddial_fknumplan).
    I checked my phone template and it has 1 line with 5 SD/BLF
    My phone type is 9951
    Thanks

    Juergen,
    Do your fields look like this?
    Busy Lamp Field Label 3
    Busy Lamp Field Label ASCII 3
    Busy Lamp Field Destination 3
    Busy Lamp Field Directory Number 3
    J. Nelson
    J. Nelson
    2303 in INTERNAL-PT
    Nurse
    Nurse
    4062 in INTERNAL-PT
    Library
    Library
    4017 in INTERNAL-PT
    B. Hipsher
    B. Hipsher
    4092 in INTERNAL-PT
    C. Kirkland
    C. Kirkland
    8246 in INTERNAL-PT
    L. Stoner
    L. Stoner
    2040 in INTERNAL-PT
    South Lounge
    South Lounge
    2637 in INTERNAL-PT
    Ginger W
    Ginger W
    6043 in INTERNAL-PT
    K. Jaffie
    K. Jaffie
    4609 in INTERNAL-PT
    L. Cornwall
    L. Cornwall
    2755 in ES-ClassRm-PT
    NA Counselor
    NA Counselor
    2123 in ES-ClassRm-PT
    S. Brigman
    S. Brigman
    8262 in INTERNAL-PT
    D. Sorden
    D. Sorden
    8205 in INTERNAL-PT
    J. Brandel
    J. Brandel
    8105 in INTERNAL-PT
    J. Brandel
    J. Brandel
    8105 in INTERNAL-PT
    S. Pebley
    S. Pebley
    5512 in INTERNAL-PT
    S. Pebley
    S. Pebley
    5512 in INTERNAL-PT
    Wanda B
    Wanda B
    6072 in INTERNAL-PT

  • User device profile

    Hello,
    Scenario,
    7960 Phone:
    extenion : 5555 it is on phone line
    partition: internal
    CSS: internal
    User Device Profile created for user for EM by choosing 7960 device
    extension : 5555 it is on user device profile line
    partition: UDP
    CSS: GSM
    Question:
    when a user is logged in 7911 phone and when a PSTN users call 5555 the phone rings to a Phone line on 7960 but not on the profile where is logged in i.e 7911
    why like that???
    Thanks

    Phone and DN CSS are concatenated when both are assigned, where the CSS applied to the DN on a phone has higher preference. The most typical case for applying both is "device/line approach" for building classes of restrictions where you assign routing CSS to the device (CSS with access to routing patterns) and then blocking CSS to the DN in order to block let's say international dialing. This approach allows you to considerebly reduce number of required paritions and CSSes in your deployment. For more details you can refer to UC SRND which describes it in great detail with examples and nice diagrams.
    HTH, please rate all useful posts!
    Chris

  • How to search for unused User Device Profiles in CUCM 10?

    Hi guys, 
    I have a customer who would like to find out which User Device Profiles are not being used.  I think the following methods would work but I have no idea how to do these in bulk: 
    1: Figure out if the User Device Profile is associated with a user or not 
    2: Figure out when the last time the user device profile was used (Is this possible?  Direct database query?  If so how?) 
    Any help would be greatly appreciated
    -Akin

    I had the same issue in my former company but luckily we used the "Login User ID" field wher we had the end user associated.
    As soon as the User left the company and therefor was deleted in CUCM that field became empty.
    So what I did was following
    Generate a User Device Profile Report (Bulk Administration > User device Profiles > Generate UDP Reports
    Select from the device fields Profilename and Login User ID
    Let the report run and open the report file (you will find it at the job scheduler)
    All UDP's without a login user ID are usually not assigned to a user and you may want to delete those.
    No idea about the SQL query but you maybe find something usefull in the database dictionary http://www.cisco.com/c/en/us/support/unified-communications/unified-communications-manager-callmanager/products-programming-reference-guides-list.html
    Eike

  • CUCM 10.5: User Device Profiles provisioning possible?

    Recently we've Upgraded our CUCM Cluster from 8.6.2 to 10.5 to gain some new features. In the feature list there is a lot of stuff for provisioning and making admin things easier. Right now, if there is a new employee in our company, we manually create the specific UserDeviceProfile for this user and make the settings needed, but it's more or less some standard procedure, which in my opinion, can be created by a template for example.
    The phones itself will still be manually created as we need to assign the company logo to the background, installing certificates and stuff like that, which can't (can it be?) be done remotely.
    In 10.5 I've seen that under "User Management - User/Phone Add" there are some points where to define different templates. So is there any way in automatically create the user device profiles, for example if the user has been created in the MS Active Directory with the proper filds (ipphone, name, ...)? I haven't found a manual for this scenario (just for the self-provisioning with IVR, which I don't want)
    Thanks in advance :)

    We are experiencing the same issue in our organisation.  Is this simply a limitation of the Self Care Portal?  If so, is it on the roadmap to support configurations with multiple Remote Destination Profiles in the future?
    Error message attached.
    Regards,
    John.

  • Finding Orphaned User Device Profiles for EM

    HI Everyone
    I want to clean up CUCM and get rid of orphaned device profiles and I wanted to know is there a function in CUCM that will allow me to do this or some sort of CLI command that I can use to get the excess profiles out of the system. Thanks in advance for the help and have a great day and I look forward to the answer.
    Eric                  

    I've been waiting for someone to post the command that I would use from the CLI so I googled it and I did find a site called UC Guerrilla and they talked about it but they didn't show what commands to use.

  • User device profile change

    Hi,
    I have a UDP created by 7911 phone type for 400 users, now we are changing the phones to 6945,
    User will able to login (EM) without issues but  the problem is in 6945 phones but they will not get the additional "4" lines becz their UDP was created by 7911,
    If i want to change the UDP type from 7911 to 6945 without changing the user setting is there any way
    OR
    the only way is i have to export all UDP and their recreate a BAT file according to the exisitng setting of the users on the line and import in CUCM.
    Thanks

    Dear
    yes good hint,
    I have migrated from 6.1 to 9.1 so the customer will go live with the existing data which has been brought forward from 6.1, when there are no issues with the back restore than only he will delete the old phones and old udp,
    so the alternate solution is to add some common name in each UDP for example,          old udp name is abc then new udp name will abc_new,
    when i will delete the old udp then i can rename the abc_new to abc i hope it will not effect the settings and the login of the user.
    please confirm
    thanks

  • Remove User Device Affinity via WMI ?

    Is there currently a way to remove UDA via WMI?  I have seen the Remove-CMDeviceAffinityFromUser powershell command, but from what i can tell, this requires at a bare minimum the dlls to be loaded from the admin console.  It would be nice if
    this could be done via wmi \ vbscript, so that it could be called from the system context over a connection established with alternative credentials.    

    While reading this I thought why not get the WMI/CIM instance of the class mentioned by Peter and pipe it to Remove-CIMInstance .
    I tried this one and the below works for me (Note I have already set the PSDefaultCommonparameters to point to correct namespace and ConfigMgr Server ) using below :
    $PSDefaultParameterValues =@{"get-cimInstance:computername"="DexSCCM";"get-ciminstance:namespace"="Root\SMS\site_DEX"}
    Once the Parameter Values are set I used below to get the only UDA rule I have for a machine named DexDC. Once I am done removing the UDA the same can be verified via the Console as well.
    PS DEX:\> Get-CimInstance -ClassName SMS_UserMachineRelationship
    CreationTime : 10/28/2014 3:19:49 AM
    IsActive : True
    RelationshipResourceID : 25165824
    ResourceClientType :
    ResourceID : 2097152001
    ResourceName : DEXDC
    Sources : {2}
    Types : {1}
    UniqueUserName : DEX\DexterPOSH
    PSComputerName : DexSCCM
    PS DEX:\> Get-CimInstance -ClassName SMS_UserMachineRelationship | Remove-CimInstance -Verbose
    VERBOSE: Performing the operation "Remove-CimInstance" on target "SMS_UserMachineRelationship (RelationshipResourceID =
    25165824)".
    VERBOSE: Perform operation 'Delete CimInstance' with following parameters, ''namespaceName' =
    root/sms/site_dex,'instance' = SMS_UserMachineRelationship (RelationshipResourceID = 25165824)'.
    VERBOSE: Operation 'Delete CimInstance' complete.
    PS DEX:\>
    Check the SMSProv.log for any errors (shouldn't be any). The advantage of using WMI/CIM here is that this can be run from any machine (doesn't need the CM PowerShell module) and with WMI/CIM you can pass alternate creds etc.
    Hope this helps
    Knowledge is Power{Shell}
    DexterPOSH
    My Blog

  • CUCM 9.1.1 ucmuser web sort order of controlled device profiles

    Hi !
    Anyone has an idea, how the web interface for the users (ucmuser) does sort the controlled em device profiles ?
    Or even better how to change the displayed sort order ?
    Changing the order of controlled device profiles in the user configuration in ccmadmin does not change anything in ucmuser.
    And the controlled device profiles in ucmuser seem to have no recognizable order at all, but the order keeps being the same,
    regardless any changes we make in ccmadmin.
    Thanks
    Ralph

    Hi.
    You can export all UDP.
    Edit it with Excel
    filter only entries with empty user
    Upload the modified file as UDP- UDP Delete Custom File
    Select delete device profile from BAT menu
    HTH
    Regards
    Carlo

  • Device Profile Default Problems

    I am trying to create a default device profile for extension mobility for a 7961 phone. It is not in there. I see 7960s and 40s but I dont see any 41s or 61s. Any body run into this?

    Hi Justin,
    You should be able to create "default device profiles" for 7941's and 7961's, have a look;
    With Cisco CallManager 4.0 or later, you configure a clusterwide device profile default for each model of Cisco IP Phone that you want to support Cisco CallManager Extension Mobility. The phone takes on the device profile default whenever a user logs in to a phone model for which the user has no user device profile.
    To add a device profile default for a phone model, perform the following procedure.
    Procedure
    Step 1 From Cisco CallManager Administration, choose Device > Device Settings > Device Profile Default.
    The Device Profile Default Configuration window displays.
    Step 2 Click the Add a New Device Profile Default link. From the Device Type drop-down list box, choose the device (such as a Cisco IP Phone) to which a profile gets created.
    Step 3 From the User Hold Audio Source field, choose from the drop-down list box to specify the audio source that plays when a user initiates a hold action.
    If you do not choose an audio source, Cisco CallManager uses the audio source that is defined in the device pool or, if the device pool does not specify an audio source ID, the system default.
    Tip You define audio sources in the Music On Hold Audio Source Configuration window. For access, choose Service > Music On Hold.
    Step 4 At the User Locale drop-down list box, choose the locale that is associated with the phone user interface.
    The user locale identifies a set of detailed information, including language and font, to support users. Cisco CallManager makes this field available only for phone models that support localization.
    Note If no user locale is specified, Cisco CallManager uses the user locale that is associated with the device pool.
    Step 5 At the Phone Button Template field, choose the appropriate phone button template. The phone button template determines the configuration of the softkeys on Cisco IP Phones. Leave this field blank if the device pool contains the assigned softkey template.
    Step 6 If the phone model supports the Cisco IP Phone Expansion Module 7914, Cisco CallManager displays the expansion module field.
    a. At the Module 1 drop-down list box choose one or zero 7914 14-button expansion module.
    b. At the Module 2 drop-down list box, choose one or zero 7914 14-button expansion module.
    Step 7 To configure Multilevel Precedence and Preemption (MLPP) information:
    Step 8 Click Insert.
    The device profile displays in the Device Profile Default pane.
    Step 9 Click the Subscribe/Unsubscribe Services link to add the Cisco Extension Mobility service to this profile.
    The Subscribe Cisco IP Phone services window displays.
    Step 10 From the Select a Service drop-down list box, choose the service that you added in the "Adding the Cisco Extension Mobility Service" section.
    Step 11 Click Continue.
    The window displays the service that you chose.
    Step 12 Click Subscribe.
    The service displays in the Subscribed Services list.
    From this doc;
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_administration_guide_chapter09186a008055af4c.html#wp1209085
    Hope this helps!
    Rob
    Please remember to rate helpful posts.....

  • Japanese device profiles on CS4

    I have the US version of CS4 and I would like to get the device profiles for Japanese mobiles.
    However the online library fails to come up with anything when I search for docomo, au, softbank etc.
    I know they exist because you can download them for CS3 and they are documented all over the Adobe site.
    So how can I download Japanese mobile phone profiles through CS4?
    Thanks.

    Hi.
    You can export all UDP.
    Edit it with Excel
    filter only entries with empty user
    Upload the modified file as UDP- UDP Delete Custom File
    Select delete device profile from BAT menu
    HTH
    Regards
    Carlo

  • Get device profile

    Hi,
    Just wondering if it is possible to get device profile given any device criteria. I have only found getDeviceProfile in AXL which requires a profile name. I have not found any table relations in the documentation, for the SQL route, either.
    My scenario is I have a list of devices and I want to get a device profile for each device to determin who has logged in and what the current directory number for the device is (for hotdesking purposes)
    Many thanks for your time,
    Ben

    Device Profiles are stored in the device table. E.g. you have your autogenerated device profile (generated when you enable extension mobility and select "use current profile") - named ADP + MAC Address of the phone. The user device profiles are also in there, and named as they are in the appropriate ccmadmin pages (the same name you need to plug into getDeviceProfile).
    However, if I understand what you want to do correctly, you're going the wrong route. The extension mobility API allows you to query who is currently logged into a phone. From that, you can get a list of deviceProfiles for the user (getUser command), and from that you can get getDeviceProfile. If the user has multiple profiles, you can then look at the directory numbers on the profile, and compare them with the directory numbers currently on the phone to pick the proper profile (or if all profiles have the same DNs, you need to find a uniquely distinguishable property between profiles... and search for it on the current phone (getPhone).
    There's no record which device profile is currently applied on a certain phone.
    CCM 5.0 and above have the notion of a default device profile - which you can extract via SQL, but there again, there's no direct way to identify which profile has been loaded onto a phone.
    I suspect EM works as follows: once you log in, it saves the current phone settings in the ADP + MAC address device profile in the device table, then loads the selected device profile, and applies all the settings to the phone config (the SEPxxx entry in the device table), then the phone restarts, and voila, you're logged on. When you log out again, the settings from the ADPxxx profile are loaded and re-applied to the phone. That would also explain why it's not possible to make modifications while somebody is logged in (not that it's technically impossible.. it's just not as straightforward because a lot of parameters that will show up when you access the phone actually belong to the user's device profile, and not to the phone itself).
    AXL also has two parameters, the loginUserId and ownerUserId parameters for getPhone.. the former is which user is currently logged in, so that's the alternative to using the EM service to query which user is logged into a specific phone.
    Or, you do it via SQL, the query is as follows: select LoginUserid from device where name = '" + deviceName + "'"

  • CUCM SQL: Device Profile without Line [1] Number

    Hi Guys,
    we're cleaning up our Callmanager environment right now and I wanna get rid of User Device Profiles which never have been deleted. Is there any way (my thought was via SQL) to at least show up the Device Profiles, who don't have a Line [1] number associated with it (the DNs already have been deleted but there still a lot of old Profiles laying around)
    Thanks for a short reply
    cheers
    Marc

    Try this: 
    run sql select device.name from device where not exists (select fkdevice from devicenumplanmap where devicenumplanmap.fkdevice = device.pkid) and device.tkclass = 254
    ... though George's answer is equally practical for non-SQL types (+5) :-)
    Aaron

  • Acces Restriction : Role of web page device profile

    Hello,
    I work on CCM v6.1.
    I'm trying to find witch role i can use to allow user to connect to CCMAdmin only on web page Device Profile  ( in menu Device --> device settings)
    I try many Resource Access Information but i don't find good right .
    Thank for your Help

    Thanks for your help,
    I created a new role but witch ressource i must choose to access to user device profiles ?
    There is 250 right's posibility which one should I check ?

  • Mandatory Profile via GPO

    Hi Dear,
    I have a requirement to configure couple of terminal servers in Windows server 2012.
    However we do not want any user to save anything onto their local profiles. Around 200 users will be using this terminal server for their use with multiple applications that will be installed in the server.
    Is it possible to configure user mandatory profiles via Group Policy. Really appreciate of someone can provide me the steps preferably in the easy mode. However to test it I have created a test server since I am not that good at registry values would not
    do any harm to the environment.
    I am using Server 2012 as a test terminal server and active directory is 2008.
    Thank You in Advance.
    -vikram

    Hi,
    for assistance with TS/RDS, the dedicated forum is here:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverTS
    Further reading for you:
    Manage User Profiles for Remote Desktop Services
    https://technet.microsoft.com/en-us/library/cc742820.aspx
    http://blogs.msdn.com/b/rds/archive/2009/06/02/user-profiles-on-windows-server-2008-r2-remote-desktop-services.aspx
    http://blogs.msdn.com/b/rds/archive/2012/11/13/easier-user-data-management-with-user-profile-disks-in-windows-server-2012.aspx
    Managing Roaming User Data Deployment Guide
    http://go.microsoft.com/fwlink/?LinkId=73760
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Maybe you are looking for

  • Exception:java.lang.IllegalAccessError in OIE

    After applying CU2 update and OIE.K we are receiving errors when entering expenses: In the expense report responsibility, I created new expense. Entered the expense line then clicked Next Then I receive the error "Request URI:/OA_HTML/OA.jsp Exceptio

  • Enabling "Save This View" button - change does not stick

    Running SharePoint 2013 Server Standard I have several sites.  For some the "Save This View" choice when filtering a view is enabled.  However, there are some for which the choice does not display. I located the setting for this in Editing the Page,

  • Apple bluetooth keyboard and Magic Trackpad are sluggish and constantly disconnecting - I'm in pain

    Dear Apple, Bluetooth issues are damaging my job as I rely on external display and periphery. The connection is not interrupted too often like it was before 10.10.3, but it still does, and when it doesn't - the performance is very sluggish. If you ca

  • Retrieve parameters from url

    Hi All, I'll call my webdynpro using this url http://server_url:8012/sap/bc/webdynpro/sap/zhrtm_job_description?STELL=50106480&sap-client=040&sap-language=EN How can I retrieve the value of STELL ???? thanks in advance! Message was edited by:        

  • SQL Query Logic to to Calculate Shipment price

    Hi Experts, As i have created a thread already regarding this. You Can Refer my previous thread in [Previous Thread|http://forums.oracle.com/forums/thread.jspa?threadID=1027799&tstart=0] I will post my question again in this thread too, Table Records