Removing unlicensed users in Office 365

I was faced with a situation where I had 17,020 users that synced up into Office 365 but my Office 365 license was like about 5…

So one of the quickest paths I took was to fire up PowerShell and remove all users that did not have a license.

These are the steps I took to get the job done:

Connect-MsolService

Connect-MsolService

Type in your Office 365 Global Admin credentials:

EnterCredentials

Get-MsolUser -all | Where-Object {$_.isLicensed -ne "true"} | Remove-MsolUser -Force

Remove-MsolUser

Anyway, curious to see the rate it deleted the users, I thought of monitoring the process by opening another PowerShell window and ran this:

Connect-MsolService

Type in your Office 365 Global Admin credentials

Get-MsolUser -All | measure

Get-MsolUserMeasure

Turns out the above command took three minutes to run (around 15,600 users) and deleted approximately 36 users per minute. The above command, will progressively run faster as the user count goes down.

Once I’m done, I’ll be configuring up the DirSync version of Forefront Identity Manager 2010 R2 (FIM) to selectively sync a few of the choicest users in my AD infrastructure.

:)


OneDrive for Business Groovy sync tool

Previously known as SkyDrive Pro, now more appropriately named OneDrive for Business, builds on a solid foundation of years of sync technology.

In terms of functionality, I am quite impressed with the OneDrive for Business functionality. It keeps getting better with each new release.

I use my OneDrive for business syncing various SharePoint Document Libraries with multiple organisations in different folders on my laptop…quite handy for people on the move.

Download:
Download OneDrive for Business standalone sync client for SharePoint 2013 and SharePoint Online.

Click here to download OneDrive for Business:

http://support.microsoft.com/kb/2903984

Use the license key:
When I set up my OneDrive for Business, I normally choose to use the license key rather than using my O365 login to install the app. Here is the license key: 3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3

Limits:

There are some limits on syncing OneDrive for Business and site libraries, according to the OneDrive for Business help:

Note the following limitations related to syncing OneDrive for Business and other site libraries to your computer:

  • You can sync up to 20,000 items in your OneDrive for Business library, including folders and files.
  • You can sync up to 5,000 items in site libraries, including folders and files.
  • In any library, you can download files up to 2 GB.

OneDrive for Business is Gold:
It’s nice to see good ol’ Groove Networks still carrying on behind the scenes and Microsoft building upon a solid foundation of sync software, positively looking at it. :)

Personally, I have been very impressed by Groove since it was released! Groove was brilliant and way ahead of others at that time.

Take a look under the bonnet:

OneDriveforBusiness-Groove1

Love it!

OneDriveforBusiness-Groove-2

Groove Logo:

OneDriveforBusiness-Groove-3

 

Well, One Drive for Business certainly is not a new kid on the block. I suggest you give it a try if you haven’t in its newest incarnation!


Configure DirSync and SSO ADFS with Office 365 – Videos

Here are a couple of videos from Microsoft Services – Microsoft Partner Network videos on configuring DirSynd and Single Sign-On SSO with ADFS for your Office 365. These videos have helped me understand whats involved and how do I go about setting it up.

Warning: These are technical videos. Do not attempt these without planning your deployment with your managerial / architects and infrastructure staff! There is no substitute to good planning. These videos are also meant to be a bookmark for me :)

Note: These videos refer to older version of DirSync which did not have password sync. There is a new version of DirSync which does password syncs. Read more here: http://blogs.technet.com/b/educloud/archive/2013/06/03/new-azure-active-directory-sync-tool-with-password-sync-is-now-available.aspx

Office 365: Configuring DirSync and Single Sign On with ADFS – Part 1

Module 1: Understanding Identities
Module 2: Environment Preparation for Single Sign-On & Directory Synchronization (DirSync)

Office 365: Configuring DirSync and Single Sign On with ADFS – Part 2
Module 3: Deploying SSO and AD FS 2.0
Module 4: Deploying DirSync


Download Skydrive Pro standalone

Upgrading to SharePoint 2013 and require syncing files down to your desktop without having to upgrade to Office 2013 to get Skydrive Pro?

On the 20th of May 2013, Microsoft published a standalone Skydrive Pro client. The standalone SkyDrive Pro sync client allows users of SharePoint 2013 and SharePoint Online in Office 365 to sync their personal SkyDrive Pro and any SharePoint 2013 or Office 365 team site document libraries to their local machine for access to important content on and offline.

Download the Skydrive Pro client for Windows

Supported Operating Systems: Windows 7, Windows 8, Windows Server 2008 R2, Windows Server 2012

Can be installed alongside Office 2010 and Office 2007. However I haven’t really seen many Office 2007 installations on Windows 7. :)

Limits on syncing content in SkyDrive Pro and other SharePoint libraries

Note the following limitations related to syncing libraries to your computer with SkyDrive Pro:
You can sync up to 20,000 items in your SkyDrive Pro library, including folders and files.
You can sync up to 5,000 items in other SharePoint libraries, including folders and files.
In any library, you can download files up to 2 GB.
Reference :http://office.microsoft.com/en-us/support/sync-a-library-to-your-computer-HA102832401.aspx