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

4 comments:

robin said...

Nice, tx for sharing!

Unknown said...

Great concept for sure and great blog post. It looks like your code has been taken down from dropbox though.

Søren Granfeldt said...

The scripts are available with the PowerShell MA. See link at top of page. I am collecting for charity through Christmas so please donate if possible...

Unknown said...

A friend of mine introduced PowerShell Management Agent to me. It's not that I am not convinced with its features but I think I should research more about it. I am glad that I came across your blog. Now, I can learn more about it and water the deedman plants in the office.