You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory/cloud-sync/how-to-prerequisites.md
+1-38Lines changed: 1 addition & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,44 +50,7 @@ If you are creating a custom gMSA account, you need to ensure that the account h
50
50
51
51
For steps on how to upgrade an existing agent to use a gMSA account see [Group Managed Service Accounts](how-to-install.md#group-managed-service-accounts).
52
52
53
-
#### Create gMSA account with PowerShell
54
-
You can use the following PowerShell script to create a custom gMSA account. Then you can use the [cloud sync gMSA cmdlets](how-to-gmsa-cmdlets.md) to apply more granular permissions.
55
-
56
-
```powershell
57
-
# Filename: 1_SetupgMSA.ps1
58
-
# Description: Creates and installs a custom gMSA account for use with Azure AD Connect cloud sync.
59
-
#
60
-
# DISCLAIMER:
61
-
# Copyright (c) Microsoft Corporation. All rights reserved. This
62
-
# script is made available to you without any express, implied or
63
-
# statutory warranty, not even the implied warranty of
64
-
# merchantability or fitness for a particular purpose, or the
65
-
# warranty of title or non-infringement. The entire risk of the
66
-
# use or the results from the use of this script remains with you.
67
-
#
68
-
#
69
-
#
70
-
#
71
-
# Declare variables
72
-
$Name = 'provAPP1gMSA'
73
-
$Description = "Azure AD Cloud Sync service account for APP1 server"
# Install the new service account on Azure AD Cloud Sync server
87
-
Install-ADServiceAccount -Identity $Name
88
-
```
89
-
90
-
For additional information on the cmdlets above, see [Getting Started with Group Managed Service Accounts](/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/jj128431(v=ws.11)?redirectedfrom=MSDN).
53
+
For more information on how to prepare your Active Directory for Group Managed Service account, see [Group Managed Service Accounts Overview](/windows-server/security/group-managed-service-accounts/group-managed-service-accounts-overview).
0 commit comments