Well, I am back again. Seems like every time I re-enable my login page after it disables itself due to brute force attacks I just lose the desire to post for a while. So, today I installed BruteProtect which should help out a bit with that. Hopefully, it will be less management overhead for me.
If you work with Office 365 for Education at all, you probably heard the news today that Microsoft is making Office 365 ProPlus available for students free. You’ll notice the subtitle of that article being “New self-serve process skips IT, makes it easier to get free Office 365”, which I don’t understand why Microsoft would do.
We already have been automatically provisioning ProPlus licenses to enrolled students via PowerShell using a script I wrote, so who knows what would happen if those students went and enrolled themselves.
This behavior can be disabled, of course, using the following PowerShell commands after you connect to your tenant using Connect-MsolService:
Set-MsolCompanySettings -AllowAdHocSubscriptions $false
Set-MsolCompanySettings -AllowEmailVerifiedUsers $false
The problem with this is that it requires the latest version of the Azure Active Directory module. Now, unlike the previous versions, these cmdlets can only run in versions of PowerShell higher than version 2.0. So, if your DirSync server runs 2008 R2 like ours, you need to upgrade your PowerShell. No big deal to upgrade, right? I thought I’d even go to PowerShell 4, because why not?
Unfortunately, there is a very particular order that v4 needs to be installed in for a 2008 R2 machine. Basically, you need to install the standalone .NET 4.5.1 software BEFORE you install the .msu for PowerShell v4 or it doesn’t work properly. If you screw up and just do the v4 install first, you need to remove it and start over. There’s no indication while it is applying the update that you’re missing the required .NET pieces, it just installs successfully and then fails to work. You’d think Microsoft could throw a prerequisite check in there just to be nice but I guess not. Anyway, there’s a nice writeup about the proper process you can read here.
That’s about all for this installment of Other Duties As Required though. Stay tuned for the next episode!