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...
Answered

Error Creating Article with Dynamics 365 OOTB Template: Unexpected Token Issue

(2) ShareShare
ReportReport
Posted on by 16
I'm using the latest version of Dynamics 365. When I try to create an article using the out-of-the-box (OOTB) template, I get the following error message. I've also included the text from the log file. The 'unexpected token' shouldn't be an issue, as I'm cutting and pasting from Microsoft Word. To be sure, I've even tried using a single character and still get the same error. Additionally, the plugin it references doesn’t exist in the environment. See the screenshot from the XrmToolBox Plugin Registration Tool.
   
Exception Message: '=' is an unexpected token. The expected token is ';'. Line 1, position 665.
ErrorCode: -2147220891
HexErrorCode: 0x80040265
ErrorDetails: 
    ApiExceptionSourceKey: Plugin/Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle
    ApiStepKey: a4ef03e1-a828-43b4-ba12-efa1cee2cf16
    ApiDepthKey: 1
    ApiActivityIdKey: d2be5ad8-f09d-455c-8dc7-674ae3735064
    ApiPluginSolutionNameKey: msdynce_KnowledgeManagement
    ApiStepSolutionNameKey: msdynce_KnowledgeManagement
    ApiExceptionCategory: ClientError
    ApiExceptionMessageName: IsvAborted
    ApiExceptionHttpStatusCode: 400
    OperationStatus: 0
    SubErrorCode: -2146233088
    Plugin: 
        PluginTrace: [Microsoft.Dynamics.KnowledgeManagement.Plugins: Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle]
[a4ef03e1-a828-43b4-ba12-efa1cee2cf16: MainOperation PreCreateKnowledgeArticle]
Entered Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle.Execute(), Correlation Id: 886b8538-fc8f-43f5-bb60-aa18db046587, Initiating User: fecdd1e3-ffb6-ee11-a568-001dd8306aa2
Exiting Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle.Execute(), Correlation Id: 886b8538-fc8f-43f5-bb60-aa18db046587, Initiating User: fecdd1e3-ffb6-ee11-a568-001dd8306aa2
TraceText: 
    [Microsoft.Dynamics.KnowledgeManagement.Plugins: Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle]
    [a4ef03e1-a828-43b4-ba12-efa1cee2cf16: MainOperation PreCreateKnowledgeArticle]
    Entered Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle.Execute(), Correlation Id: 886b8538-fc8f-43f5-bb60-aa18db046587, Initiating User: fecdd1e3-ffb6-ee11-a568-001dd8306aa2
    Exiting Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle.Execute(), Correlation Id: 886b8538-fc8f-43f5-bb60-aa18db046587, Initiating User: fecdd1e3-ffb6-ee11-a568-001dd8306aa2
Activity Id: d6316ae1-fc47-45d5-aa70-920b88b2b01b
-----------------------------
Categories:
  • Verified answer
    RM-05111353-0 Profile Picture
    16 on at
    I resolved this myself. I had initially created a custom knowledge article template within my application and then deleted it from there. The takeaway is that templates for Knowledge Articles in a custom application are managed through the Customer Service Admin Center in the environment.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 39 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 37 Super User 2026 Season 2

#3
Subra Profile Picture

Subra 24 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans