Adding a Service account
Asked by Ernie Jennings:

I am trying to log into a service account, and while my company's admins have created the account and linked it via SSO to our new Confluence cloud instance, I am still unable to log in and need some help getting my account working. When I log in with the service account's SSO profile (via Okta integration), I get the following error message:

\<quote\>

Hmm... We're having trouble logging you in.  
Whoops! The email address you entered can't be used to log in here. Try logging in from id.atlassian.com, or check your email address with your organization admin.

\</quote\>

I have checked with our admins and the issue seems to be on the Confluence side.

The need we're trying to fulfill by logging in is to generate a Personal Access Token tied to the service account identity that we can use to retrieve documentation content that we host in Confluence. At the moment I'm using a PAT based on my own identity and would like to tie it instead to the service account's identity.

I hope this is enough context to be able to help us get this account logging into Confluence successfully.

Thanks!


Answers:
author: Kishan Sharma
body: Hi [@Ernie Jennings](/t5/user/viewprofilepage/user-id/989523) You need to have a license on the service account in order for it to interact with Confluence. That service account can then create an API token and it will be based on the permissions you grant to it in confluence. However would love to know how you figured it out so that it can help others for similar case.


author: Alexis Robert
body: Hi [@Ernie Jennings](/t5/user/viewprofilepage/user-id/989523) ,

is the error message from Okta or from an Atlassian login page ?

It might be that the Service Account does not have a license to login for example, or that it was deactivated some time ago.

You should check with the Atlassian administrator if this account has all needed permissions to log into your instance.

Let me know if this helps,

--Alexis

comments: author: Ernie Jennings
body: [@Alexis Robert](/t5/user/viewprofilepage/user-id/1213386) So the service account does or does not need an email? I thought all accounts have to have an email account.


author: Alexis Robert
body: Yes all account do need an email associated. But they also need a license for Confluence if you need to log in to the application, that's why you should check this first.


author: Ernie Jennings
body: [@Alexis Robert](/t5/user/viewprofilepage/user-id/1213386) Hey Alexis, we have plenty of licenses. I have not given this account a license yet. The reason is because I don't know what to use for an email. This is not a personal account, this is an example "***Yeah_Confluence_P_x".***So how do we do that is the question. Do we have to have our email staff set up an email account for that, I would assume?


author: Alexis Robert
body: So I'm guessing you're talking about the account setup in Okta, since Atlassian accounts need an email associated to work : in this case, yes any email will do, even a mailing list.


author: Ernie Jennings
body: [@Alexis Robert](/t5/user/viewprofilepage/user-id/1213386) I think I figured something out.

Thank you, I will give you the credit even though, well :-)


author: Sukhmeet Singh
body: [@Ernie Jennings](/t5/user/viewprofilepage/user-id/989523) What did you figure out ? Can you please explain I am also looking for same type of account set up.


Tags: cloud

confluence-cloud