Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

remove mailbox only from cuc when user is cucm imported


Can you remove the mailbox from CUC when the user was imported from CUCM?

or alternatively,

Can you "migrate/change" users from being cucm imported users to just plain normal created CUC users?

We need the ability to remove the users from CUC only, but that currently also removes the user from CUCM!



CUC[M] 8.5

Everyone's tags (4)

remove mailbox only from cuc when user is cucm imported

I could unlink the user by setting;


And could then delete the mailbox from CUC, would this be supported ?



Cisco Employee

remove mailbox only from cuc when user is cucm imported

Hi Sascha,

Yes, you can delete the user mailbox from CUC for a user who is imported from CUCM.

The CUC will pull the users from the CUCM through AXL(Administrative XML) and as per the design, the creation/deletion of the user on CUC should not have any impact on the CUCM users.

Do you have LDAP integration on CUC or CUCM by any chance? 



remove mailbox only from cuc when user is cucm imported

no ldap

if the user is imported from cucm, you can't delete the user from CUPI;

INVALID_PARAMETERImported users cannot be deleted via the API

If you delete the user via cuadmin, the user is removed from CUCM,

if you try to delete via cucm, it says it can't

New Member

Hi Sascha,I appreciate that

Hi Sascha,

I appreciate that your post is 3 years old, but did you ever figure this problem out using the API? Is there a way to break the "imported from CUCM" tag?



Cisco Employee

Are you looking at just

Are you looking at just removing the Imported from CUCM tag? Or converting CUCM imported users to Unity Connection users?

You can't remove the tag.

To convert the users, I'm not sure about the API but you can do it from Unity Connection itself,

Option 1:

Use the BAT tool. Export Users with mailbox. Update the CSV file. Look for the ccmid column. You'll find a string value. Replace the string value with %null%. Save and update users with mailbox using BAT.


Option 2:

Run this query on the CLI. (Replace Anirudh with the alias of the user you want to convert),

run cuc dbquery unitydirdb update tbl_user set ccmid =' ' where  objectid= (select objectid from vw_user  where alias='Anirudh')


Note: This converts CUCM imported users to Standalone Unity Connection users. You cannot sync the users with CUCM anymore.





CreatePlease to create content