User/Group Migration issues | Community
Skip to main content
Level 5
April 8, 2022
Solved

User/Group Migration issues

  • April 8, 2022
  • 1 reply
  • 1973 views

Hi All,

 

We are trying to migrate users/groups from AEM 6.0 to AEM 6.5, with the goal of all the permissions and privileges retained. I am following this documentation, https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-16448.html?lang=es-ES. After the migrations, all the original permissions are gone.

 

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

I almost did the same thing as you did. With an exception that the "Package ACL handling" is "overwrite". Also another question, do we have to put all the users in the "Principle names"? I wonder what if we have a few hundred or even thousands?


If you are going to migrate the users/groups using ACLS then you will have to put those users/groups under "Principle names". If you have a large number of users, those users must be part of a few groups. You can provide these groups name instead of users under "Principle name".

Anyway in your case you have already migrated the users as per the adobe document, right? Unselect "Include principles" and try getting the acls of couple of users. If this doesn't work there might be some issue with acs commons version you are using which we can look into further.

1 reply

Kevin_GTaAuthor
Level 5
April 8, 2022

Kevin_GTaAuthor
Level 5
April 8, 2022

Approach:

1. Created user package in AEM 6.0, and edited it with all the necessary exclude-paths.

Once we created it, downloaded and unzipped it. Modified the mode as `mode="merge"` in META-INF/vault/filter.xml. Then re-zipped it. Uploaded it and rebuilt it, downloaded it again and uploaded it to AEM 6.5 server.

 

2. Created ACL package via ACS commons, as shown in the attachments above. Then downloaded it uploaded it to the AEM 6.5 server, installed it. 

 

3. Restarted AEM 6.5. 

 

Does anyone have any idea what went wrong? 

Thanks!

 

-k

 

JeevanRaj
Community Advisor
Community Advisor
April 8, 2022

Yes, I am.


Why dont you use acl package for both user and acl migration?

The approach I followed was quite simple:

  1. Migrated content first to 6.5
  2. Create the acl packager in lower env i.e, 6.0 in your case.
  3. Select "Package ACL handling" as "merge"
  4. Provide the users/groups name you want to migrate or users/groups acls which you want to migrate under "Principle names"
  5. Provide the "Include patterns"
  6. Select "Include principle" if you want to include the user/group in the same package. Unselect this if you want to migrate users/groups separately.
  7. Select Include ACL package. No harm in selecting one option. This is optional.
  8. Build the package. Download and upload to 6.5. Install the package.