cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1357
Views
5
Helpful
5
Replies

remove mailbox only from cuc when user is cucm imported

Sascha Monteiro
Level 6
Level 6

Hi,

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!

cheers

Sascha

CUC[M] 8.5

5 Replies 5

Sascha Monteiro
Level 6
Level 6

I could unlink the user by setting;

PUT

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

cheers

Sascha

Saurabh Agnihotri
Cisco Employee
Cisco Employee

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? 

Regards,

Saurabh

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

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?

Thank-you

-Rob.

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.

 

HTH,

Anirudh