You can use Google Apps Script to find all the inactive user accounts in your Google Workspace domain. The script will find all the users…