web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Creating email with Web API automatically adds signature

(0) ShareShare
ReportReport
Posted on by 5

I am using the following to create a new email in Dynamics 365:

export const createEmail = (
  subject: string,
  description: string,
  trackingToken: string | undefined,
  caseId: string,
  emailId: string,
  partyData: any[],
): JQuery.jqXHR => $.ajax({
  url: `${apiBaseUrl}/emails?$select=activityid,_ownerid_value,createdon,subject,statuscode,directioncode,sender,attachmentcount,
trackingtoken`,
  type: 'POST',
  global: true,
  headers: {
    'Prefer': 'return=representation'
  },
  dataType: 'json',
  contentType: 'application/json',
  data: JSON.stringify({
    subject,
    description,
    trackingtoken: trackingToken,
    'regardingobjectid_incident@odata.bind': `/incidents(${caseId})`,
    'parentactivityid@odata.bind': `/emails(${emailId})`,
    email_activity_parties: partyData,
  }),
});

The new email is meant to be a reply to customer's incoming email. In the description parameter I'm passing the user's signature, because I need to add a separator between our response and the original email thread. However, the resulting email in Dynamics 365 has the signature I provided in the description, and another automatically-added signature. Is there a way to prevent Dynamics 365 from adding signatures to emails?

I have the same question (0)
  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hi Kentico-EricD ,

    I think your default email signature is applied to the email body.  

    Please check this link: www.forvis.com/.../how-add-custom-email-signatures-in-dynamics-365-crm

  • Kentico-EricD Profile Picture
    5 on at

    Yes, it looks like Dynamics 365 is applying the user's signature to the new email. However, I'd like to prevent that from happening, do you know a way?

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hi Kentico,

    Have you tried setting default template to no? I believe it should work 

    pastedimage1675186754196v1.png 

  • Suggested answer
    Leco Lv Profile Picture
    Microsoft Employee on at

    Hi partner,

    I think Naveen is right, the signature is not auto filled when the value is NO. Or you can delete the signature template.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 55

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans