<{{Subtitle_Weight}} class="prominent-subhead {{Show_Subtitle}}"> {{Header_Subtitle}}

Deployment error: "Primary Credentials Not Authenticated"

~~repeating-content.html~~
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

The following error appears when trying to deploy using MMC Package and Deployment tool:

"System.Reflection.TargetInvocationException: C:\ProgramData\Temp\c4e8b8003ae64541b933e26a5880869c\Deployment\K2Project3.msbuild(82,5) : error : Notification Service: Task Error: Primary Credentials Not Authenticated"

Symptoms

This issue could be caused by an incorrect value for the "ServiceObject Server" and "SmartObject Server" Environment Fields.

Check if the connection string is missing  the "IsPrimaryLogin=TRUE" parameter/argument.

Read more about understanding Environment Libraries here.

Troubleshooting Steps

Correcting the value of the connection string for those environment fields will resolve the issue.