Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

The user cannot be authenticated error when I try to login Jira using JiraPS.

Praveen K L September 19, 2023

Error:

Invoke-JiraMethod : The user could not be authenticated. At C:\Program Files (x86)\WindowsPowerShell\Modules\JiraPS\2.14.7\JiraPS.psm1:3960 char:19 + $result = Invoke-JiraMethod @parameter + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : AuthenticationError: (:) [Invoke-JiraMethod], HttpRequestException + FullyQualifiedErrorId : AuthenticationFailed,Invoke-JiraMethod

 

Code:

$credential = Get-Credential -UserName 'mailid' -Message 'apitoken'
Set-JiraConfigServer 'jiraurl'
New-JiraSession -Credential $credential

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events