Skip to content

Commit abc9c11

Browse files
Merge pull request #10547 from MicrosoftDocs/main
Auto Publish – main to live - 2026-01-20 18:00 UTC
2 parents bc75ab0 + f30b5f0 commit abc9c11

10 files changed

Lines changed: 145 additions & 54 deletions

File tree

support/entra/entra-id/user-prov-sync/fail-connect-azure-information-protection-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ When you try to connect to Microsoft Azure Information Protection using Windows
2424
>
2525
> `Connect-AipService : The attempt to connect to the Azure Information Protection service failed. Verify that the user name and password you are using are correct and try again. If you have continued problems, see http://go.microsoft.com/fwlink/?LinkId=251909.`
2626
>
27-
> `The correlation ID is 1df4c755-f859-4284-907b-be5d2a551260. Please note and provide this value if asked by support for it.`
27+
> `The correlation ID is aaaa0000-bb11-2222-33cc-444444dddddd. Please note and provide this value if asked by support for it.`
2828
>
2929
> `At line:1 char:1`
3030
>

support/entra/entra-id/user-prov-sync/troubleshoot-aad-connect-objects-attributes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ The synchronization between ADCS and MV occurs on the delta/full synchronization
336336
337337
Import-Module ADSyncTools
338338
Export-ADSyncToolsObjects -DistinguishedName 'CN=TestUser,OU=Sync,DC=Contoso,DC=com' -ConnectorName 'Contoso.com' -ExportSerialized
339-
Export-ADSyncToolsObjects -ObjectId '{46EBDE97-7220-E911-80CB-000D3A3614C0}' -Source Metaverse -ExportSerialized
339+
Export-ADSyncToolsObjects -ObjectId '{aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb}' -Source Metaverse -ExportSerialized
340340
```
341341
342342
> [!TIP]
@@ -452,7 +452,7 @@ Install-Module ADSyncTools
452452
453453
Import-Module ADSyncTools
454454
Export-ADSyncToolsObjects -DistinguishedName 'CN=TestUser,OU=Sync,DC=Contoso,DC=com' -ConnectorName 'Contoso.com' -ExportSerialized
455-
Export-ADSyncToolsObjects -ObjectId '{46EBDE97-7220-E911-80CB-000D3A3614C0}' -Source Metaverse -ExportSerialized
455+
Export-ADSyncToolsObjects -ObjectId '{aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb}' -Source Metaverse -ExportSerialized
456456
```
457457

458458
> [!TIP]

support/mem/configmgr/content-management/advanced-troubleshooting-tips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ After resetting the `SourceVersion` to **0** for the Type 1 row, redistributing
218218
<ClientInstalled>0</ClientInstalled>
219219
<ClientType>1</ClientType>
220220
<Unknown>0</Unknown>
221-
<ClientID IDType="0" IDFlag="1">925b0ab0-247b-466b-be0f-93d7cb032c87</ClientID>
221+
<ClientID IDType="0" IDFlag="1">00001111-aaaa-2222-bbbb-3333cccc4444</ClientID>
222222
<ClientVersion>5.00.0000.0000</ClientVersion>
223223
<NetBIOSName>P01PDP1.CONTOSO.COM</NetBIOSName>
224224
<CodePage>437</CodePage>

support/mem/configmgr/content-management/understand-package-actions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -938,8 +938,8 @@ After completion of the download, a state message is sent to the management poin
938938
With verbose and debug logging enabled, you can see the entire message body:
939939

