Creating Office 365 Safe Links Policy and Rule using PowerShell
Creating Office 365 Safe Links Policy and Rule using PowerShell To create a new Safe Links policy and rule a connection to Exchange Online Protection needs to be created. Establish a connection to Exchange Online Protection by doing the following. $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.protection.outlook.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection…
