Skip to content

Commit 5247e0c

Browse files
authored
Merge pull request #94340 from NuAlex/patch-47
Update reference-connect-adsynctools.md
2 parents f6549a3 + baf4245 commit 5247e0c

File tree

1 file changed

+93
-1
lines changed

1 file changed

+93
-1
lines changed

articles/active-directory/hybrid/reference-connect-adsynctools.md

Lines changed: 93 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,7 @@ Accept wildcard characters: False
13581358
```
13591359
#### CommonParameters
13601360
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
1361+
13611362
## Set-ADSyncToolsTls12
13621363
### SYNOPSIS
13631364
Sets Client\Server TLS 1.2 settings for .NET Framework
@@ -1745,4 +1746,95 @@ Accept pipeline input: False
17451746
Accept wildcard characters: False
17461747
```
17471748
#### CommonParameters
1748-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
1749+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
1750+
1751+
## Get-ADSyncToolsDuplicateUsersSourceAnchor
1752+
### SYNOPSIS
1753+
Gets a list of all the objects with "Source anchor has changed" error.
1754+
### SYNTAX
1755+
```
1756+
Get-ADSyncToolsDuplicateUsersSourceAnchor [-ADConnectorName] <Object> [<CommonParameters>]
1757+
```
1758+
### DESCRIPTION
1759+
There are certain scenarios like M&A where Customers add a new forest to Azure AD Connect with duplicate user objects.
1760+
This causes multiple sync errors if the new connector precedence is higher for the newly joined users. This cmdlet will provide a list of all the objects with "Source anchor has changed" errors.
1761+
1762+
### EXAMPLES
1763+
#### EXAMPLE 1
1764+
```
1765+
Get-ADSyncToolsDuplicateUsersSourceAnchor -ADConnectorName Contoso.com
1766+
```
1767+
### PARAMETERS
1768+
#### -ADConnectorName
1769+
AD connector name for which user source anchors needs to be repaired
1770+
```yaml
1771+
Type: Object
1772+
Parameter Sets: (All)
1773+
Aliases:
1774+
Required: true
1775+
Position: 1
1776+
Default value:
1777+
Accept pipeline input: True (ByPropertyName)
1778+
Accept wildcard characters: False
1779+
```
1780+
#### CommonParameters
1781+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
1782+
1783+
## Set-ADSyncToolsDuplicateUsersSourceAnchor
1784+
### SYNOPSIS
1785+
Fixes all the objects with "Source Anchor has changed" error.
1786+
### SYNTAX
1787+
```
1788+
et-ADSyncToolsDuplicateUsersSourceAnchor [-DuplicateUserSourceAnchorInfo] <DuplicateUserSourceAnchorInfo> [-ActiveDirectoryCredential <PSCredential>] [-OverridePrompt <Boolean>] [<CommonParameters>]
1789+
```
1790+
### DESCRIPTION
1791+
This cmdlet takes in the list of objects from Get-ADSyncToolsDuplicateUsersSourceAnchor as pipeline input. It then fixes the sync errors by updating the msDS-ConsistencyGuid attribute with the sourceAnchor/immutableID of the original object.
1792+
The cmdlet has an optional parameter - "Override prompt", which is False by default. If it is set to True, then the user will not be prompted when updating the msDS-ConsistencyGuid attribute.
1793+
1794+
### EXAMPLES
1795+
#### EXAMPLE 1
1796+
```
1797+
Get-ADSyncToolsDuplicateUsersSourceAnchor -ADConnectorName Contoso.lab | Set-ADSyncToolsDuplicateUsersSourceAnchor
1798+
```
1799+
#### EXAMPLE 2
1800+
```
1801+
Get-ADSyncToolsDuplicateUsersSourceAnchor -ADConnectorName Contoso.lab | Set-ADSyncToolsDuplicateUsersSourceAnchor -OverridePrompt $true
1802+
```
1803+
### PARAMETERS
1804+
#### -DuplicateUserSourceAnchorInfo
1805+
User list for which the source anchor needs to be fixed
1806+
```yaml
1807+
Type: DuplicateUserSourceAnchorInfo
1808+
Parameter Sets: (All)
1809+
Aliases:
1810+
Required: True
1811+
Position: 1
1812+
Default value:
1813+
Accept pipeline input: True (ByValue, ByPropertyName)
1814+
Accept wildcard characters: False
1815+
```
1816+
#### -ActiveDirectoryCredential
1817+
AD EA/DA Admin Credentials, If not provided default credentials will be used
1818+
```yaml
1819+
Type: PSCredential
1820+
Parameter Sets: (All)
1821+
Aliases:
1822+
Required: False
1823+
Position: Named
1824+
Default value:
1825+
Accept pipeline input: False
1826+
Accept wildcard characters: False
1827+
```
1828+
#### -OverridePrompt
1829+
```yaml
1830+
Type: Boolean
1831+
Parameter Sets: (All)
1832+
Aliases:
1833+
Required: False
1834+
Position: Named
1835+
Default value: False
1836+
Accept pipeline input: False
1837+
Accept wildcard characters: False
1838+
```
1839+
#### CommonParameters
1840+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).

0 commit comments

Comments
 (0)