MEM – Managing CM Collection in the Cloud Configuration and Troubleshooting

This post has been republished via RSS; it originally appeared at: Core Infrastructure and Security Blog articles.

MEM-CMcollection.jpg

Dear IT pros, 

As you knew it, starting with Microsoft Endpoint Configuration Manager - MCM version 1906 (SCCM version 1906) you could enable co-management for  Endpoint Manager -MEM (Intune) devices in the Azure Public Cloud, Azure US Government Cloud.

The co-management period could last as long as you wish.

Also, you could enable autoenrollment devices into MEM using your CM (SCCM) console.

  • Microsoft brings together Configuration Manager and Intune into a single console called Microsoft Endpoint Manager admin center.
  • Starting in Configuration Manager version 2002, you can upload your Configuration Manager devices to the cloud service and take actions from the Devices blade in the admin center as shown here: 

TanTran_0-1612616882421.png

 

Planning for Co-management using Endpoint Manager Admin Center:  

  1. Make a Parent Collection for All Co-management devices with limit collection search to “All system” , the "Pilot CoManagement" collection in the following example is used as a superset of all the other staging collections contained all of the clients you want to onboard into co-management 
  2. Make the child collections for related managed devices based on work load, for example: 

TanTran_1-1612616882403.png 

3. Configure Cloud attach 

TanTran_2-1612616882423.png

 

 4. Configure Upload in Co-Management for the parent collection “All Co-Management devices” 

 

TanTran_3-1612616882425.png

      In each parent and child collections, configuring them to be used for MEM policy assignments:

 

  • Child Collection for Pilot Co-management, limiting collection example:      

TanTran_4-1612616882431.png

 

  • Map 1-1 between the collections and Azure AD Group: 

TanTran_5-1612616882434.png

Now on, you could assign MEM Apps to the CM Collection Groups as wish.

  • Cloud Sync for parent collection: 

TanTran_6-1612616882437.png

 

  • Cloud Sync for child collection: 

               

TanTran_7-1612616882440.png

 

 The Result: 

From the Microsoft Endpoint Manager admin center, you can review the status of your Configuration Manager connector.

  • Display the connector status:

Tenant administration 

> Connectors and tokens.

Microsoft Endpoint Configuration Manager.

> Select a Configuration Manager hierarchy (running version 2006, or later) to display additional information about it.

TanTran_2-1612626886225.png

 

  • Taking action on CM Devices: 

         > from the Microsoft Endpoint Manager admin center

         > double click on the synchronized clients. 

         > Choose one of the following actions: Sync Machine Policy, Sync User Policy, App Evaluation     Cycle

TanTran_1-1612626307826.png

 

Troubleshooting: 

Error: “This collection cannot be made available to assign policies from Microsoft Endpoint Manager admin center.” 

TanTran_8-1612616882454.png

 

Solution: I would like to thank mindcore.dk for the below solution 

TanTran_9-1612616882462.png

 

 

Also, make sure the Child Collection property configured with correct limiting collection as shown in the following example: 

TanTran_10-1612616882445.png

 

 If you could not correct it with the right collection, you may have to create new collection and delete the old one. 

more troubleshooting tips from Microsoft site.

 

Preview Feature:

  • Synchronizing Microsoft Defender for Endpoint - MDE Policy by Configuration Manager (version 2006) Cloud Sync in Collection Properties. The following operating systems are supported for deployment of Microsoft Defender ATP Endpoint Detection and Response (EDR) onboarding policies:
    • Windows 10 and later (x86, x64, ARM64),
    • Windows 8.1 (x84, x64)
    • Windows Server 2019 and later (x64), 
    • Windows Server 2016 (x64)
    • Windows Server 2012 R2 (x64)
    • To Sync MDE policy to CM Collection

     > From a Configuration Manager console connected to your top-level site, right-click on a device collection that you synchronize to Microsoft Endpoint Manager admin center and select Properties.

     > On the Cloud Sync tab, enable the option to Make this collection available to assign Endpoint security policies from Microsoft Endpoint Manager admin center:

 

TanTran_1-1612768143953.png

             You can't select this option if your Configuration Manager hierarchy isn't tenant attached. The collections available for this option are limited by the collection scope selected for tenant attach upload, in our case, the attached collection name is "Pilot CoManagement" and its included Collection Members.

 

  • Assign Applications for CM Clients (ver.2010.2) in MEM Admin Center.

For Application in MEM Admin Center, Administrators can now do the following actions for CM clients:

              - Uninstall an application

              - Repair installation of an application

              - Re-evaluate the application installation status

              - Reinstall an application has replaced Retry installation

Prerequisites for applications assignment:

              - CM Client version 2010.2 or later

              - To uninstall an application: The application must have at least one deployment type

                 with the uninstall command defined.

              - Required deployments of the application can't be uninstall on the related device.

              - To repair an application, The application must have at least one deployment type 

To Uninstall, repair, or re-evaluate an application

  1. Sign in to the Microsoft Endpoint Manager admin center.
  2. Go to Devices then All Devices.
  3. Select a device that is synced from Configuration Manager via tenant attach.
  4. Choose Applications.
  5. Select the application then the action you want to perform on the device.

 

Known issues with apps in Microsoft Endpoint Manager admin center

In this technical preview (CM2010.2), if you see an error notification when you install, uninstall, reevaluate, or repair an app, use the following workaround. Open SQL Server Management Studio, select the primary site database, and run the following SQL script:

 

DECLARE @view nvarchar(max) = OBJECT_DEFINITION(OBJECT_ID('[dbo].[vSMS_CombinedDeviceResources]')); IF (@view IS NULL) print 'Object not found, select primary site database and re-run script' ELSE BEGIN        SET @view = REPLACE(REPLACE(@view, 'ck.ApprovalStatus as IsApproved', '(CASE WHEN ck.ApprovalStatus = 2 OR ck.ApprovalStatus = 3 THEN 1 ELSE ck.ApprovalStatus END) as IsApproved'), 'CREATE VIEW', 'ALTER VIEW')        EXEC sp_executesql @view END

 

 

I hope the information is useful. 

Until next time!

 

Reference: 

Disclaimer
The sample scripts are not supported under any Microsoft standard support program or service. 
The sample scripts are provided AS IS without warranty of any kind.
Microsoft further disclaims all implied warranties including, without limitation,
any implied warranties of merchantability or of fitness for a particular purpose.
The entire risk arising out of the use or performance of the sample scripts and documentation
remains with you. In no event shall Microsoft, its authors, or anyone else involved in the creation,
production, or delivery of the scripts be liable for any damages whatsoever
(including, without limitation, damages for loss of business profits, business interruption,
loss of business information, or other pecuniary loss) arising out of the use of or inability
to use the sample scripts or documentation, even if Microsoft has been advised of the possibility of such damages.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.