Monday, July 2, 2012

Managing Office 365 users through FIM 2010

A customer of mine needed a Management Agent for handling their Office 365 users through FIM 2010 R2.

I decided to use my PowerShell Management Agent for the task. This seemed like the straight-forward solution since managing users in the Office 365 setup is basically just a bunch of PowerShell CMDlets. You can get Office 365 CMDLets here.

The solution very simply just operates on one boolean attribute (IsLicensed) and provisions / deprovisions based on this flag. I've used the FIM Portal to model the business rules through Set's and MPR's to set this flag on the users that should and shouldn't have an Office 365 account.

I have removed customer specific code from the scripts, but have decided to share the scripts with the community. Hopefully, you can use these combined with my PowerShell Management that is also available. For more information on how to use the scripts with the PowerShell Management Agent, please refer to the documentation for the Management Agent.

Any feedback is appreciated and please share findings, tips and tricks through comments on this blog entry, so that other may benefit from these as well.

You can get the scripts in the download section for the PowerShell MA and they are pretty much ready to use out-of-the-box, but please review and test them properly before putting into production.

See you in the cloud..!