Former-provisioned Managed Accounts can't be reactivated in Bulk

XMLWordPrintable

    • 6
    • Severity 3 - Minor

      Summary

      Accounts that were previously provisioned and deactivated through the IdP, are not able to be reactivated in bulk through the Managed Accounts page.

      When directly accessing the user's profile, and clicking the Reactivate Account button, the account is reactivated. So it's specifically related to the Reactivate button on Managed Accounts.

      This does not happen for users that were deactivated but weren't provisioned.

      How to Replicate

      1. Provision a user through an IdP.
      2. Deactivate the user through the IdP.
      3. Delete the user from the SCIM directory or delete the SCIM configuration.
      4. Go to admin.atlassian.com > Directory > Managed Accounts. 
      5. Mark the deactivated user and hit the reactivate button. 
      6. A pop-up is shown the user is reactivated, but you'll see the user remains in a deactivated state. 

      Expected Results

      Users should get "Reactivated"

      Actual Results

      Users remain in "Deactivated" status.

      Looking at the developer tools it seems the endpoint activate (https://admin.atlassian.com/gateway/api/users/XXXXXX/activate) is not being called. This could be due to the members endpoint (https://admin.atlassian.com/gateway/api/adminhub/organization/XXXXX/members) returning the attribute "active" as "Blocked":

       "active": "BLOCKED",
      

      Workaround

      In Managed Accounts, view the User's profile, and click the Reactivate Account button to reactivate the account.

        1. image-2023-07-10-15-10-30-421.png
          149 kB
          Lawrence Li
        2. image-2023-07-10-15-17-09-483.png
          52 kB
          Lawrence Li
        3. Screen Recording 2023-06-28 at 08.48.25_2023-06-28T12_09_32.253Z.mov
          53.88 MB
          Kenneth De Coster

            Assignee:
            Srividya Ramaswamy
            Reporter:
            Kenneth De Coster
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: