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.
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
Regards
Chitra Nagdeo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.