Error when trying to resolve winmail.dat problem in Office 365

Posted on 2016-08-24
Last Modified: 2016-08-30

I am getting the attached error when trying to run through the following fix for Office 365 emails.

Open Powershell as an Admin

Set-ExecutionPolicy RemoteSigned

$UserCredential = Get-Credential

(input office 365 admin login details)

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session

Set-RemoteDomain Default -TNEFEnabled $false

To confirm that the setting change was applied use:

Get-RemoteDomain |fl

In the returned results, look for:  TNEFEnabled:  False

The above fix is intented to resolve the winmail.dat problem that happens with some recipients when sending to btinernet accounts.

Is it possible someone would be able to shed any light on what this error means please?

Any help is appreciated.

Kind regards,
Systemagic Support.
Question by:systemagic
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 42

Expert Comment

by:Vasil Michev (MVP)
ID: 41768786
I dont see any attachment, maybe try uploading it again?

Author Comment

ID: 41768803
Apologies, can you now see the attachment?
LVL 42

Expert Comment

by:Vasil Michev (MVP)
ID: 41768814
Yup. It seems that the user you are connected with doesnt have the necessary permissions. Make sure you run it with a user that has at least the Exchange admin role.
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.


Author Comment

ID: 41775846
Thank you for that Vasil, I have had a look in the Exchange admin center and can't find anywhere to assign the Exchange admin role to that user.

Do you know where I need to be looking in there please?

Thanks for your help.
LVL 42

Accepted Solution

Vasil Michev (MVP) earned 500 total points
ID: 41775864
Go to the O365 portal -> Admin -> Users -> select the users -> Roles -> assign the Exchange admin role (or Global admin). Or simply run the cmdlet with account that already has the permissions.

Author Closing Comment

ID: 41776233
Thanks for your help, believe this has resolved it.

Featured Post

What, When and Where - Security Threats from Q1

Join Corey Nachreiner, CTO, and Marc Laliberte, Information Security Threat Analyst, on July 26th as they explore their key findings from the first quarter of 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question