Dynamics 365 – Email ‘From’ Field Grayed Out/Locked/Read-Only

With new updates come’s new bugs and this one certainly caught us off guard when we realised that we could no longer set the ‘From’ field of emails in our Dynamics system. This article will go over the details of a workaround to this issue until the problem is resolved with a future update.

The Problem

The problem will appear as a locked or read-only ‘From’ field on the email entity.


The Solution

The solution, in this case, is to create a solution which will contain a modified version of the ‘From’ field.

  1. Navigate to ‘Settings’ > ‘Solutions’.
  2. Create a ‘New Solution’ and name it something descriptive.
  3. In the ‘Components’ tab, select ‘Add Existing’ and click ‘Entity’.
  4. Scroll down and double-click the ‘Email’ entity to select it.
  5. In the new window, go to the ‘Fields’ Tab, scroll down and select the ‘From’ field.
  6. Once done, save and then export the solution as an ‘Unmanaged Solution’.
  7. Extract the downloaded zip file containing the solution.
  8. Open ‘customizations.xml’ found in the extracted folder.
  9. Locate the line containing ‘<LookupTypes />’.
  10. Replace that line with the code below the ‘Code to paste’ heading below these steps.
  11. IMPORTANT: Locate both the fields below and change to the values indicated –
    • CHANGE FROM – <entity Name=”Email” unmodified=”1“>
    • CHANGE TO – <entity Name=”Email” unmodified=”0“>
    • CHANGE FROM – <attribute PhysicalName=”from” unmodified=”1“>
    • CHANGE TO – <attribute PhysicalName=”from” unmodified=”0“>
  12. Save the file and then zip up all three files you initially extracted into a Zip file.
  13. In CRM, click ‘Import’ and select the new zip file, go through the wizard which will import the modified solution.
  14. Click ‘Publish All Customizations’ to ensure the fix is available to all users and once done close the window.

Code to paste

     <LookupType id="00000000-0000-0000-0000-000000000000">8</LookupType>
     <LookupType id="00000000-0000-0000-0000-000000000000">2020</LookupType>       



I’ve included a full copy of my customization.xml file below containing the fix. I would suggest following the steps above as I make no guarantees the code below will work in your environment.

<ImportExportXml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <Name LocalizedName="Email" OriginalName="E-mail">Email</Name>
 <entity Name="Email" unmodified="0">
 <attribute PhysicalName="from" unmodified="0">
 <LookupType id="00000000-0000-0000-0000-000000000000">8</LookupType>
 <LookupType id="00000000-0000-0000-0000-000000000000">2020</LookupType>
 <displayname description="From" languagecode="1033" />
 <Description description="Enter the sender of the email." languagecode="1033" />
 <CustomActions />
 <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
 <CommandDefinitions />
 <TabDisplayRules />
 <DisplayRules />
 <EnableRules />
 <LocLabels />
 <Templates />
 <EntityMaps />
 <EntityRelationships />
 <OrganizationSettings />
 <optionsets />

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.