Script repository
Add direct members of groups to unmanaged accounts
The script adds enabled and not expired users who are members of specific groups to the unmanaged accounts list. When adding users, only direct membership in the groups is taken into account.
Updated on: Jan 18, 2026, Views: 8897
Add guest users located in specific Organizational Units to unmanaged accounts
The script adds enabled and not expired guest users located in particular Organizational Units to unmanaged accounts.
Updated on: Jan 18, 2026, Views: 4462
Add users located in specific Organizational Units to unmanaged accounts
The scripts add enabled and not expired users located in specific Organizational Units to the unmanaged accounts list.
Updated on: Jan 18, 2026, Views: 9714
Add users not located in certain Organizational Units to the unmanaged list
The script adds enabled and not expired user accounts not located in certain Organizational Units to the unmanaged list.
Updated on: Jan 18, 2026, Views: 8409
Add users that are not members of groups to the unmanaged list
The script adds users who are not members of specific groups to the unmanaged list. When adding users, only direct membership in the groups is taken into account.
Updated on: Jan 18, 2026, Views: 5187
Add users to unmanaged list based on criteria or LDAP filter
The script adds all users matching the specified criteria or LDAP filter to the unmanaged list.
Updated on: Jan 18, 2026, Views: 2125
Remove user with specific username from the unmanaged accounts list
The script removes the user with the specified user principal name from the unmanaged accounts list.
Updated on: Jan 18, 2026, Views: 1690