Forums

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

Managed accounts without access

Jonathon Choy September 22, 2025

I have a number of user accounts that are identity provider managed but do not have the groups which are Azure synced and supposed to be managed via external directory. I have tried removing and re-adding the AD groups and awaiting sync from the enterprise application this can be hit and miss, in some cases it require deletion of the account but that also means waiting 14 + days to be removed from the Atlassian space. IS there a more efficient way to manage this?

1 answer

2 votes
Christos Markoulatos
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2025

Hi @Jonathon Choy 

 What I believe is happening: the user’s email already exists as an Atlassian account (maybe created outside SCIM). When SCIM tries to provision, it fails because the account already exists. Deleting it works, but only after the 14-day grace period, which is why you see the delay.

Workaround using the API (even for IdP-managed accounts):

1. Update the email via Atlassian Admin API

Use the same API key you configured for SCIM in Azure (the one Atlassian Guard uses).

Endpoint: PATCH https://api.atlassian.com/admin/v1/orgs/{orgId}/directory/users/{accountId} Sample body:

{

  "email": "user_old@example.com"

}

2. Delete the account

After changing the email, delete the user in Atlassian Admin (or via API).

This frees up the original email immediately.

3. Trigger a manual provisioning cycle in Azure AD

Go to Azure AD → Enterprise Applications → Atlassian Cloud → Provisioning → Provision on demand and run it for the user.

This reprovisions the user with the correct email and groups.

Important: Any contributions from the old account will show as “Former user” after deletion (expected behavior in Atlassian Cloud).

Hope this helps!

Suggest an answer

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

Atlassian Community Events