Why do people have to be so complicated?
Beating around the bush. -.-”
I’ve been using this for some time, but, I wanted it up on another comp and have forgotten what I needed to have it up.
So, if you’re like me and get pissed off with all the bla bla bla, here’s the simple version.
You’ve got to have the right administrator rights of the Active Directory to be able to login and use the powershell later on though.
- Beginning in version 0.8.5, the Azure PowerShell modules require Microsoft .NET Framework 4.5
- Windows PowerShell: Windows 8.1, Windows 8, Windows 7, Windows Server 2012 R2, Windows Server 2012, or Windows Server 2008 R2
To install the Module
- First, install the Microsoft Online Services Sign-In Assistant for IT Professionals RTW.
- Then, install the Azure Active Directory Module for Windows PowerShell (64-bit version), the 32-bit version was discontinued since 20th October 2014.
$LiveCred = Get-Credential
$NewSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection