Difference between revisions of "Office 365"

From Max's Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__FORCETOC__
 
__FORCETOC__
 +
 +
=Networking=
 +
 +
==CDN==
 +
*https://docs.microsoft.com/en-us/office365/enterprise/managing-office-365-endpoints?redirectSourcePath=%252farticle%252f99cab9d4-ef59-4207-9f2b-3728eb46bf9a#i-see-network-requests-to-ip-addresses-not-on-the-published-list-do-i-need-to-provide-access-to-them
 +
*https://docs.microsoft.com/en-us/office365/enterprise/content-delivery-networks
 +
*https://docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges?redirectSourcePath=%252farticle%252fOffice-365-URLs-and-IP-address-ranges-8548a211-3fe7-47cb-abb1-355ea5aa88a2
 +
 +
=Pre-Requisites=
 +
[https://docs.microsoft.com/en-us/office365/enterprise/powershell/connect-to-office-365-powershell MS Documents - Connect to Office 365 PowerShell]
 +
 +
=Admin Work=
 +
Add a domain to Office 365
 +
https://docs.microsoft.com/en-us/office365/admin/setup/add-domain?redirectSourcePath=%252fen-us%252farticle%252fadd-a-domain-to-office-365-6383f56d-3d09-4dcb-9b41-b5f5a5efd611&view=o365-worldwide
 +
 +
==Connect to Tenant==
 +
$UserCredential = Get-Credential
 +
Connect-MsolService -Credential $UserCredential
 +
 +
Connect with MFA
 +
Connect-MsolService
  
 
=Exchange Online=
 
=Exchange Online=
==Powershell==
+
Get Distribution List Members
Connect to Exchange Online:
+
  https://technet.microsoft.com/en-us/library/aa996367(v=exchg.160).aspx
$LiveCred = Get-Credential
 
Login to Organization:
 
Username & Password
 
Run the following:
 
  $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
 
Run the following:
 
Import-PSSession $Session
 
  
 +
Controlling Exchange ActiveSync device access using the Allow/Block/Quarantine list
 +
https://blogs.technet.microsoft.com/exchange/2010/11/15/controlling-exchange-activesync-device-access-using-the-allowblockquarantine-list/
 +
 +
How to Block or Quarantine all devices by default in Exchange online ?
 +
https://blogs.technet.microsoft.com/praveenkumar/2015/08/19/how-to-block-or-quarantine-all-devices-by-default-in-exchange-online/
 +
 +
Get Device Statistics
 +
get-mobiledevicestatics -mailbox $user.upn | export-clixml C:\temp
 +
 +
Search mailbox and add to a folder​
 +
Search-Mailbox -Identity "bjb" -SearchQuery 'Attachment:stc.pdf from:bjb@coredesigninc.com' -TargetMailbox "dynadmin" -TargetFolder "BJB-Attachment" -LogLevel Full
 +
 +
Search mailbox for a specific subject
 +
search-mailbox -identity userA -searchquery "Kind:meetings and Subject:Subject of meeting and from:largeconferenceroom@kcsarc.org" -targetmailbox largeconferenceroom -TargetFolder "SearchData" -logonly -loglevel full
 +
 
=OneDrive=
 
=OneDrive=
  
Line 17: Line 46:
  
 
=Admin=
 
=Admin=
 +
[https://docs.microsoft.com/en-us/office365/enterprise/powershell/create-user-accounts-with-office-365-powershell%20Create%20user%20accounts%20with%20Powershell Get Tenant Licensing]:
 +
Get-MsolAccountSku
 +
 +
Example:
 +
New-MsolUser -DisplayName "Caleb Sills" -FirstName Caleb -LastName Sills -UserPrincipalName caleb@manaiakalani.onmicrosoft.com -UsageLocation US -LicenseAssignment manaiakalani:ENTERPRISEPACK

Latest revision as of 01:30, 11 February 2019


Networking

CDN

Pre-Requisites

MS Documents - Connect to Office 365 PowerShell

Admin Work

Add a domain to Office 365

https://docs.microsoft.com/en-us/office365/admin/setup/add-domain?redirectSourcePath=%252fen-us%252farticle%252fadd-a-domain-to-office-365-6383f56d-3d09-4dcb-9b41-b5f5a5efd611&view=o365-worldwide

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

Controlling Exchange ActiveSync device access using the Allow/Block/Quarantine list

https://blogs.technet.microsoft.com/exchange/2010/11/15/controlling-exchange-activesync-device-access-using-the-allowblockquarantine-list/

How to Block or Quarantine all devices by default in Exchange online ?

https://blogs.technet.microsoft.com/praveenkumar/2015/08/19/how-to-block-or-quarantine-all-devices-by-default-in-exchange-online/

Get Device Statistics

get-mobiledevicestatics -mailbox $user.upn | export-clixml C:\temp

Search mailbox and add to a folder​

Search-Mailbox -Identity "bjb" -SearchQuery 'Attachment:stc.pdf from:bjb@coredesigninc.com' -TargetMailbox "dynadmin" -TargetFolder "BJB-Attachment" -LogLevel Full

Search mailbox for a specific subject

search-mailbox -identity userA -searchquery "Kind:meetings and Subject:Subject of meeting and from:largeconferenceroom@kcsarc.org" -targetmailbox largeconferenceroom -TargetFolder "SearchData" -logonly -loglevel full

OneDrive

SharePoint

Admin

Get Tenant Licensing:

Get-MsolAccountSku

Example:

New-MsolUser -DisplayName "Caleb Sills" -FirstName Caleb -LastName Sills -UserPrincipalName caleb@manaiakalani.onmicrosoft.com -UsageLocation US -LicenseAssignment manaiakalani:ENTERPRISEPACK