Difference between revisions of "Steps to remove create and forcesync GAL account"

(Created page with "=== <h1>Steps_to_remove_create_and_forcesync_GAL_account</h1> === <hr> <br> <h2>Problem: </h2> Some how default GAL account is not working or having trouble with the dataso...")
 
Line 1: Line 1:
=== <h1>Steps_to_remove_create_and_forcesync_GAL_account</h1> ===
+
{{BC|Certified}}
 +
__FORCETOC__
 +
<div class="col-md-12 ibox-content">
 +
=Steps to remove, create and forcesync GAL account=  
 
<hr>
 
<hr>
<br>
+
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}}
 +
{{WIP}}
  
  
 
+
====Problem====
<h2>Problem: </h2>
 
 
Some how default GAL account is not working or having trouble with the datasource, and Customer want to remove and re-create GAL account with internal datasource.  
 
Some how default GAL account is not working or having trouble with the datasource, and Customer want to remove and re-create GAL account with internal datasource.  
  
<h2>Solution:</h2>
+
====Solution====
 
Here are the steps to remove, re-create and forcesync GAL account.   
 
Here are the steps to remove, re-create and forcesync GAL account.   
  
 +
=====Command to remove GAL account=====
  
'''1).  Command to remove GAL account:-  '''
+
======Syntax======
 
+
  zmgsautil deleteAccount -a {GAL-account-name} </pre>
'''Syntax:'''
 
  <pre> zmgsautil deleteAccount -a {GAL-account-name} </pre>
 
 
 
'''Example:- '''
 
    <pre>zmgsautil deleteAccount -a galsync@DOMAIN.COM  </pre> 
 
  
 +
======Example======
 +
zmgsautil deleteAccount -a galsync@DOMAIN.COM  </pre> 
  
'''Note:-''' 
+
=====Note=====
 
Always remember do not remove GAL account using '''"zmprov deleteAccount".  '''
 
Always remember do not remove GAL account using '''"zmprov deleteAccount".  '''
 
If we remove GAL account using zmprov command then attribute zimbraGalAccountId not updates on Domain level config, and AdminConsole will show following error when we try to access domain.  
 
If we remove GAL account using zmprov command then attribute zimbraGalAccountId not updates on Domain level config, and AdminConsole will show following error when we try to access domain.  
  
''"Error: Attribute zimbraGalAccountId of domain <domain.com> references an invalid account ID: 1ed6d25a-6ccc-4237-8c0a-36210837110d"''
+
Error: Attribute zimbraGalAccountId of domain <domain.com> references an invalid account ID: 1ed6d25a-6ccc-4237-8c0a-36210837110d
 
        
 
        
 +
=====Command to create GAL account=====
  
'''2).  Command to create GAL account:-''' 
+
======Syntax======
 
 
'''Syntax:-'''
 
 
     <pre>zmgsautil createAccount -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -s {mailbox-server} -f {folder-name} </pre>  
 
     <pre>zmgsautil createAccount -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -s {mailbox-server} -f {folder-name} </pre>  
  
'''Example:-'''
+
======Example======
 
     <pre>zmgsautil createAccount -a galsync@DOMAIN.COM -n InternalGAL --domain DOMAIN.COM -s MAILBOX.SERVER.NAME -t zimbra -f _InternalGAL</pre>
 
     <pre>zmgsautil createAccount -a galsync@DOMAIN.COM -n InternalGAL --domain DOMAIN.COM -s MAILBOX.SERVER.NAME -t zimbra -f _InternalGAL</pre>
  
  
'''3).  Command to forcesync GAL account:-  This steps required to pull and update contacts in datasource folder. '''
+
=====Command to forcesync GAL account:-  This steps required to pull and update contacts in datasource folder.=====
  
'''Syntax:-'''
+
======Syntax======
 
     <pre>zmgsautil forceSync -a {GAL-account-name} -n {datasource-name}</pre>
 
     <pre>zmgsautil forceSync -a {GAL-account-name} -n {datasource-name}</pre>
  
'''Example:-'''
+
======Example======
 
     <pre>zmgsautil forceSync -a galsync@DOMAIN.COM -n InternalGAL</pre>
 
     <pre>zmgsautil forceSync -a galsync@DOMAIN.COM -n InternalGAL</pre>
  

Revision as of 17:07, 23 July 2018

Steps to remove, create and forcesync GAL account


   KB 23337        Last updated on 2018-07-23  




0.00
(0 votes)


Problem

Some how default GAL account is not working or having trouble with the datasource, and Customer want to remove and re-create GAL account with internal datasource.

Solution

Here are the steps to remove, re-create and forcesync GAL account.

Command to remove GAL account
Syntax
zmgsautil deleteAccount -a {GAL-account-name} </pre>
Example
zmgsautil deleteAccount -a galsync@DOMAIN.COM  </pre>  
Note

Always remember do not remove GAL account using "zmprov deleteAccount". If we remove GAL account using zmprov command then attribute zimbraGalAccountId not updates on Domain level config, and AdminConsole will show following error when we try to access domain.

Error: Attribute zimbraGalAccountId of domain <domain.com> references an invalid account ID: 1ed6d25a-6ccc-4237-8c0a-36210837110d
     
Command to create GAL account
Syntax
zmgsautil createAccount -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -s {mailbox-server} -f {folder-name} 
Example
zmgsautil createAccount -a galsync@DOMAIN.COM -n InternalGAL --domain DOMAIN.COM -s MAILBOX.SERVER.NAME -t zimbra -f _InternalGAL


Command to forcesync GAL account:- This steps required to pull and update contacts in datasource folder.
Syntax
zmgsautil forceSync -a {GAL-account-name} -n {datasource-name}
Example
zmgsautil forceSync -a galsync@DOMAIN.COM -n InternalGAL


Regards,

Heera Singh Koranga
Jump to: navigation, search