940940
> PullDP 3812 (0xee4) Sending Report
941-
> PullDP 3812 (0xee4) \<Report>\<ReportHeader>\<Identification>\<Machine>\<ClientInstalled>0\</ClientInstalled>\<ClientType>1\</ClientType>\<Unknown>0\</Unknown>\<ClientID IDType="0" IDFlag="1">925b0ab0-247b-466b-be0f-93d7cb032c87\</ClientID>\<ClientVersion>5.00.0000.0000\</ClientVersion>\<NetBIOSName>P01PDP1.CONTOSO.COM\</NetBIOSName>\<CodePage>437\</CodePage>\<SystemDefaultLCID>1033\</SystemDefaultLCID>\</Machine>\</Identification>\<ReportDetails>\<ReportContent>StateMessage\</ReportContent>\<ReportType>Full\</ReportType>\<Date>20190107200618.000000+000\</Date>\<Version>1.0\</Version>\<Format>1.1\</Format>\</ReportDetails>\</ReportHeader>
942-
\<ReportBody>\<StateMessage MessageTime="20190107200618.000000+000" SerialNumber="3">\<Topic ID="P010000F" Type="902" IDType="0"/>\<State ID="1" Criticality="0"/>\<UserParameters Flags="0" Count="4">\<Param>P010000F\</Param>\<Param>["Display=\\\P01PDP1.CONTOSO.COM\\"]MSWNET:["SMS_SITE=P01"]\\\P01PDP1.CONTOSO.COM\\\</Param>\<Param>{04AD1BB3-5E54-457A-9873-DFB2E8035090}\</Param>\<Param>\</Param>\</UserParameters>\</StateMessage>\</ReportBody>
941+
> PullDP 3812 (0xee4) \<Report>\<ReportHeader>\<Identification>\<Machine>\<ClientInstalled>0\</ClientInstalled>\<ClientType>1\</ClientType>\<Unknown>0\</Unknown>\<ClientID IDType="0" IDFlag="1">00001111-aaaa-2222-bbbb-3333cccc4444\</ClientID>\<ClientVersion>5.00.0000.0000\</ClientVersion>\<NetBIOSName>P01PDP1.CONTOSO.COM\</NetBIOSName>\<CodePage>437\</CodePage>\<SystemDefaultLCID>1033\</SystemDefaultLCID>\</Machine>\</Identification>\<ReportDetails>\<ReportContent>StateMessage\</ReportContent>\<ReportType>Full\</ReportType>\<Date>20190107200618.000000+000\</Date>\<Version>1.0\</Version>\<Format>1.1\</Format>\</ReportDetails>\</ReportHeader>
942+
\<ReportBody>\<StateMessage MessageTime="20190107200618.000000+000" SerialNumber="3">\<Topic ID="P010000F" Type="902" IDType="0"/>\<State ID="1" Criticality="0"/>\<UserParameters Flags="0" Count="4">\<Param>P010000F\</Param>\<Param>["Display=\\\P01PDP1.CONTOSO.COM\\"]MSWNET:["SMS_SITE=P01"]\\\P01PDP1.CONTOSO.COM\\\</Param>\<Param>{11112222-bbbb-3333-cccc-4444dddd5555}\</Param>\<Param>\</Param>\</UserParameters>\</StateMessage>\</ReportBody>
943943

944944
During content download, there are intermediate state messages sent to the MP which include the download percentage. To see all available State IDs, see [Advanced troubleshooting tips for Content Distribution](advanced-troubleshooting-tips.md).
945945

