Steps to remove create and forcesync GAL account: Difference between revisions

No edit summary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
<div class="col-md-12 ibox-content">
<div class="col-md-12 ibox-content">
=Steps to remove, create and forcesync GAL account=  
=Steps to remove, create and forcesync GAL account=  
<hr>
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}}  
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}}  
{{WIP}}




Line 17: Line 15:


======Syntax======
======Syntax======
  zmgsautil deleteAccount -a {GAL-account-name} </pre>
  zmgsautil deleteAccount -a {GAL-account-name}  


======Example======
======Example======
  zmgsautil deleteAccount -a galsync@DOMAIN.COM </pre> 
  zmgsautil deleteAccount -a galsync@DOMAIN.COM


=====Note=====
'''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.  
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
  Error: Attribute zimbraGalAccountId of domain <domain.com> references an invalid account ID: 1ed6d25a-6ccc-4237-8c0a-36210837110d
     
 
 
=====Command to create GAL account=====  
=====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>
zmgsautil createAccount -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -s {mailbox-server} -f {folder-name}


======Example======
======Example======
    <pre>zmgsautil createAccount -a galsync@DOMAIN.COM -n InternalGAL --domain DOMAIN.COM -s MAILBOX.SERVER.NAME -t zimbra -f _InternalGAL</pre>
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.=====
=====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>
zmgsautil forceSync -a {GAL-account-name} -n {datasource-name}


======Example======
======Example======
    <pre>zmgsautil forceSync -a galsync@DOMAIN.COM -n InternalGAL</pre>
zmgsautil forceSync -a galsync@DOMAIN.COM -n InternalGAL
 
 
 


{{SubmittedBy|  Heera Singh Koranga}}


Regards,<br>
{{Article Footer|ZCS 8.8,8.7,8.6,8.5|2017-08-16}}
Heera Singh Koranga

Latest revision as of 23:49, 17 September 2020

Steps to remove, create and forcesync GAL account

   KB 23337        Last updated on 2020-09-17  




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} 
Example
zmgsautil deleteAccount -a galsync@DOMAIN.COM

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



Submitted by: Heera Singh Koranga
Verified Against: ZCS 8.8,8.7,8.6,8.5 Date Created: 2017-08-16
Article ID: https://wiki.zimbra.com/index.php?title=Steps_to_remove_create_and_forcesync_GAL_account Date Modified: 2020-09-17



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search