<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Google Cloud Directory Sync with an Active Directory gMSA service account in Peer-Peer Topics</title>
    <link>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51696#M2594</link>
    <description>&lt;P&gt;Thanks Kim.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well I believe the local xml encryption is not my showstopper anymore, as I was able to open the config-manager application under the gMSA users context. Once I can save a working config from there I have no doubts the scheduled task will work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its just getting that unique URL from that "authorize now" button thats blocking me. It may not be doable but I will keep thinking of creative ways to capture that URL and hope someone smarter than me has figured it out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2024 13:55:20 GMT</pubDate>
    <dc:creator>ckutzan</dc:creator>
    <dc:date>2024-05-07T13:55:20Z</dc:date>
    <item>
      <title>Google Cloud Directory Sync with an Active Directory gMSA service account</title>
      <link>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51655#M2591</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been sailing along just fine for years with our existing setup of a normal AD account and scheduled task that calls a .bat file to do our hourly sync from a Windows server.&lt;/P&gt;&lt;P&gt;Now however, we are trying to reduce and remove normal style service accounts in our division and transition anything that runs scheduled tasks to gMSA accounts for improved security.&lt;/P&gt;&lt;P&gt;The issue is of course that with GCDS the scheduled task needs to be the same user as the one that saves the config as its encrypted. So even though I have my scheduled task transitioned to running under the new gMSA account, it fails as the config was created and saved by the old AD user service account. So my issue now is I need to re-save and authorize a new config as under the gMSA user.&lt;/P&gt;&lt;P&gt;However with gMSA accounts you cannot use them to login interactively on the server, though I was able to use PSEXEC to start and open the GCDS config-manager software as the gSMA user, my issue now is clicking the "Authorize Now" button.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ckutzan_0-1715088664400.png" style="width: 400px;"&gt;&lt;img src="https://www.googleforeducommunity.com/t5/image/serverpage/image-id/1708iAC68F7CF1C265913/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ckutzan_0-1715088664400.png" alt="ckutzan_0-1715088664400.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Normally of course it opens a browser window where you sign in and grant Oauth access. But no browser opens, nor even if I open Chrome via PSEXEC, it doesn't launch a new tab.&lt;/P&gt;&lt;P&gt;So the TL;DR:&lt;/P&gt;&lt;P&gt;1. Has anyone successfully been able to migrate to using a gMSA AD service account? How?&lt;/P&gt;&lt;P&gt;2. Alternatively any creative ideas to get the URL that is behind that "Authorize now" button? I could then just paste it into a browser session that I start as the gMSA user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 13:35:31 GMT</pubDate>
      <guid>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51655#M2591</guid>
      <dc:creator>ckutzan</dc:creator>
      <dc:date>2024-05-07T13:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Google Cloud Directory Sync with an Active Directory gMSA service account</title>
      <link>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51694#M2592</link>
      <description>&lt;P&gt;I'm thinking that GCDS needs to save those credentials somewhere.&lt;/P&gt;&lt;P&gt;So perhaps you could do the auth some other way, and save the credentials in the place GCDS expects them to be. Ohhh, right, it's actually inside the xml itself, encrypted. That might be tricky.&lt;/P&gt;&lt;P&gt;I'm guessing Google is not going to tell you how it's encrypted, for fear of people then using that to&amp;nbsp;&lt;EM&gt;decrypt&lt;/EM&gt; such files. If you already know, then you can perhaps do it. Still need to know what data to put there, of course.&lt;/P&gt;&lt;P&gt;The (GSPS) Password sync uses a regular .P12 file for the Google service account access, but you do have to load it inside the software.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 13:44:45 GMT</pubDate>
      <guid>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51694#M2592</guid>
      <dc:creator>Kim_Nilsson</dc:creator>
      <dc:date>2024-05-07T13:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Google Cloud Directory Sync with an Active Directory gMSA service account</title>
      <link>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51696#M2594</link>
      <description>&lt;P&gt;Thanks Kim.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well I believe the local xml encryption is not my showstopper anymore, as I was able to open the config-manager application under the gMSA users context. Once I can save a working config from there I have no doubts the scheduled task will work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its just getting that unique URL from that "authorize now" button thats blocking me. It may not be doable but I will keep thinking of creative ways to capture that URL and hope someone smarter than me has figured it out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 13:55:20 GMT</pubDate>
      <guid>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51696#M2594</guid>
      <dc:creator>ckutzan</dc:creator>
      <dc:date>2024-05-07T13:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Google Cloud Directory Sync with an Active Directory gMSA service account</title>
      <link>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51698#M2596</link>
      <description>&lt;P&gt;Well, I think it'll be hard to skip the software expecting to be able to complete the process inside the actual GCDS and then again wait for you to exit and save the xml.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 14:05:07 GMT</pubDate>
      <guid>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51698#M2596</guid>
      <dc:creator>Kim_Nilsson</dc:creator>
      <dc:date>2024-05-07T14:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Google Cloud Directory Sync with an Active Directory gMSA service account</title>
      <link>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51742#M2597</link>
      <description>&lt;P&gt;Isn't that so funny, sometimes you just need to chat about a problem and solution appears&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;Figured it out completely randomly. For anyone else who is trying to do this:&lt;/P&gt;&lt;P&gt;When you click "Authorize now" a log entry gets generated in the file "output.log" that is located in the GCDS installation directory. That line contains the unique URL you need to visit to authorize in Google Workspace portal.&lt;/P&gt;&lt;P&gt;Using PSEXEC launch Chrome or your browser of choice installed so that its running as the gMSA user account and visit the URL and authorize. Then you can save your XML config and your scheduled task (created using the same gMSA account) will work!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 16:26:00 GMT</pubDate>
      <guid>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51742#M2597</guid>
      <dc:creator>ckutzan</dc:creator>
      <dc:date>2024-05-07T16:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Google Cloud Directory Sync with an Active Directory gMSA service account</title>
      <link>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51743#M2598</link>
      <description>&lt;P&gt;Awesome! Great find!&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 16:34:07 GMT</pubDate>
      <guid>https://www.googleforeducommunity.com/t5/Peer-Peer-Topics/Google-Cloud-Directory-Sync-with-an-Active-Directory-gMSA/m-p/51743#M2598</guid>
      <dc:creator>Kim_Nilsson</dc:creator>
      <dc:date>2024-05-07T16:34:07Z</dc:date>
    </item>
  </channel>
</rss>

