How To Connect To Exchange Online With Microsoft?

Asked By 0 points N/A Posted on -
qa-featured

I want to connect to Exchange online PowerShell for Windows on my computer. How can I connect and manage it remotely? What are the steps involved in it?

SHARE
Answered By 10 points N/A #299237

How To Connect To Exchange Online With Microsoft?

qa-featured

You can connect to the Exchange online server using PowerShell as follows.

Image result for connect to Exchange online
  1. Open the Window PowerShell on your computer. Run the command given below. $UserCredential = Get-Credential
  2. A dialogue box will open. In this dialogue box enter your Office 365 username and password.
  3. Again go to the PowerShell and enter the command given below. $Session = New-PSSession -ConfigurationNameMicrosoft. Exchange -Connection Uri https://outlook.office365.com/powershell-liveid/-Credential $UserCredential -Authentication Basic –Allow Redirection
  4. Now you can run your session.

Related Questions