Created
June 1, 2017 19:47
-
-
Save msidmvp/f503d63b2493d785eb974644f04d5842 to your computer and use it in GitHub Desktop.
Enable Encypted Mail in O365
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Subscription Requirement: | |
# | |
# O365 E3/E4 subscription or O365 subscription w/ standalone Windows Azure Rights Management | |
# | |
# Software Requirements: | |
# | |
# 1. Download Microsoft Online Services Sign-In Assistant | |
# http://www.microsoft.com/en-us/download/details.aspx?id=41950 | |
# | |
# 2. Download Azure AD Module | |
# https://msdn.microsoft.com/en-us/library/azure/jj151815.aspx | |
$UserCredential = Get-Credential | |
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection | |
Import-PSSession $Session | |
# The following command sets RMS to North America. For a full list of countries see: | |
# | |
# See https://technet.microsoft.com/en-us/library/dn569291.aspx | |
# | |
Set-IRMConfiguration -RMSOnlineKeySharingLocation "https://sp-rms.na.aadrm.com/TenantManagement/ServicePartner.svc" | |
Import-RMSTrustedPublishingDomain -RMSOnline -name "RMS Online" | |
Test-IRMConfiguration -RMSOnline | |
Set-IRMConfiguration -ClientAccessServerEnabled $false | |
Set-IRMConfiguration -InternalLicensingEnabled $true | |
Test-IRMConfiguration -Sender your_email_address@your_domain_here | |
Remove-PSSession $Session | |
# Now configure your rules via | |
# https://blogs.office.com/2013/11/21/introducing-office-365-message-encryption-send-encrypted-emails-to-anyone | |
# | |
# See Also: | |
# | |
# Set up Microsoft Azure Rights Management for O365 Encryption | |
# https://technet.microsoft.com/en-us/library/dn569291.aspx | |
# | |
# Connect to Exchange Online PowerShell | |
# https://technet.microsoft.com/library/jj984289(v=exchg.160).aspx | |
# | |
# Test-IRMConfiguration | |
# https://technet.microsoft.com/en-us/library/dd979798(v=exchg.150).aspx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment