SCCM 2012: Application Catalog and Migration

SCCM 2012: Application Catalog and Migration
5 (100%) 2 votes

Hi All,

last week, i was helping a customer with their migration from SCCM 2012 R2 to SCCM 2012 R2 CU4. There were already many things that had happen, collection migration, etc.. but the consultant that was performing the migration, wasn’t able to finish the job, so, i was called in.

During the migration, we migrated couple of clients to test the migration script/GPO and we noticed the application catalog (probably the most used feature for them) wasn’t returning any result, however, when my user was logged on, i was able to see the applications that were deployed to “All users” collection.

Looking at the logs, i saw on the policy logs, that the user policy was always with “0” assignments and so, it was not bringing anything to the Application Catalog.

I tried to reset the policy, reinstall the client but none of those things worked.

Looking further, on the user’s property, I saw the sms_ad_user_discovery_agent, sms_ad_security_group_discovery_group and sms_migration_manager on the discovery, while for my user I didn’t see the sms_migration_manager. So i thought that this was the problem.

I deleted one of the affected user and added it again (via the user discovery) and suddenly the application catalog started to show the applications.

Now is where the problem started. customer uses a lot of collections based on users and groups and these collections are using direct membership. if i delete the user/group and discover it again, i had to re-populate all the collection membership, as the user/group ID may change.

When i did the assessment, i discovered that the client had 150+ collections with direct membership so, not a lot, but enough to take, at least, few hours (or maybe a day) to do.

to help my job, i created the following powershell script, that will look at the old system for collection with direct membership, find the collection in the new system, delete all direct membership and add them again.

 

but if you want only to find out what collections have direct membership, you can use

 

Tags:

Recent Posts

Comments are closed.
%d bloggers like this: