Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

Rest API Issue

SaravananRajara
Collaborator III

I am able to create session token using REST API successfully in POSTMAN.  But if i use PowerShell, its throwing SSOlogin/Redirector.asp, 401 Unauthorized errors.  Is it because of SSO?  If yes, why it is working correctly in POSTMAN.

 

We are using 6.3 P3 version.

1 ACCEPTED SOLUTION

Accepted Solutions

Anonymous
Not applicable

Post your question over on Mail Merge Template Creator‌, and see if it's creator Jeff Letterman‌ can give you a reply.

View solution in original post

5 REPLIES 5

lokeshkumar449
Contributor III

please check if windows authentication is enabled in Archer server IIS , postman will allow but from code nope, if from power shell certificate we have to pass certificate   verify=False in the request if incase not used.

I verified in IIS that we have enabled Anonymous Authentication.  Even i am not able to use Mail Merge Creator tool.  Session token was created and populated in Session token column but in the output console displaying "Remote server returned an error: (401) Unauthorized"

Anonymous
Not applicable

Post your question over on Mail Merge Template Creator‌, and see if it's creator Jeff Letterman‌ can give you a reply.

I am facing the same issue, POSTMAN login Works but POWERSHELL Fails.

Not using windows authentication as it is our own LAB. PLease can you help?

Take a look at @JeffLetterman post on creating a session token using PowerShell, How to use the Archer REST API and Web Services API with Windows PowerShell - Archer Community - 411781 (archerirm.community)

 Advisory Consultant