In order to fix this problem I disabled TNEF encoding for all messages sent to all domains outside my organization in Office 365 using Powershell
From my research, I found the steps needed from four websites:
- Manage TNEF Message Formatting with Remote Domains
- How to Remote PowerShell into Exchange Online (Office 365)
- xxxx cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details
- Access to the registry key for PowerShel' is denied
Here is a condensed version of the instructions:
Open Powershell as administrator and make sure you can excuted scripts
PS C:\Windows\system32> Get-ExecutionPolicy
PS C:\WINDOWS\system32> Set-Executionpolicy -ExecutionPolicy Unrestricted
Store your office 365 credentials (email@domain.com)
PS C:\WINDOWS\system32> $Cred = Get-Credential
Create the powershell connection to office 365 and disable TNEF
PS C:\WINDOWS\system32> $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection
PS C:\WINDOWS\system32> Import-PSSession $s
PS C:\WINDOWS\system32> Set-RemoteDomain Default -TNEFEnabled $false
Remove powershell connection
PS C:\WINDOWS\system32> Remove-PSSession $s
Close powershell
1 comment:
Please Visit Home Wiring Diagram
Post a Comment