Office365: Difference between revisions

From Piszczynski
piszczynski>Aleks
(Created page with " == Sensitivity Labels == sensitivity labels are used in outlook and other applications to set access and to conform with compliance for data retention. For the labels to b...")
 
m (3 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:


== Office365 Deployment ==
Deploy using the [[OfficeDeploymentTool]]
== Sensitivity Labels ==
== Sensitivity Labels ==


Line 5: Line 7:


For the labels to be accessed in outlook the labels need to be published in the the compliance center in the O365 portal - see this MS documentation for details https://docs.microsoft.com/en-gb/microsoft-365/compliance/create-sensitivity-labels?view=o365-worldwide
For the labels to be accessed in outlook the labels need to be published in the the compliance center in the O365 portal - see this MS documentation for details https://docs.microsoft.com/en-gb/microsoft-365/compliance/create-sensitivity-labels?view=o365-worldwide
==Test Office365 email==
Test smtp submission with the following script:
<pre>
# Get the credential
$credential = Get-Credential
## Define the Send-MailMessage parameters
$mailParams = @{
    SmtpServer                = 'smtp.office365.com'
    Port                      = '587' # or '25' if not using TLS
    UseSSL                    = $true ## or not if using non-TLS
    Credential                = $credential
    From                      = 'sender@yourdomain.com'
    To                        = 'recipient@yourdomain.com', 'recipient@NotYourDomain.com'
    Subject                    = "SMTP Client Submission - $(Get-Date -Format g)"
    Body                      = 'This is a test email using SMTP Client Submission'
    DeliveryNotificationOption = 'OnFailure', 'OnSuccess'
}
## Send the message
Send-MailMessage @mailParams
</pre>

Latest revision as of 21:32, 15 November 2023

Office365 Deployment

Deploy using the OfficeDeploymentTool

Sensitivity Labels

sensitivity labels are used in outlook and other applications to set access and to conform with compliance for data retention.

For the labels to be accessed in outlook the labels need to be published in the the compliance center in the O365 portal - see this MS documentation for details https://docs.microsoft.com/en-gb/microsoft-365/compliance/create-sensitivity-labels?view=o365-worldwide


Test Office365 email

Test smtp submission with the following script:

# Get the credential
$credential = Get-Credential

## Define the Send-MailMessage parameters
$mailParams = @{
    SmtpServer                 = 'smtp.office365.com'
    Port                       = '587' # or '25' if not using TLS
    UseSSL                     = $true ## or not if using non-TLS
    Credential                 = $credential
    From                       = 'sender@yourdomain.com'
    To                         = 'recipient@yourdomain.com', 'recipient@NotYourDomain.com'
    Subject                    = "SMTP Client Submission - $(Get-Date -Format g)"
    Body                       = 'This is a test email using SMTP Client Submission'
    DeliveryNotificationOption = 'OnFailure', 'OnSuccess'
}

## Send the message
Send-MailMessage @mailParams