User sync doesn't sync groups associated with the user in AEM 6.3 | Community
Skip to main content
Level 2
April 20, 2018

User sync doesn't sync groups associated with the user in AEM 6.3

  • April 20, 2018
  • 2 replies
  • 7579 views

I'm trying to setup user synchronization in aem 6.3. I have one author and 2 publish instances.

I followed this below document and set up the user synchronization between publishers. I have a self registration component. User submits the form data and I create the user and add to the group(which was already created using useradmin console) which has necessary permissions. I also activated the tunnel service to get to author(verified in author communities console).

User Synchronization

The problem is Users are syncing with the profile. But the user group doesn't gets updated. So in the other publisher user is not part of that group. Please let me know if I'm missing anything to configure, appreciate your help.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

preetir53235517
February 18, 2019

Were you able to fix this issue ? I have the same issue after Upgrading aem to 6.4

sawan051
Level 3
May 6, 2019

Hi Karthik, were you able to figure out the root cause?

I also have same issue.

Please share your findings, thanks in advance.

Adobe Employee
May 7, 2019

Hello,

Some troubleshooting tips:

- Check if all the tests are passed on libs/granite/operations/content/diagnosis/tool.html/syncdiagnostics

- Check the socialpubsync queue on Author. Clear pending items.

http://localhost:4502/libs/granite/distribution/content/distribution-agent.html?agentName=socialpubsync

- Check the socialpubsync-reverse-queue on both Publishers. Clear pending items.

http://host:port/libs/granite/distribution/content/distribution-agent.html?agentName=socialpubsync-reverse

- Make sure usersync-admin user has correct permissions on both publishers.

The user that is set up in the "Adobe Granite Distribution – Encrypted Password Transport Secret Provider" must have the following permissions on all publishers:

jcr:read, rep:write on /home

jcr:all on /home/users and /home/groups

rep:write on /etc/packages/sling/distribution jcr:read on /libs/sling/distribution rep:write on /var jcr:read, rep:write on /var/eventing jcr:read, rep:write on /var/sling/distribution

- Put debug log on following classes and check the logs.

Log Level -> Debug

Log File -> logs/usersync.log

Loggers

org.apache.sling.distribution

org.apache.sling.event

com.adobe.cq.social.sync

Regards,

Vishu

sawan051
Level 3
May 9, 2019

Hi,

We raised a daycare ticket for this issue, there was a property value missing in "Diff Observer Factory"

Property serviceUser.target

This was introduced in 6.3, thanks for looking into this.