fcbc
asked on
SCCM - deploy using AD groups that have machine names
Created a deployment application in SCCM and if I just create a deployment and ad some machine names it, it will deploy the software. However, I am trying to set it up so the helpdesk people only have to add a machine name into an AD group and the software will deploy
Running SCCM 2012. Configuration of deployment is as follows:
Administration – Discovery methods
Active Directory Group Discovery
Checked – enable active directory group discovery
Scopes – domain/users – location – yes – Site Server
Polling schedule – enable delta – 5 mins
Options – checked – only discover computers that have logged in since 90 days
Checked – discover the membership of distribution groups
Active Directory User Discovery
Checked – Enable Active Directory User Discovery
Path: LDAP://DC=domainname,DC=lo cal
Checked – Recursive search
Polling schedule – checked – enable delta – set to 5 mins
Assets and Compliance
Device collections
SCCM – Office 2016 – member count 0, members visible on site 0 Referenced collections o
General
Name – SCCM – office 2016
Limiting collection – all systems
Type – device
Membership Rules -
SCCM – Office 2016
Name – SCCM – Office 2016
System Resource
select
SMS_R_SYSTEM.ResourceID,SM S_R_SYSTEM .ResourceT ype,SMS_R_ SYSTEM.Nam e,SMS_R_SY STEM.SMSUn iqueIdenti fier,SMS_R _SYSTEM.Re sourceDoma inORWorkgr oup,SMS_R_ SYSTEM.Cli ent from SMS_R_System where SMS_R_System.SystemGroupNa me = "users\\SCCM - Office 2016"
Power management
Do not specify
Deployments
Microsoft office Professions 2016 – application – Required – Install
Maintenance window – none specified
Collection variables – none specified
Out of band management – noe specified
Distribution point groups – none specified
Security – my account RMDRM
Alerts – none
Applications properties
General Information
Name: Microsoft Office Professional Plus 2016
Administrator Comments: Deploy Office 2016
Publisher – Microsoft
Software version – 32 BIT
Application catalog
Language – English
Localized description – Deploying office 2016
References
Nothing applied
Distribution Settings
Distribution priority – Medium
Automatically download content when packages are assigned to distro point
Deployment Types
General
Microsoft Office Professional Plus 2016 - Windows Installer (*.msi file)
Content
\\sccm\source\software\mso ffice2016P lus\
Allow clients to share content with other clients on same subnet
Slow – do not download
Programs
Setup.exe
Uninstall - msiexec /x {90160000-0011-0000-0000-0 000000FF1C E} /q
Detection method – windows installer - {90160000-0011-0000-0000-0 000000FF1C E} – this msi must exist
User experience
Install for system
Whether or not a user is logged in
Hidden
Max run time – 185
Estimated installation – 102
Determine behavior based on return codes
Requirements
None listed
Return codes – 0,1707,3010,1641,1618
Dependencies – none listed
Content locations
\\sccm.domain.local – distribution point
Supersedence
None listed
Deployment Config –
Content – SCCM Server (Distribution Point)
Deployment settings:
Action – Install
Purpose – required
Check – Pre-Deploy software to the user’s primary device
Scheduling
As soon as possible after the available time
User experience
Display in software center and show all notifications
Check – software installation
Check – System restart (if required)
Check – Commit changes at deadline
Alerts
None set
Like I mentioned - the application does deploy if I create a deployment and just pick a few machines names, so I think the application part is OK, it is more likely in the device collection or some other system setting.
I did go to the client and went into control panel and Configuration Manager and manually ran all of the actions, then I let it bake overnight. Still nothing.
Running SCCM 2012. Configuration of deployment is as follows:
Administration – Discovery methods
Active Directory Group Discovery
Checked – enable active directory group discovery
Scopes – domain/users – location – yes – Site Server
Polling schedule – enable delta – 5 mins
Options – checked – only discover computers that have logged in since 90 days
Checked – discover the membership of distribution groups
Active Directory User Discovery
Checked – Enable Active Directory User Discovery
Path: LDAP://DC=domainname,DC=lo
Checked – Recursive search
Polling schedule – checked – enable delta – set to 5 mins
Assets and Compliance
Device collections
SCCM – Office 2016 – member count 0, members visible on site 0 Referenced collections o
General
Name – SCCM – office 2016
Limiting collection – all systems
Type – device
Membership Rules -
SCCM – Office 2016
Name – SCCM – Office 2016
System Resource
select
SMS_R_SYSTEM.ResourceID,SM
Power management
Do not specify
Deployments
Microsoft office Professions 2016 – application – Required – Install
Maintenance window – none specified
Collection variables – none specified
Out of band management – noe specified
Distribution point groups – none specified
Security – my account RMDRM
Alerts – none
Applications properties
General Information
Name: Microsoft Office Professional Plus 2016
Administrator Comments: Deploy Office 2016
Publisher – Microsoft
Software version – 32 BIT
Application catalog
Language – English
Localized description – Deploying office 2016
References
Nothing applied
Distribution Settings
Distribution priority – Medium
Automatically download content when packages are assigned to distro point
Deployment Types
General
Microsoft Office Professional Plus 2016 - Windows Installer (*.msi file)
Content
\\sccm\source\software\mso
Allow clients to share content with other clients on same subnet
Slow – do not download
Programs
Setup.exe
Uninstall - msiexec /x {90160000-0011-0000-0000-0
Detection method – windows installer - {90160000-0011-0000-0000-0
User experience
Install for system
Whether or not a user is logged in
Hidden
Max run time – 185
Estimated installation – 102
Determine behavior based on return codes
Requirements
None listed
Return codes – 0,1707,3010,1641,1618
Dependencies – none listed
Content locations
\\sccm.domain.local – distribution point
Supersedence
None listed
Deployment Config –
Content – SCCM Server (Distribution Point)
Deployment settings:
Action – Install
Purpose – required
Check – Pre-Deploy software to the user’s primary device
Scheduling
As soon as possible after the available time
User experience
Display in software center and show all notifications
Check – software installation
Check – System restart (if required)
Check – Commit changes at deadline
Alerts
None set
Like I mentioned - the application does deploy if I create a deployment and just pick a few machines names, so I think the application part is OK, it is more likely in the device collection or some other system setting.
I did go to the client and went into control panel and Configuration Manager and manually ran all of the actions, then I let it bake overnight. Still nothing.
ASKER
I do, and it is documented above. The only difference in my query is I have
SMS_R_System.SystemGroupNa me
and your documentation uses:
SMS_R_System.SecurityGroup Name
Not sure if that makes a difference. I will change it and give it a try.
SMS_R_System.SystemGroupNa
and your documentation uses:
SMS_R_System.SecurityGroup
Not sure if that makes a difference. I will change it and give it a try.
ASKER
That did not make a difference, count is still 0
Has AD system group discovery been configured for the correct OUs? I would manually run a discovery as well
ASKER
If I create a collection manually and add the machine name in there, the deployment works.
Yes. It should. The problem seems to be with your dynamic collection.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found the typo
The method for creating one is detailed: https://blog.thesysadmins.co.uk/sccm-2012-creating-device-collections.html