Skip to content

Commit f321a39

Browse files
authored
Update how-to-install-pshell.md
Added note and link for US Gov Cloud at step 8 as install will still succeed and to prevent customers from having to uninstall later if they don't see the note at the bottom of the article.
1 parent 79d2907 commit f321a39

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/active-directory/hybrid/cloud-sync/how-to-install-pshell.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,56 +40,56 @@ The Windows server must have TLS 1.2 enabled before you install the Azure AD Con
4040
[![Screenshot that the download agent](media/how-to-install/new-install-2.png)](media/how-to-install/new-install-2.png#lightbox)</br>
4141
6. On the right, click **Accept terms and download**.
4242
7. For the purposes of these instructions, the agent was downloaded to the C:\temp folder.
43-
8. Install ProvisioningAgent in quiet mode.
43+
8. Install ProvisioningAgent in quiet mode. [If Installing against US Government Cloud, click here for alternate code block.](how-to-install-pshell.md#installing-against-us-government-cloud)
4444
```
4545
$installerProcess = Start-Process 'c:\temp\AADConnectProvisioningAgentSetup.exe' /quiet -NoNewWindow -PassThru
4646
$installerProcess.WaitForExit()
4747

4848
```
49-
9. Import the Provisioning Agent PS module.
49+
10. Import the Provisioning Agent PS module.
5050
```
5151
Import-Module "C:\Program Files\Microsoft Azure AD Connect Provisioning Agent\Microsoft.CloudSync.PowerShell.dll"
5252
```
53-
10. Connect to Azure AD by using an account with the hybrid identity role. You can customize this section to fetch a password from a secure store.
53+
11. Connect to Azure AD by using an account with the hybrid identity role. You can customize this section to fetch a password from a secure store.
5454
```
5555
$hybridAdminPassword = ConvertTo-SecureString -String "Hybrid identity admin password" -AsPlainText -Force
5656
5757
$hybridAdminCreds = New-Object System.Management.Automation.PSCredential -ArgumentList ("[email protected]", $hybridAdminPassword)
5858
5959
Connect-AADCloudSyncAzureAD -Credential $hybridAdminCreds
6060
```
61-
11. Add the gMSA account, and provide credentials of the domain admin to create the default gMSA account.
61+
12. Add the gMSA account, and provide credentials of the domain admin to create the default gMSA account.
6262
```
6363
$domainAdminPassword = ConvertTo-SecureString -String "Domain admin password" -AsPlainText -Force
6464
6565
$domainAdminCreds = New-Object System.Management.Automation.PSCredential -ArgumentList ("DomainName\DomainAdminAccountName", $domainAdminPassword)
6666
6767
Add-AADCloudSyncGMSA -Credential $domainAdminCreds
6868
```
69-
12. Or use the preceding cmdlet to provide a precreated gMSA account.
69+
13. Or use the preceding cmdlet to provide a precreated gMSA account.
7070
```
7171
Add-AADCloudSyncGMSA -CustomGMSAName preCreatedGMSAName$
7272
```
73-
13. Add the domain.
73+
14. Add the domain.
7474
```
7575
$contosoDomainAdminPassword = ConvertTo-SecureString -String "Domain admin password" -AsPlainText -Force
7676
7777
$contosoDomainAdminCreds = New-Object System.Management.Automation.PSCredential -ArgumentList ("DomainName\DomainAdminAccountName", $contosoDomainAdminPassword)
7878
7979
Add-AADCloudSyncADDomain -DomainName contoso.com -Credential $contosoDomainAdminCreds
8080
```
81-
14. Or use the preceding cmdlet to configure preferred domain controllers.
81+
15. Or use the preceding cmdlet to configure preferred domain controllers.
8282
```
8383
$preferredDCs = @("PreferredDC1", "PreferredDC2", "PreferredDC3")
8484
8585
Add-AADCloudSyncADDomain -DomainName contoso.com -Credential $contosoDomainAdminCreds -PreferredDomainControllers $preferredDCs
8686
```
87-
15. Repeat the previous step to add more domains. Provide the account names and domain names of the respective domains.
88-
16. Restart the service.
87+
16. Repeat the previous step to add more domains. Provide the account names and domain names of the respective domains.
88+
17. Restart the service.
8989
```
9090
Restart-Service -Name AADConnectProvisioningAgent
9191
```
92-
17. Go to the Azure portal to create the cloud sync configuration.
92+
18. Go to the Azure portal to create the cloud sync configuration.
9393
9494
## Provisioning agent gMSA PowerShell cmdlets
9595
Now that you've installed the agent, you can apply more granular permissions to the gMSA. For information and step-by-step instructions on how to configure the permissions, see [Azure AD Connect cloud provisioning agent gMSA PowerShell cmdlets](how-to-gmsa-cmdlets.md).

0 commit comments

Comments
 (0)