The Microsoft Online Services Sign-In Assistant 7.0 is a prerequisite for installing the Microsoft Online Services Module for Windows PowerShell. Use the links below to download the installer.
Once you have the Microsoft Online Services Sign-In Assistant 7.0 installed, now you can install the PowerShell Module. Use the links below to install.
Once you have those two pieces installed, open Windows Azure AD Module for PowerShell as an administrator.
Enter the following commands
$cred = Get-Credential
Connect-MsolService -credential $cred
If you are looking to connect to Exchange Online use the following process.
$Cred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $Cred -Authentication Basic -AllowRedirection
When completed, use the following command to close the connection to Exchange Online.
Thanks for visiting and reading my posts. I am always looking for more ideas. Please comment or email me with what you would like to see.
Kelsey Epps Office365 MVP