Difference between revisions of "Office 365"

From Max's Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
__FORCETOC__
 
__FORCETOC__
 +
 +
=Pre-Requisites=
 +
[https://docs.microsoft.com/en-us/office365/enterprise/powershell/connect-to-office-365-powershell MS Documents - Connect to Office 365 PowerShell]
 +
 +
==Connect to Tenant==
 +
$UserCredential = Get-Credential
 +
Connect-MsolService -Credential $UserCredential
 +
 +
Connect with MFA
 +
Connect-MsolService
  
 
=Exchange Online=
 
=Exchange Online=
==Powershell==
 
Connect to Exchange Online:
 
$LiveCred = Get-Credential
 
Login to Organization:
 
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic –AllowRedirection
 
Run the following:
 
Import-PSSession $Session
 
 
 
Get Distribution List Members
 
Get Distribution List Members
 
  https://technet.microsoft.com/en-us/library/aa996367(v=exchg.160).aspx
 
  https://technet.microsoft.com/en-us/library/aa996367(v=exchg.160).aspx

Revision as of 19:34, 21 December 2017


Pre-Requisites

MS Documents - Connect to Office 365 PowerShell

Connect to Tenant

$UserCredential = Get-Credential
Connect-MsolService -Credential $UserCredential

Connect with MFA

Connect-MsolService

Exchange Online

Get Distribution List Members

https://technet.microsoft.com/en-us/library/aa996367(v=exchg.160).aspx

OneDrive

SharePoint

Admin