Get List of Users and Associated Office 365 Licences

Just a quick memory dump for myself really. To export a report of all users from Office 365 and their associated licences run the following command in Azure Powershell Module Get-MsolUser -All | Select UserPrincipalName, Licenses | fl | Out-File c:\office365users.txt To only export licenced users Get-MsolUser -All | Where {$_.IsLicensed -eq “True”} | Select UserPrincipalName,… Read More

Multi Factor Authentication (MFA) Using ADFS 3.0 and Certificates

I had to implement MFA using ADFS 3.0 and internally signed certificates in order to authenticate external users against Office 365 services. There were a few niggles along the way but on the whole it was a relatively easy process to complete. The design brief stated that only domain joined devices from outside the corporate… Read More

Resetting Office 365 Password using Powershell

To reset an office 365 user’s password you need the Windows Azure Active Directory Module installed http://msdn.microsoft.com/en-us/library/azure/jj151815.aspx Open the console and enter Connect-MsolService Press Enter, enter your admin Office 365 account username and password in the logon box Then issue this command Set-MsolUserPassword -UserPrincipalName cphillip@domain.com -NewPassword London1234 -ForceChangePassword $false