Sharepoint 2010 management pack in SCOM 2016

If you got to this page, then it’s probably because you’re trying to configure the Sharepoint 2010 management pack in SCOM 2016 and you’re getting an error like this one, while running the configuration task:

The Event Policy for the process started at xx:xx:xx has detected errors in the output. The 'StdErr' policy expression: .+ matched the following output: Exception calling "Load" with "1" argument(s): "Could not load file or assembly 'Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified." Failed to load Microsoft.EnterpriseManagement.Core.dll
Command executed: "C:\Windows\system32\cmd.exe" /c powershell.exe -Version "2.0" -NoLogo -NoProfile -Noninteractive "$ep = get-executionpolicy; if ($ep -gt 'RemoteSigned') {set-executionpolicy remotesigned} & '"C:\Program Files\Microsoft System Center 2016\Operations Manager\Server\Health Service State\Monitoring Host Temporary Files xx\xxxxx\AdminTask.ps1"' 'SharePointMP.Config'" Working Directory: C:\Program Files\System Center Management Packs One or more workflows were affected by this. Workflow name: Microsoft.SharePoint.2010.SCOM2012.ConfigSharePoint Instance name: Microsoft SharePoint 2010 Farm Group Instance ID: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} Management group: Error Code: -2130771918 (Unknown error (0x80ff0032)).

Since Sharepoint 2010 mainstream support ended in 2015, the Sharepoint 2010 management pack was not tested in SCOM 2016, which means that this management pack is not supported in SCOM 2016. We do have feedback from the field that, despite the fact of not being supported, this MP does work in SCOM 2016.

Now that you’re aware that the Sharepoint 2010 MP is not officially supported in SCOM 2016, but you still need to use it while you migrate your Sharepoint environment(s) to a more recent (and supported) version, then you can download and use the bellow sample management pack to be able to run the configuration task in SCOM 2016: image

If you already had the Sharepoint 2010 MP configured in SCOM 2012, then you already know what to do. If this is the first time you’re using the Sharepoint 2010 MP, then you’ll need to:

1 – Download, install and import Sharepoint 2010 MPs Please do carefully review the MP guide: https://www.microsoft.com/en-us/download/details.aspx?id=4419

2 – Download, install and just review in the detail the MP guide (you do not need to import the MP, as it’s for SCOM 2012): https://www.microsoft.com/en-us/download/details.aspx?id=34697

Please note that this sample management pack is provided “AS IS”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the author or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the sample management pack or the use or other dealing in the sample management pack.

Download: Community.SharePoint.2010.SCOM2016

José Miguel Constantino - Microsoft CSS Escalation Engineer