So we've had a history of automatically assigning JIRA & Confluence rights to each new potential user of each customer of ours. This has resulted in several hundred accounts that have never been logged in to, but which are being charged against our OnDemand license count.
According to Atlassian's documentation, the OnDemand license count is incremented by each account that has access to an application.
So now I need to remove 400 accounts from having a specific application access. I see "Bulk Add Application Access", but I don't see "Bulk Remove Application Access"; there's no REST API call that references this that I can find and there's no SOAP/CLI reference either.
How do I address this without spending 4 hours of my life trying not to make a mistake in doing this manually?
If you go to User Management -> Application Access, you should be able to remove access in bulk by unchecking the box at the top of the page. You can search by groups/users and de-assign in chunks this way (and can bulk add to groups prior if this helps with the search functionality). Unfortunately that's the only way to bulk remove application access. Moving forward, I would suggest changing your Default Application Access so that you don't assign licenses to all new users.
Hope this helps!
No go, Dave.
if I uncheck all the boxes at the top of the page, I get "No application is selected"; if I try to set it so that only JIRA is selected, it tells me that "All users were successfully granted access to JIRA" but doesn't strip access to Confluence (not that such would solve my problem anyway.)
Actually, I looked at "Bulk Add Application Access" in my comment above - but it doesn't work your way, either. If I go to Application Access, I can only select 1 userID at a time through the search box, or I get to scroll down page after page of userIDs. Is there a way to have the search box search for multiple userIDs?
I have tested this in a test OnDemand instance and it was successful - for the group showing, if I uncheck the box at the top, it unchecks all boxes for the users underneath, and when I 'update' it shows that none of the users have that application access. I can add and remove from JIRA and Confluence this way.
I would suggest going to that page and unchecking just the Confluence box, doing an update, and seeing if those users have been removed from Application Access for Confluence. If this is failing, you should submit a ticket at support.atlassian.com with screenshots of what you're seeing.
Sorry to necro an old thread, but atlassian support will no longer remove users from a .csv file. I have written a powershell script that uses their rest api that will accomplish the same thing. You can check out the script here: http://pastebin.com/65jxustH. Just change the top two variables and run the script. The script will prompt you for your credentials.
Edit: Changed URL to Pastebin instead of Codeshare
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG