- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-13-2019 05:14 PM
Trying to configure windows authentication for CCP to enable OS user authentication for applications ?
Please advise how to overcome ? and enable windows authentication working for applications
03-13-2019 08:26 PM
@Anurag . You can keep in Negotiate & NTLM actually. This combination should cater to all the incoming request types
03-14-2019 09:16 AM
@Anand Negi i have added Negotiate & NTLM, but no luck
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>401 - Unauthorized: Access is denied due to invalid credentials.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header">
<h1>Server Error</h1>
</div>
<div id="content">
<div class="content-container">
<fieldset>
<h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>
<h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>
</fieldset>
</div>
</div>
</body>
</html>
But if i enable Anonymous Authentication & Windows Authentication, i'm able to see the error code
{
"ErrorCode": "APPAP306E",
"ErrorMsg": "Authentication error for App ID [XXXXXX]. Reason: APPAP133E Failed to verify application authentication data: OSUser \" \" is unauthorized"
}
any thoughts for working OS user authentication for windows & UNIX
I'm making API request call from Postman & Chrome browser i don't see any luck expect Error code "APPAP306E"
03-16-2019 07:43 PM
Try enabling Basic auth as well. To tell you the truth even i'm struggling with the Unix environment but one thing that works from Unix is using curl with -negotiate-
06-26-2019 08:31 AM
I am having the similar issues, can you help with the curl query
curl -X GET "http://amowirpamccpd01.na.ds.monsanto.com:80/AIMWebService/api/Accounts?AppID=AIMWebService&Safe=Win_DS_Domain_INDX_ENG&Folder=root&Object=OperatingSystem-Mon_WinServiceAcct-NA2-na.ds.monsanto.com-NA1000SVC-EYSCAN"
It give me the below error
{"ErrorCode":"APPAP306E","ErrorMsg":"Authentication error for App ID [AIMWebService]. Reason: APPAP133E Failed to verify application authentication data: OSUser \" \" is unauthorized"}
Thanks
Senthil
06-26-2019 09:06 AM
I also have enabled the basic authentication in IIS but still receive the above error
06-27-2019 01:11 PM
@Senthil Arunagiri Here authentication error is for APPID(AIMWebService), can you check AIMWebService is add as application ID in pvwa.
also add OS User as IIS APPPOOL\DefaultAppPool and
Path as C:\inetpub\wwwroot\AIMWebService\bin\AIMWebService.dll
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

