Troubleshooting: Office 365 Management Pack (Could not load file or assembly ‘Microsoft.SystemCenter.O365.UI)

This will be a short post.

First, at long last the Office 365 Management Pack was released today! Yay & much rejoicing throughout the land!

The official announcement can be found here:

The download can be found here:

Naturally I immediately downloaded, read the MP Guide, and then imported into my test environment. The initial import seemed to go fine.

office 365

But then when I clicked the new Office 365 Admin Pane Item

office 365 2

I get a nice “Could not load file or assembly ‘Microsoft.SystemCenter.O365.UI” error

office 365 3


To make this error go away, close your OpsMgr console and reopen. Then you will get:

office 365 4

Full error text for interested parties:

Date: 7/29/2014 7:03:12 PM
Application: Operations Manager
Application Version: 7.1.10226.0
Severity: Error

System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.SystemCenter.O365.UI, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
File name: ‘Microsoft.SystemCenter.O365.UI, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
   at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.ConsoleViewDisplayService.OpenViewJobArguments.LoadType()
   at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.ConsoleViewDisplayService.OpenViewJob(Object sender, ConsoleJobEventArgs args)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Troubleshooting: SQL MP 6.5.1 with SCOM 2007 R2 (SQL 2012 MP Imports Fail)

So on 6/30 a new SQL MP was released. It has some great new features and fixes:

and some awesome new instance level dashboards for both SQL 2008 and 2012 when used with SCOM 2012+


Unfortunately, the MP also doesn’t play nice with SCOM 2007 R2 and its predecessor 6.4.1 MP. When you try to import it into your 2007 R2 environment with the previous version of the SQL MP installed you will get failures of all the 2012 MP components


This error is not particularly helpful but if you go to the OpsMgr Event log it helps narrow things down:


So the workaround is to remove the SQL 2012 6.4.1 MPs and then reimport 6.5.1:


This should fix the issue, but ultimately you should really upgrade to 2012 R2 as 2007 R2 fell out of mainstream support on 7/8/2014 so any new MP’s going forward will likely be the 2.0 schema and completely incompatible.

Tools: New OpsConfig Tool v1.1 released


Download Here

This is an AS-IS proof-of-concept GUI tool for core maintenance tasks that some of my customers perform on a regular basis in Operations Manager. There are a number of great OpsMgr PowerShell scripts, MP’s, and maintenance tools out there–this tool is not intended to replace, merely to compliment them while giving me the opportunity to get better acquainted with PowerShell.  


1. Bulk Backup of all UnSealed MP’s

2. Unseal and Backup of all Sealed MP’s

3. Return a list of all systems where Proxy is not enabled

4. Enable Proxy on all systems in your Management Group 

5. Return a list of all systems in Maintenance Mode

Requirements: The tool is intended to be run on a Management server by an account that had admin access in SCOM & read access to the OperationsManager DB.

Compatibility: SCOM 2012, 2012 SP1, 2012 R2

The contents of this site are provided “AS IS” with no warranties, or rights conferred. Example code could harm your environment, and is not intended for production use. Content represents point in time snapshots of information and may no longer be accurate. (I work @ MSFT. Thoughts and opinions are my own.)