These guides assume that you have set up and configured one of the supported Identity Providers, currently https://kantega-sso.atlassian.net/wiki/spaces/USERCLEANUP/pages/edit-v2/1706819592#File-export-in-Microsoft-Entra-ID :
Problem description
If you’re using User Provisioning with IDP-synchronized groups to assign licenses, you may encounter the following circular problem with User Cleanup:
User Cleanup removes product access for users in Jira/Confluence.
Removed Jira/Confluence users will automatically regain access during the next synch with your Identity Provider.
Solution options
To avoid this problem and enable license removal for users in IDP-synchronized groups, you have two options:
Manage all product access groups in Atlassian: Shift your licensing groups to be managed directly through Atlassian.
Set up an identity provider (IDP) within the app: By configuring an IDP, our User Cleanup app can generate CSV files listing users who need to be removed from an identity group. You can then remove these users using scripts or the IDP’s bulk removal tools.
This guide explains how to do option 2 for the currently supported IDPs:
File export in Microsoft Entra ID
Configure what apps come from Entra ID.
Select Microsoft Entra ID action in the cleanup creation form.
Go to the Scheduleing and Cleanup page -> History
Export data
button for the cleanup in questionA Dialog appears
Click on the Identity provider exports option if it exists
If it does not exist the cleanup did not have any users that should be affected in the cleanup.
Download the CSVs for the groups you would want to do bulk actions on the users
Bulk remove users from groups Entra ID through the interface
Go to portal.azure.com login to your org. Go to the Group you want to remove the user from. It should have the same name in Atlassian and Entra ID.
Click Bulk operations → Remove members.
Upload the file
Hit submit
It will start a background service and give you a report when it is done.