@@ -959,8 +959,8 @@ After sending the **Success** state message, pull DP clears the job states for t
959959
> MP_RelayEndpoint 25912 (0x6538) Mp Message Handler: start message processing for Relay. -----------------------
960960
> MP_RelayEndpoint 25912 (0x6538) Mp Message Handler: FileType=SMX
961961
> MP_RelayEndpoint 25912 (0x6538) Message Body :
962-
> \<Report>\<ReportHeader>\<Identification>\<Machine>\<ClientInstalled>0\</ClientInstalled>\<ClientType>1\</ClientType>\<Unknown>0\</Unknown>\<ClientID IDType="0" IDFlag="1">925b0ab0-247b-466b-be0f-93d7cb032c87\</ClientID>\<ClientVersion>5.00.0000.0000\</ClientVersion>\<NetBIOSName>P01PDP1.CONTOSO.COM\</NetBIOSName>\<CodePage>437\</CodePage>\<SystemDefaultLCID>1033\</SystemDefaultLCID>\</Machine>\</Identification>\<ReportDetails>\<ReportContent>StateMessage\</ReportContent>\<ReportType>Full\</ReportType>\<Date>20190107200618.000000+000\</Date>\<Version>1.0\</Version>\<Format>1.1\</Format>\</ReportDetails>\</ReportHeader>
963-
> \<ReportBody>\<StateMessage MessageTime="20190107200618.000000+000" SerialNumber="3">\<Topic ID="P010000F" Type="902" IDType="0"/>\<State ID="1" Criticality="0"/>\<UserParameters Flags="0" Count="4">\<Param>P010000F\</Param>\<Param>["Display=\\\P01PDP1.CONTOSO.COM\\"]MSWNET:["SMS_SITE=P01"]\\\P01PDP1.CONTOSO.COM\\\</Param>\<Param>{04AD1BB3-5E54-457A-9873-DFB2E8035090}\</Param>\<Param>\</Param>\</UserParameters>\</StateMessage>\</ReportBody>
962+
> \<Report>\<ReportHeader>\<Identification>\<Machine>\<ClientInstalled>0\</ClientInstalled>\<ClientType>1\</ClientType>\<Unknown>0\</Unknown>\<ClientID IDType="0" IDFlag="1">00001111-aaaa-2222-bbbb-3333cccc4444\</ClientID>\<ClientVersion>5.00.0000.0000\</ClientVersion>\<NetBIOSName>P01PDP1.CONTOSO.COM\</NetBIOSName>\<CodePage>437\</CodePage>\<SystemDefaultLCID>1033\</SystemDefaultLCID>\</Machine>\</Identification>\<ReportDetails>\<ReportContent>StateMessage\</ReportContent>\<ReportType>Full\</ReportType>\<Date>20190107200618.000000+000\</Date>\<Version>1.0\</Version>\<Format>1.1\</Format>\</ReportDetails>\</ReportHeader>
963+
> \<ReportBody>\<StateMessage MessageTime="20190107200618.000000+000" SerialNumber="3">\<Topic ID="P010000F" Type="902" IDType="0"/>\<State ID="1" Criticality="0"/>\<UserParameters Flags="0" Count="4">\<Param>P010000F\</Param>\<Param>["Display=\\\P01PDP1.CONTOSO.COM\\"]MSWNET:["SMS_SITE=P01"]\\\P01PDP1.CONTOSO.COM\\\</Param>\<Param>{11112222-bbbb-3333-cccc-4444dddd5555}\</Param>\<Param>\</Param>\</UserParameters>\</StateMessage>\</ReportBody>
964964
> \</Report>
965965
MP_RelayEndpoint 25912 (0x6538) Inv-Relay Task: Processing message body
966966
MP_RelayEndpoint 25912 (0x6538) Relay: Outbox dir: E:\ConfigMgr\inboxes\auth\statesys.box\incoming
@@ -972,7 +972,7 @@ Note that verbose and debug logging should be enabled on the MP to see above log
972972
After the state message SMX file arrives in the `StateSys.box\incoming` directory, State System component on the site server processes the message. All state messages are processed by calling `spProcessReport` stored procedure. For pull DP state messages, `spProcessReport` calls `spProcessPullDPMessage` which updates the `PullDPResponse` table with the state message details.
973973
974974
> SMS_STATE_SYSTEM 23544 (0x5bf8) CMessageProcessor - Processing file: N_6RB4OA3A.SMX
975-
> SMS_STATE_SYSTEM 23544 (0x5bf8) CMessageProcessor - the cmdline to DB exec dbo.spProcessStateReport N'?\<Report>\<ReportHeader>\<Identification>\<Machine>\<ClientInstalled>0\</ClientInstalled>\<ClientType>1\</ClientType>\<Unknown>0\</Unknown>\<ClientID IDType="0" IDFlag="1">925b0ab0-247b-466b-be0f-93d7cb032c87\</ClientID>\<ClientVersion>5.00.0000.0000\</ClientVersion>\<NetBIOSName>P01PDP1.CONTOSO.COM\</NetBIOSName>\<CodePage>437\</CodePage>\<SystemDefaultLCID>1033\</SystemDefaultLCID>\</Machine>\</Identification>\<ReportDetails>\<ReportContent>StateMessage\</ReportContent>\<ReportType>Full\</ReportType>\<Date>20190107200618.000000+000\</Date>\<Version>1.0\</Version>\<Format>1.1\</Format>\</ReportDetails>\</ReportHeader>~~ \<ReportBody>\<StateMessage MessageTime="20190107200618.000000+000" SerialNumber="3">\<Topic ID="P010000F" Type="902" IDType="0"/>\<State ID="1" Criticality="0"/>\<UserParameters Flags="0" Count="4">\<Param>P010000F\</Param>\<Param>["Display=\\\P01PDP1.CONTOSO.COM\\"]MSWNET:["SMS_SITE=P01"]\\\P01PDP1.CONTOSO.COM\\\</Param>\<Param>{04AD1BB3-5E54-457A-9873-DFB2E8035090}\</Param>\<Param>\</Param>\</UserParameters>\</StateMessage>\</ReportBody>\~~\</Report>~~'
975+
> SMS_STATE_SYSTEM 23544 (0x5bf8) CMessageProcessor - the cmdline to DB exec dbo.spProcessStateReport N'?\<Report>\<ReportHeader>\<Identification>\<Machine>\<ClientInstalled>0\</ClientInstalled>\<ClientType>1\</ClientType>\<Unknown>0\</Unknown>\<ClientID IDType="0" IDFlag="1">00001111-aaaa-2222-bbbb-3333cccc4444\</ClientID>\<ClientVersion>5.00.0000.0000\</ClientVersion>\<NetBIOSName>P01PDP1.CONTOSO.COM\</NetBIOSName>\<CodePage>437\</CodePage>\<SystemDefaultLCID>1033\</SystemDefaultLCID>\</Machine>\</Identification>\<ReportDetails>\<ReportContent>StateMessage\</ReportContent>\<ReportType>Full\</ReportType>\<Date>20190107200618.000000+000\</Date>\<Version>1.0\</Version>\<Format>1.1\</Format>\</ReportDetails>\</ReportHeader>~~ \<ReportBody>\<StateMessage MessageTime="20190107200618.000000+000" SerialNumber="3">\<Topic ID="P010000F" Type="902" IDType="0"/>\<State ID="1" Criticality="0"/>\<UserParameters Flags="0" Count="4">\<Param>P010000F\</Param>\<Param>["Display=\\\P01PDP1.CONTOSO.COM\\"]MSWNET:["SMS_SITE=P01"]\\\P01PDP1.CONTOSO.COM\\\</Param>\<Param>{11112222-bbbb-3333-cccc-4444dddd5555}\</Param>\<Param>\</Param>\</UserParameters>\</StateMessage>\</ReportBody>\~~\</Report>~~'
976976
977977
Note that **StateSys.log** does not log the message body unless verbose logging for **StateSys.log** is enabled. To enable verbose logging for **StateSys.log**, see [Enable verbose logging](advanced-troubleshooting-tips.md#enable-verbose-logging).
978978
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
title: Delta AD Group Discovery Doesn't Detect Group Membership Changes in Nested OUs
3+
description: Troubleshoot an issue in which the delta discovery process of AD Group Discovery doesn't detect group membership changes in child organizational units.
4+
ms.date: 01/12/2025
5+
ms.reviewer: kaushika, jarrettr, brianhun, payur
6+
ms.custom: sap:Boundary Groups, Discovery and Collections\Active Directory Discovery (all types)
7+
appliesto:
8+
- <a href=https://learn.microsoft.com/lifecycle/products/microsoft-configuration-manager target=_blank>Supported versions of Configuration Manager</a>
9+
---
10+
# Delta AD Group Discovery doesn't detect group membership changes in nested OUs
11+
12+
## Summary
13+
14+
Active Directory Group Discovery (AD Group Discovery) in Configuration Manager uses different algorithms for delta and full discovery cycles. During the delta discovery process, Configuration Manager might miss group membership changes when groups belong to nested OUs within your discovery scopes.
15+
16+
This article helps you identify this issue in your environment, and provides workarounds to make sure that Configuration Manager detects all group membership changes.
17+
18+
## Symptoms
19+
20+
You set up discovery scopes for AD Group Discovery to target specific Active Directory Domain Services (AD DS) groups, as described in [Configure Active Directory Group Discovery](/intune/configmgr/core/servers/deploy/configure/configure-discovery-methods#bkmk_config-adgd). The initial full discovery cycle correctly discovers groups in all the in-scope OUs.
21+
22+
Some time after the initial full discovery cycle finishes, you change the membership of a group that belongs to a child OU of another OU. After the delta discovery cycle runs, you notice that Configuration Manager didn't detect your changes. However, if you force a full discovery cycle to run, the issue resolves as the full discovery cycle discovers changes in all groups in the in-scope OUs.
23+
24+
In particular, the issue occurs when you define scopes that resemble the following example:
25+
26+
- **Scope A:** Group A, in organizational unit OU-A
27+
- **Scope B:** Group B, in organizational unit OU-B
28+
- OU-B is a child OU of OU-A
29+
30+
In this example, the delta cycle of AD Group Discovery doesn't detect changes in Group B's membership.
31+
32+
If you want to review log entries to verify this behavior in your system, see [More information](#more-information).
33+
34+
## Cause
35+
36+
During the delta cycle of AD Group Discovery, Configuration Manager identifies the target groups in the discovery scopes, and the OUs to which those groups belong. It builds a tree structure of those OUs. However, that tree doesn't include any child OUs of those OUs.
37+
38+
During the full discovery cycle of AD Group Discovery, Configuration Manager uses a different algorithm that doesn't ignore child OUs. Therefore, the discovery process works as expected.
39+
40+
## Workaround
41+
42+
Microsoft is aware of this issue. To work around this issue, use any of the following methods:
43+
44+
- Move the affected groups to higher-level OUs. For the earlier example, this action means moving Group B to another OU that isn't a child of OU-A (or of any other OU in the discovery scopes).
45+
- Reconfigure the discovery scopes to include the child OUs as target OUs. For the previous example, this action means including OU-B in the discovery scopes as an Organizational Unit.
46+
- Use only the full discovery process for AD Group Discovery.
47+
48+
## More information
49+
50+
To see what this behavior looks like in the ADSGDis.log file, follow these steps:
51+
52+
1. Open ADSGDis.log in a tool such as [CMTrace](/intune/configmgr/core/support/cmtrace), and then review the log entries to identify any discovery cycle.
53+
1. For that discovery cycle, create a list of the discovery scopes that appear in the log entries.
54+
1. Verify the Lightweight Directory Access Protocol (LDAP) path of each scope. In particular, check that the affected group is in a child OU of another one in the list. In the example that this article uses, the scopes and paths resemble the following example:
55+
56+
```output
57+
!!!!Valid Search Scope Name: Unaffected Group Search Path: LDAP://CN=GROUP-A,OU=OU-A,DC=FOURTHCOFFEE,DC=COM IsValidPath: TRUE
58+
!!!!Valid Search Scope Name: Affected Group Search Path: LDAP://CN=GROUP-B,OU=OU-B,OU=OU-A,DC=FOURTHCOFFEE,DC=COM IsValidPath: TRUE
59+
```
60+
61+
1. Review the log entries to identify any delta discovery cycle. Look for an entry that resembles the following example, and then use the thread ID to filter log entries.
62+
63+
```output
64+
INFO: CADSource::incrementalSync returning 0x00000000~
65+
```
66+
67+
1. Review the log entries for the delta discovery cycle. The entries should resemble the following examples:
68+
69+
1. Delta discovery processes the list of scopes.
70+
71+
```output
72+
INFO: -------- Starting to process search scope (Unaffected Group) --------
73+
INFO: -------- Finished to process search scope (Unaffected Group) --------
74+
INFO: -------- Starting to process search scope (Affected Group) --------
75+
INFO: -------- Finished to process search scope (Affected Group) --------
76+
```
77+
78+
1. Delta discovery processes the LDAP search paths, starting at `immediate search base`.
79+
80+
```output
81+
INFO: -------- Starting to process search scope (Immediate search base) --------
82+
INFO: Processing search path: 'LDAP://OU=OU-A,DC=FOURTHCOFFEE,DC=COM'.~
83+
```
84+
85+
1. Delta discovery identifies the search path for the child OU (OU-B in the example) as an invalid path, and skips it to process the next path.
86+
87+
```output
88+
INFO: Found invalid Search Path: LDAP://OU=OU-B,OU=OU-A,DC=FOURTHCOFFEE,DC=COM. Probably it's sub search path of other search path and will be covered by them.
89+
INFO: -------- Finished to process search scope (Immediate search base) --------
90+
```

0 commit comments

Comments
 (0)