Answers.Body: <p>I haven't heard back from CiviDesk, but I did go on github and find <a href="https://github.com/cividesk/com.cividesk.sync.googleapps" rel="nofollow">version 1.1</a> which claims compatibility with CiviCRM 4.5. I felt like that was close enough to my 4.7.3 for me to take the leap. I initially got a bunch of errors (see list below the break), but they are not persistent.</p>
  
  <p><strong>My Results</strong></p>
  
  <p>Success. The only errors I've spotted were due to my contacts data having undesirable unicode characters. Once corrected (By editing the table <code>civicdesk_sync_googleaps</code>) the next cron run or forced execution puts it back to work. </p>
  
  <p><strong>What to expect in your Google Apps Directory when the sync happens:</strong></p>
  
  <ol>
  <li>Wait 24-48 hours for the first results to appear. You can blame Google for that.</li>
  <li>Pre-existing contacts are not updated or deleted. New contacts will be ADDED to the Google Apps Directory. On subsequent runs, these newly-added contacts should update as CiviCRM does (I base this on the fact that the extension records Google's own contact ID for what I can only assume will be future use).</li>
  <li>Added contacts will be populated with Name, Organization, Job Title, Email, and a link to their CiviCRM profile. As far as I can tell, mailing addresses are NOT synced.</li>
  <li>The default sync speed it 50 contacts per cron run. I cranked mine up to 100 with no ill effects.</li>
  </ol>
  
  <p>That's about it. I'm including error messages below for searchability reasons for the community--I'm not expecting anyone to offer fixes especially since they were just one-time errors.</p>
  
  <p>-- Just error messages below. Avoid reading further if they make you sleepy. --</p>
  
  <p>Notice: Undefined index: child in _cividesk_insert_navigationMenu() (line 58 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/cividesk.ext.php).</p>
  
  <p>Notice: Undefined index: oauth_email in CRM_Admin_Form_Setting_GoogleApps->_checkOAuth() (line 142 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth_key in CRM_Admin_Form_Setting_GoogleApps->_checkOAuth() (line 142 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth_secret in CRM_Admin_Form_Setting_GoogleApps->_checkOAuth() (line 142 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: domain in CRM_Admin_Form_Setting_GoogleApps->_checkOAuth() (line 144 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: domain in CRM_Admin_Form_Setting_GoogleApps->buildQuickForm() (line 44 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth_key in CRM_Admin_Form_Setting_GoogleApps->buildQuickForm() (line 58 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth_secret in CRM_Admin_Form_Setting_GoogleApps->buildQuickForm() (line 63 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: last_sync in CRM_Admin_Form_Setting_GoogleApps->buildQuickForm() (line 74 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: processed in CRM_Admin_Form_Setting_GoogleApps->buildQuickForm() (line 75 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).</p>
  
  <p>Notice: Undefined index: oauth_email in CRM_Admin_Form_Setting_GoogleApps->_checkOAuth() (line 142 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth_key in CRM_Admin_Form_Setting_GoogleApps->_checkOAuth() (line 142 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth_secret in CRM_Admin_Form_Setting_GoogleApps->_checkOAuth() (line 142 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: domain in CRM_Admin_Form_Setting_GoogleApps->_checkOAuth() (line 144 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: domain in CRM_Admin_Form_Setting_GoogleApps->buildQuickForm() (line 44 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth_key in CRM_Admin_Form_Setting_GoogleApps->buildQuickForm() (line 58 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth_secret in CRM_Admin_Form_Setting_GoogleApps->buildQuickForm() (line 63 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: processed in CRM_Admin_Form_Setting_GoogleApps->buildQuickForm() (line 75 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined variable: resetStr in CRM_Admin_Form_Setting_GoogleApps->postProcess() (line 124 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: processed in civicrm_api3_job_googleapps_sync() (line 184 of /home/mysite/public_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/api/v3/Job/GoogleappsSync.php).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-05T11:12:39.013Z
Answers.Text: Thanks for trying this out - great for those thinking about giving it a spin. Why not create issues on the extension Github for the two (?) issues you ran into? You might get lucky and find someone fixes it for you - putting it on the radar is the first step, always worth making the effort.
Answers.UserDisplayName: Chris Burgess
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-30T23:25:46.740Z
Answers.LastActivityDate: 2016-03-30T23:25:46.740Z
Answers.UserDisplayName: Eric H
Answers.Body: <p>I'm trying to install your Civicrm "CiviDesk's Google Apps Sync Extension", but I met some problem to understand the values I need to set in the setup page.</p>
  
  <p>In detail:</p>
  
  <ul>
  <li>I use the 4.7 Civicrm version</li>
  <li>I created a new OAuth 2.0 </li>
  <li>in the "OAuth key" I set the Google "ID Client" (or other values as the "Name")</li>
  <li>in the "OAuth secret" I set the Google "Client secret"</li>
  </ul>
  
  <p>In any case I always obtain the message "<em>Cannot authenticate to this Google Apps domain. Check OAuth parameters</em>".</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-04T16:19:49.937Z
Answers.Text: I recently reactivated my extension after having it turned off for a few months. When I switched it back on I got the same error you noted, which leads me to wonder if there was a change at Google's end that is affecting compatibility.
Answers.UserDisplayName: Eric H
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-01T10:15:31.407Z
Answers.LastActivityDate: 2017-02-01T10:15:31.407Z
Answers.UserDisplayName: marcello
Answers.Body: <p>I try to use the power of CiviCRM 5.4.0 with CiviDesk's Google Apps Sync Extension. This is still the version 1.0 of 2013.
  Then like <a href="https://civicrm.stackexchange.com/users/2656/marcello">marcello</a> and <a href="https://civicrm.stackexchange.com/users/635/eric-h">Eric H</a> I still obtain the message "Cannot authenticate to this Google Apps domain. Check OAuth parameters".
  I contacted Google and trying to clarify an issue of trailing "space" at the end of both the ID client and the secret. Can this be the culprit? </p>
  
  <p>I let you informed of the Google answer on the case.
  Ichi</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-04T11:15:31.583Z
Answers.Text: I also contacted the Team of the CiviDesk team: https://www.cividesk.com/contact-us I let you informed of the CiviDesk answer on this issue. Ichi
Answers.UserDisplayName: Ichi
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-04T10:57:54.247Z
Answers.LastActivityDate: 2018-08-04T10:57:54.247Z
Answers.UserDisplayName: Ichi
Answers.Body: <p>In a sense I don't know, but in my experience few 4.3 extensions work 100% with 4.7, but generally are easy to update.</p>
  
  <p>I know a few people on the CiviDesk team, and I'm sure that they'd love to hear from you if you haven't contacted them directly: <a href="https://www.cividesk.com/contact-us" rel="nofollow">https://www.cividesk.com/contact-us</a></p>
  
  <p>John</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-23T22:04:39.347Z
Answers.LastActivityDate: 2016-03-23T22:04:39.347Z
Answers.UserDisplayName: JohnFF
Body: <p>I'm considering using CiviDesk's Google Apps Sync extension with CiviCRM 4.7 to update my domain's Directory. Since the information page (<a href="https://civicrm.org/extensions/google-apps-sync" rel="nofollow">https://civicrm.org/extensions/google-apps-sync</a>) is a bit old and light on details, I'd like to ask this community a few questions:</p>
  
  <ol>
  <li>It was compatible as of civicrm 4.3. Is anyone using it with later versions?</li>
  <li>On initial use, does it empty and replace your existing Google Apps Directory, add to it, or synchronize both databases.</li>
  </ol>
  
  <p>I've also asked CiviDesk these questions and will update this post if I hear from them.</p>
  
Tags: <extension>
Title: CiviDesk's Google Apps Sync Extension
ThreadText: # CiviDesk's Google Apps Sync Extension
  
  (Asked by: username_0 on 2016-03-23)
  
  I'm considering using CiviDesk's Google Apps Sync extension with CiviCRM 4.7 to update my domain's Directory. Since the information page (<https://civicrm.org/extensions/google-apps-sync>) is a bit old and light on details, I'd like to ask this community a few questions:
  
  1. It was compatible as of civicrm 4.3. Is anyone using it with later versions?
  2. On initial use, does it empty and replace your existing Google Apps Directory, add to it, or synchronize both databases.
  
  I've also asked CiviDesk these questions and will update this post if I hear from them.
  
  **Tags:** extension
  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_0 on 2016-03-30. Score: 1
  
  I haven't heard back from CiviDesk, but I did go on github and find [version 1.1](https://github.com/cividesk/com.cividesk.sync.googleapps) which claims compatibility with CiviCRM 4.5. I felt like that was close enough to my 4.7.3 for me to take the leap. I initially got a bunch of errors (see list below the break), but they are not persistent.
  
  **My Results**
  
  Success. The only errors I've spotted were due to my contacts data having undesirable unicode characters. Once corrected (By editing the table `civicdesk_sync_googleaps`) the next cron run or forced execution puts it back to work.
  
  **What to expect in your Google Apps Directory when the sync happens:**
  
  1. Wait 24-48 hours for the first results to appear. You can blame Google for that.
  2. Pre-existing contacts are not updated or deleted. New contacts will be ADDED to the Google Apps Directory. On subsequent runs, these newly-added contacts should update as CiviCRM does (I base this on the fact that the extension records Google's own contact ID for what I can only assume will be future use).
  3. Added contacts will be populated with Name, Organization, Job Title, Email, and a link to their CiviCRM profile. As far as I can tell, mailing addresses are NOT synced.
  4. The default sync speed it 50 contacts per cron run. I cranked mine up to 100 with no ill effects.
  
  That's about it. I'm including error messages below for searchability reasons for the community--I'm not expecting anyone to offer fixes especially since they were just one-time errors.
  
  -- Just error messages below. Avoid reading further if they make you sleepy. --
  
  Notice: Undefined index: child in \_cividesk\_insert\_navigationMenu() (line 58 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/cividesk.ext.php).
  
  Notice: Undefined index: oauth\_email in CRM\_Admin\_Form\_Setting\_GoogleApps->\_checkOAuth() (line 142 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth\_key in CRM\_Admin\_Form\_Setting\_GoogleApps->\_checkOAuth() (line 142 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth\_secret in CRM\_Admin\_Form\_Setting\_GoogleApps->\_checkOAuth() (line 142 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: domain in CRM\_Admin\_Form\_Setting\_GoogleApps->\_checkOAuth() (line 144 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: domain in CRM\_Admin\_Form\_Setting\_GoogleApps->buildQuickForm() (line 44 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth\_key in CRM\_Admin\_Form\_Setting\_GoogleApps->buildQuickForm() (line 58 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth\_secret in CRM\_Admin\_Form\_Setting\_GoogleApps->buildQuickForm() (line 63 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: last\_sync in CRM\_Admin\_Form\_Setting\_GoogleApps->buildQuickForm() (line 74 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: processed in CRM\_Admin\_Form\_Setting\_GoogleApps->buildQuickForm() (line 75 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  
  Notice: Undefined index: oauth\_email in CRM\_Admin\_Form\_Setting\_GoogleApps->\_checkOAuth() (line 142 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth\_key in CRM\_Admin\_Form\_Setting\_GoogleApps->\_checkOAuth() (line 142 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth\_secret in CRM\_Admin\_Form\_Setting\_GoogleApps->\_checkOAuth() (line 142 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: domain in CRM\_Admin\_Form\_Setting\_GoogleApps->\_checkOAuth() (line 144 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: domain in CRM\_Admin\_Form\_Setting\_GoogleApps->buildQuickForm() (line 44 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth\_key in CRM\_Admin\_Form\_Setting\_GoogleApps->buildQuickForm() (line 58 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: oauth\_secret in CRM\_Admin\_Form\_Setting\_GoogleApps->buildQuickForm() (line 63 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: processed in CRM\_Admin\_Form\_Setting\_GoogleApps->buildQuickForm() (line 75 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined variable: resetStr in CRM\_Admin\_Form\_Setting\_GoogleApps->postProcess() (line 124 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/CRM/Admin/Form/Setting/GoogleApps.php).
  Notice: Undefined index: processed in civicrm\_api3\_job\_googleapps\_sync() (line 184 of /home/mysite/public\_html/sites/default/files/civicrm/upload/com.cividesk.sync.googleapps-1.0/api/v3/Job/GoogleappsSync.php).
  
  > **Comments:**
  > **username_1**: Thanks for trying this out - great for those thinking about giving it a spin. Why not create issues on the extension Github for the two (?) issues you ran into? You might get lucky and find someone fixes it for you - putting it on the radar is the first step, always worth making the effort.  
  
  ---
  
  ### Answer by username_2 on 2017-02-01. Score: 0
  
  I'm trying to install your Civicrm "CiviDesk's Google Apps Sync Extension", but I met some problem to understand the values I need to set in the setup page.
  
  In detail:
  
  * I use the 4.7 Civicrm version
  * I created a new OAuth 2.0
  * in the "OAuth key" I set the Google "ID Client" (or other values as the "Name")
  * in the "OAuth secret" I set the Google "Client secret"
  
  In any case I always obtain the message "*Cannot authenticate to this Google Apps domain. Check OAuth parameters*".
  
  > **Comments:**
  > **username_0**: I recently reactivated my extension after having it turned off for a few months. When I switched it back on I got the same error you noted, which leads me to wonder if there was a change at Google's end that is affecting compatibility.  
  
  ---
  
  ### Answer by username_3 on 2018-08-04. Score: 0
  
  I try to use the power of CiviCRM 5.4.0 with CiviDesk's Google Apps Sync Extension. This is still the version 1.0 of 2013.
  Then like [username_2](https://civicrm.stackexchange.com/users/2656/username_2) and [username_0](https://civicrm.stackexchange.com/users/635/eric-h) I still obtain the message "Cannot authenticate to this Google Apps domain. Check OAuth parameters".
  I contacted Google and trying to clarify an issue of trailing "space" at the end of both the ID client and the secret. Can this be the culprit?
  
  I let you informed of the Google answer on the case.
  username_3
  
  > **Comments:**
  > **username_3**: I also contacted the Team of the CiviDesk team: https://www.cividesk.com/contact-us I let you informed of the CiviDesk answer on this issue. username_3  
  
  ---
  
  ### Answer by username_4 on 2016-03-23. Score: 0
  
  In a sense I don't know, but in my experience few 4.3 extensions work 100% with 4.7, but generally are easy to update.
  
  I know a few people on the CiviDesk team, and I'm sure that they'd love to hear from you if you haven't contacted them directly: <https://www.cividesk.com/contact-us>
  
  John
  
  
  ---
  
  