For owners and operations leads without an admin
Your Salesforce admin left. Nobody knows how it works.
What worries you is what still runs under that person’s login: scheduled jobs, integrations, error emails. Here are twelve things to find this week, where each lives in Setup, with a query where Setup needs one. Your ticks stay in this browser, and no event sends them anywhere.
What should you do in the first week after a Salesforce admin leaves?
Find out what you have before anyone changes anything. Stop the departed admin’s login without deleting the user, list everyone who can change everything, and find what runs under that person’s name: scheduled jobs, integrations and error emails. Then read what changed recently and who logged in. Most of the twelve items below take minutes each, and none of them change the org.
The twelve things
01Who is a System Administrator
- Why it matters
- Every admin login can change anything
- Where in Setup
- Users, sorted by Profile
- Query
- SOQL
SELECT Username, LastLoginDate FROM User WHERE IsActive = true AND Profile.Name = 'System Administrator'
02Who holds Modify All Data
- Why it matters
- It reaches every record, whatever the profile is called
- Where in Setup
- Permission Sets and Profiles
- Query
- SOQL
SELECT Assignee.Name, PermissionSet.Label, PermissionSet.IsOwnedByProfile FROM PermissionSetAssignment WHERE PermissionSet.PermissionsModifyAllData = true AND Assignee.IsActive = true
03The departed admin’s user: frozen, not deleted
- Why it matters
- Freezing stops the login and leaves what the user owns in place
- Where in Setup
- Users, the user record, Freeze
- Query
- SOQL
SELECT UserId, IsFrozen FROM UserLogin WHERE IsFrozen = true
04Scheduled jobs and who owns them
- Why it matters
- A job owned by the person who left keeps running, or stops, under that name
- Where in Setup
- Scheduled Jobs
- Query
- SOQL
SELECT CronJobDetail.Name, CronJobDetail.JobType, OwnerId, NextFireTime FROM CronTrigger WHERE State != 'DELETED'
05Integrations signed in as a person
- Why it matters
- If they sign in as the person who left, they break the day that user is turned off
- Where in Setup
- Connected Apps OAuth Usage
- Query
- SOQL
SELECT User.Name, AppName, LastUsedDate FROM OauthToken
06Named credentials
- Why it matters
- Where the org stores the address and login of another system
- Where in Setup
- Named Credentials
- Query
- SOQL
SELECT DeveloperName, Endpoint FROM NamedCredential
07Active flows and who last changed them
- Why it matters
- The automation nobody has described yet
- Where in Setup
- Flows
- Query
- SOQL
SELECT ApiName, Label, ProcessType, LastModifiedBy, LastModifiedDate FROM FlowDefinitionView WHERE IsActive = true
08What changed in Setup recently
- Why it matters
- Who changed what, and when, before anyone asks
- Where in Setup
- View Setup Audit Trail
- Query
- SOQL
SELECT Action, Section, CreatedBy.Name, CreatedDate FROM SetupAuditTrail ORDER BY CreatedDate DESC
09Who logged in, from where
- Why it matters
- Logins from users and systems nobody expected
- Where in Setup
- Login History
- Query
- SOQL
SELECT UserId, LoginTime, SourceIp, Application, Status FROM LoginHistory WHERE LoginTime = LAST_N_DAYS:30
10Where error emails go
- Why it matters
- If they go to the person who left, failures are silent
- Where in Setup
- Apex Exception Email; Process Automation Settings
11Installed packages and their licences
- Why it matters
- A package nobody remembers is still one somebody pays for
- Where in Setup
- Installed Packages
12Licences in use and the renewal date
- Why it matters
- The renewal is the date a decision gets forced
- Where in Setup
- Company Information; the renewal date is on your Salesforce contract
Who should do this if nobody inside can?
Somebody who can read an org without changing it. If your team can run the twelve checks above, do it yourself: the page is written for that. If not, the first month of support goes on finding them and writing down what each one means for you, before any change is made. If what worries you is the data rather than the setup, the one day check measures that.
What reading an org can find
In a shared org, another business’s sales team could open a client’s deals and payments. Nobody saw it on a screen. A count found it, and access was closed in dependency order, with the client’s team.
The departed admin’s user
Should we deactivate the departed admin’s user straight away?
Freeze it first, and deactivate later. A frozen user cannot log in, and nothing the user owns is reassigned or deleted. Before you freeze, run items 4 and 5 above: a scheduled job or an integration that signs in as that person may stop either way, and you want the list of what would stop before it happens, not after.
Replace, share or keep?
Once the twelve are written down, count the hours the org needed in an ordinary month. A steady full week means replacing the admin with a hire; a few hours most weeks means sharing it with a fractional admin, part of one person’s time on a fixed monthly plan; almost nothing means keeping the org as it is and checking it once a year. For the numbers behind each answer, see how many hours does an org need.
Tell me how many of the twelve you found.
Zoom, 15 minutes, no slides. The calendar loads only when you press the button and shows open times in your own time zone.
What happens after the first call?
A 15 minute call settles whether the work is needed at all. If it is, most existing orgs start with the one day check: read only, a written verdict and a costed order of work, credited in full against any engagement booked within sixty days of delivery. Anything larger gets a written scope with a fixed price before it starts, and nothing is paid before you sign it.
- The call. 15 minutes on Zoom: the symptom, what it costs you, the likely cause and the next step.
- The check. €650, one working day, delivered within three working days. A read only user, or four report exports.
- The scope. A fixed price in writing. Half is invoiced when you sign, half when the stage is accepted.
- The work. In your own org, sandbox first wherever the org has one, documented as it is built.
