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:

http://blogs.office.com/2014/07/29/new-office-365-admin-tools/

The download can be found here:

http://www.microsoft.com/en-us/download/details.aspx?id=43708

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

SOLUTION:

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
Message:

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].

Leave a Reply

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

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.)