GalSync and custom rules extensions

When creating a custom rules extension, you often don’t want to write code to handle every function MIIS requires for the MA.

A trick I found is to use reflection to grab a dll, such as the Microsoft.Exchange.Dirsync.RulesExtensions.dll. You can create an object using that and then call the OOB functions for areas you do not want to customize in your custom rules extension. assem = [Assembly].LoadFrom(fileName)

Additionally, if you want to call a PowerShell command in your rules extension project, try the information provided here:… and be sure to remember that referencing the System.Management.Automation.Runspaces.dll requires manually editing the .vbproj or .csproj, as described in an earlier post.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s