Teams API with Service Account

I am attempting to utilize the newer Teams Rest API

I am able to interact with this API via my personal token, but I want to utilize Service Accounts as I am building a simple application around this.

Has anyone had success setting up Service Accounts to call the REST API? No matter what I do, I am getting 401.

I created the credentials with API token, selecting all 4 “Teams” scopes. I am calling via postman with orgid but receive:
{

"code": 401,

“message”: “Unauthorized”

}

Hi @BrentODell ,

I am quite certain that this is not possible, at least not using scoped API tokens. The Teams API, for whatever reasons, is a bit special in that there are no scopes available for it. As a result, apps, integrations and scoped API tokens cannot interact with it. I do not know of any workaround for this.

Best regards,
Oliver

this is really bothering me as well, thanks for bringing this up, @BrentODell, I have the exact same use case.

@Atlassian: Why make API management so confusing?!