Forums

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

How to authenticate service account created with new service account feature when using SSO

Marc Pincince
Contributor
August 8, 2025

I created a new service account using the new service account feature that is under the Directory tab of admin.atlassian.com. I created an api token for it too. Then I tried to use the following to test it, and I got "Client must be authenticated to access this request" as the result.

     curl -u "[the service account's email address]:[the service account's api token]" ^
     -X GET "https://[my site].atlassian.net/rest/api/3/project/search

I tried resetting the api token and even completely recreating the service account and still got the same result. My personal account email address and api token works with the above.

We have SSO enforced, using Microsoft Entra ID (Azure Active Directory) for our managed accounts. 

Any idea what I need to do to get my service account to work?

Thanks.

1 answer

0 votes
Chitra Nagdeo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 18, 2025

Hey @Marc Pincince ,

Welcome to Atlassian Community!

Could you try using syntax https://api.atlassian.com/ex/jira/<cloudId>/{api} and test Authentication using Basic auth?

Article: Jira and Jira Align Integration: Creating an API Service Account

Screenshot 2025-08-18 at 2.47.41 PM.png

Regards

Chitra Nagdeo

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events