TTechclick ⚡ XP 0% All lessons
BeyondTrust · Password Safe · Discovery & OnboardingInteractive · L1 / L2 / L3

Password Safe Discovery & Auto-Onboarding: — Smart Rules That Find Every Account

Day one of PAM is not vaulting passwords — it is finding the 400 admin accounts nobody remembers creating. This lesson takes you from a discovery scan to fully managed accounts using Smart Rules, the auto-sorting engine of Password Safe, without breaking a single service on rotation day.

📅 2026-06-10 · ⏱ 13 min · 3 live demos · 4 infographics · 🏷 10-Q assessment + AI Tutor inline

🎯 By the end you will be able to

Read as:

Pick where you want to start

1

Find the unknowns

Scan credentials, address groups, and results without noise.

2

Smart Rule pipeline

IF criteria → THEN actions — a real rule, step by step.

3

Platform patterns

Windows, AD, Linux, devices, databases — and dependencies.

4

Scale without storms

Crown jewels first, exclusions, break-glass stays out.

🧠 Warm-up — 3 questions, no score

Just notice which ones make you pause. We answer all three inside the lesson.

1. A discovery scan reports "Completed" on all 200 servers. Does that mean every local admin account was found?

Answered in Find the unknowns.

2. What does Password Safe use to automatically onboard the accounts discovery finds?

Answered in Platform patterns.

3. Your sealed break-glass domain admin account — should it be in auto-rotation?

Answered in Smart Rule pipeline.

Most engineers think…

Most engineers think onboarding is a one-time import — pull a server list from the CMDB, load it into the vault during the project, done.

Wrong — the estate drifts every single week. New VMs clone golden-image admins, teams mint service accounts, someone racks a Jenkins box under a desk. Real Password Safe onboarding is a pipeline: scheduled discovery keeps finding, Smart Rules keep matching and onboarding, exclusions keep break-glass accounts out. Build the pipeline once and Friday’s new server is Monday’s managed system — no spreadsheet, no ticket.

① Why discovery comes first — you cannot vault what you cannot see

Meera, an L2 engineer at Flipkart, gets a one-line audit question: “How many accounts can log in as an administrator on these 300 servers?” Honest answer: nobody knows. There is the local Administrator cloned onto 60 VMs from one golden image (same password everywhere), a service account created by an engineer who left in 2023, and a Jenkins box at 192.168.7.23 that never made it into the CMDB. PAM projects fail at this step — not at vaulting. You cannot rotate, broker or audit a credential you have never seen.

BeyondTrust’s answer is the Discovery Scanner — the docs call it “the engine that performs all discovery scans”. Think of it as a census enumerator going door-to-door: it visits every house (IP) in its area (address group), lists residents (accounts) and house details (services, software), and only then can the government issue ration cards (onboarding). One more thing the docs are strict about — the setup steps “must be completed in the order presented”: functional account → password policy → discover/add assets → managed systems → managed accounts → Smart Rules. You cannot onboard accounts until you have onboarded systems, and you cannot onboard accounts at all without a functional account for that platform.

👉 So far: discovery is the census that makes everything else possible, and the setup order is fixed — functional account first. Next: the three ingredients of a scan.
Figure 1 — Discovery turns the unknown estate into a managed inventory
Left: three unknown systems in red — a Windows server with a golden-image local Administrator, a Linux database box with a stale service account, and a shadow-IT Jenkins machine with no owner. Centre: the Discovery Scanner authenticates with a true local-admin scan credential, mounting the IPC dollar share and making WMI and remote-registry calls. Right: the same machines land in the BeyondInsight Assets grid as enumerated inventory. A lime strip warns that a Completed status does not guarantee enumerated data. Discovery: from the estate nobody mapped → a managed inventory the estate nobody mapped WIN-APP-114 · 10.20.8.114local Administrator — golden imagesame password on 60 clones LIN-DB-07 · 10.20.9.31root + svc-oraclepassword last changed in 2022 shadow Jenkins · 192.168.7.23no owner — domain creds inside jobsnot in the CMDB at all Discovery Scannerships in every Resource Brokerand U-Series appliance scan credential = true local adminIPC$ share · WMI · remote registry authenticatedsweep — not passive enumerated → BeyondInsight → Assets WIN-APP-114 Windows ✔LIN-DB-07 Linux ✔JENKINS-SHDW Unknown ✔ per asset: local accounts, services,scheduled tasks, ports, users← this detail is the whole point Completed status ≠ enumerated data.If local accounts and services are empty, the scan credential silently lacked admin rights (UAC / firewall / NTLM). unknown/untrustedtrusted/vaultedpolicy/decisionkey insightmanaged/audited
Read left to right: red boxes are the accounts nobody mapped; the amber scanner authenticates with a true local-admin credential (it is NOT passive); the blue Assets grid is the enumerated result. The lime strip is the trap — Completed status alone proves nothing.

A scan needs three ingredients. (1) A scan credential — created at Configuration > Discovery Management > Credentials → Create New Credential (fields: Credential Name, Type), stored AES-256 and pushed to the scanner. On Windows targets this account must be a true local admin: the scanner mounts the IPC$ admin share, makes remote WMI and registry calls, and drops a small discovery-agent service. (2) An address group — the IP ranges to sweep. Keep them segment-sized (one /24 at a time, like 10.20.8.0/24), not “the whole 10.0.0.0/8”. (3) A schedule — off-hours, repeating, because discovery is a heartbeat, not a one-off. In Password Safe Cloud the scanner ships inside every Resource Broker; on-prem it runs from the U-Series appliance.

🖥️ This is where the scan credential lives — BeyondInsight → Configuration → Discovery Management → Credentials → Create New Credential. (Recreated for clarity — your console matches this.)
bi.flipkartlab.local · Configuration → Discovery Management → Credentials
1
Credential Name
scan-win-tier1
2
Type
Windows
Domain
FLIPKARTLAB
3
Username
svc-scan
Password
••••••••••••
4
Storage
AES-256, propagated to scanners
Create Credential
Common mistake — the scan that lies

Symptom: the scan reports Completed successfully, but hours later the asset shows no services, no local accounts, no software. Cause: the scan account was not a working local admin on those targets — UAC remote restrictions (LocalAccountTokenFilterPolicy), Windows Firewall or NTLM hardening silently blocked IPC$ and WMI. The scan “visited” but the door stayed shut. Fix: test an IPC$ connect and a remote WMI call manually from the scanner host, turn on advanced scanner logging, and work through BeyondTrust KB0017022.

Reading results without drowning: open the Assets grid and resist the urge to onboard everything. First, leave the Software collection checkbox OFF unless you need it — BeyondInsight 24.3 made that the default because software collection “often slows scans or causes failures”. Then hunt three red flags: the same-named local admin on many boxes (golden-image twins), service accounts with multi-year-old passwords, and assets nobody can name an owner for. Those three lists are your first onboarding waves — everything else can wait.

Pause & Predict

Predict: the scan swept 10.20.8.0/24 and reports Completed on all 200 hosts — but 90 of them show zero local accounts. The scan credential is a domain user in the “Server Operators”-style readers group. What happened? Type your guess.

Answer: The credential was never a true local admin on those 90 hosts, so IPC$/WMI enumeration silently failed while the ping-and-port part “completed”. Discovery scans are authenticated, not passive — fix local-admin rights (GPO), UAC remote restrictions and firewall rules, then rescan and confirm accounts/services actually populated.
Quick check · Q1 of 10

Sneha at Infosys says: “I gave the scanner a plain domain user — discovery is read-only anyway, right?” Why is she wrong?

Correct: b. Discovery authenticates to every target as a local admin: IPC$ share, remote WMI/registry, a small agent service. A plain user makes the scan “complete” with hollow results. Domain Admin is overkill (and bad hygiene) — a delegated local-admin scan account is the pattern; time of day changes nothing.

The four nouns of onboarding

Tap each card — every sentence in this lesson stands on these four.

🛰️
Discovery Scanner
tap to flip

The engine that sweeps address groups and enumerates assets + accounts. Authenticated, not passive. So: its credential decides data quality.

🔑
Functional account
tap to flip

The worker credential PS uses to change other passwords. Created FIRST, never checked out, never managed itself. So: no FA, no onboarding.

🖥️
Managed system
tap to flip

A computer or device where passwords are maintained — Windows, Linux, network devices, databases, directories. So: systems before accounts.

👤
Managed account
tap to flip

The credential PS stores and rotates on a managed system. So: this is the thing Smart Rules onboard for you.

② From found to managed — the Smart Rule onboarding pipeline

Found is not managed. Discovery fills the Assets grid; the conversion to vaulted, rotating credentials is done by Smart Rules — Password Safe’s auto-sorting office. Mumbai dabbawala logic: every tiffin (account) carries a code (its attributes), and the sorter (rule) reads the code and routes it to the right train (Smart Group) — automatically, every day, including tiffins that appear next month. With a Password Safe license there are four rule types: Asset, Managed Account, Managed System, Policy User. The classic chain is an Asset Smart Rule that turns discovered assets into managed systems, then a Managed Account Smart Rule that onboards the accounts on them.

Anatomy of any rule, from the left menu Smart Rules → + Create Smart Rule: Selection Criteria (the IF) and Actions (the THEN), with a Reprocessing Limit in the Details section. For Managed Account rules the criteria menu includes Directory Query, Dedicated Account, Microsoft Entra ID Query and Directory Attribute Match. The action strings you will use daily: “Manage Account Settings” (the onboarding workhorse), “Show managed account as Smart Group”, “Link domain accounts to Managed Systems” and “Map Dedicated Accounts to” a user group.

👉 So far: rules are IF + THEN, four types, and Manage Account Settings is the onboarding workhorse. Next: build one for real.
Figure 2 — IF the criteria match, THEN the actions fire
Discovery results flow into a Smart Rule, which has two parts: Selection Criteria as the IF (asset Smart Group plus account name), and Actions as the THEN (Manage Account Settings to onboard, link the functional account, apply a password policy, show as Smart Group). Output is a managed account with rotation scheduled. A red panel below warns that two Smart Rules matching the same accounts with different actions overwrite each other in an endless loop. The onboarding pipeline: IF criteria → THEN actions Discovery resultsassets (systems)+ local accounts+ directory accountsfound, not yet managed Smart Rule — Onboard · Server-OU local admins IF — Selection Criteriaasset in Smart Group: Servers OUAND account name = Administrator THEN — ActionsManage Account Settings → onboardlink FA-win-rotate + Tier1-30day policyShow managed account as Smart Group Managed accountWIN-APP-114\Administratorvaulted · auto-managedfirst rotation 23:30 UTCvisible in its Smart Group re-processes on: save · timer expiry · asset changes · manual Process — throttle with Reprocessing Limit Two rules, same accounts, different actions → they "start continually overwriting each other"settings flip forever, processing load spikes — one rule owns one population, use exclusions unknown/untrustedtrusted/vaultedpolicy/decisionkey insightmanaged/audited
Follow the flow: discovery results enter the rule, the amber IF pane filters (asset group + account name), the green THEN pane onboards, links the functional account and applies the password policy. The red panel is the documented failure mode — two rules fighting over one population.

Build the rule: Server-OU local Administrators, step by step

  1. Name it for ownershipOnboard – Server OU local Administrators. One rule = one account population; the name should say which.
  2. Type: Managed Account.
  3. Selection Criteria (IF): asset belongs to the Smart Group for the Servers OU, AND account name equals Administrator.
  4. Action 1 — Manage Account Settings: onboard the account, link functional account FA-win-rotate, apply password policy Tier1-30day, enable automatic password management.
  5. Action 2 — Show managed account as Smart Group: this is what you will assign access policies and permissions against later.
  6. Details → Reprocessing Limit: once a day is plenty for a stable OU. Hit Create Smart Rule — and remember the docs: a Smart Rule is always processed when first saved or updated, so it runs right now.
🖥️ This is the screen you’ll build it on — BeyondInsight → Smart Rules → + Create Smart Rule. Selection Criteria on top, Actions below, Reprocessing Limit in Details. (Recreated for clarity — your console matches this.)
bi.flipkartlab.local · Smart Rules → Create Smart Rule
1
Name
Onboard – Server OU local Administrators
2
Smart Rule type
Managed Account
3
Selection Criteria
Asset Smart Group: Servers OU + Account name: Administrator
4
Action
Manage Account Settings → FA-win-rotate + Tier1-30day
Action
Show managed account as Smart Group
Reprocessing Limit
Once a day
Create Smart Rule

▶ Watch one account go from found to managed

One freshly discovered Windows server, one Smart Rule, four stages. Press Play for the healthy path, then Break it to see the failure.

① ScanDiscoveryScanner sweeps 10.20.8.0/24 → finds WIN-APP-114 + local Administrator
② MatchSmart Rule IF: asset in Servers OU group AND name = Administrator → TRUE
③ ActTHEN: onboard · link FA-win-rotate · apply Tier1-30day policy
④ Managedvaulted → first rotation at 23:30 UTC · visible in its Smart Group
Press Play to step through the healthy path. Then press Break it.

The processing model explains 90% of “why did that happen” tickets. A rule processes when it is created or edited and saved, when its timer expires, when asset changes are detected, or when you click Process on the Smart Rules grid. Directory-backed rules come with a documented patience warning: “There can be delays when a Smart Rule depends on external data source, such as LDAP.” Also: built-in rules carry a lock icon and cannot be deleted, and a rule referenced by another rule cannot be deleted or deactivated.

Common mistake — “my settings keep reverting”

Symptom: Karthik edits an account’s release duration directly on the Managed Accounts page; next morning it is back to the old value. Cause: the account was onboarded by a Smart Rule with Manage Account Settings — and “the settings in a Smart Rule override the settings configured on the managed system” on every reprocess. Fix: change it inside the Smart Rule, not on the account.

Quick check · Q2 of 10

Karthik at HCL sets Default Release Duration to 240 minutes on an account, saves, and finds it reverted by morning. Most likely cause?

Correct: c. Rule overrides account: a Smart Rule’s Manage Account Settings wins on every reprocess, so direct edits silently revert. 120 minutes is only the default, not a hard limit (range goes to 525,600); a rollback or a phantom admin would not recur nightly the way rule reprocessing does.

Pause & Predict

Predict: your new Directory-Query Smart Rule has shown 0 members for three hours. Is it broken? Type your guess.

Answer: Probably not — rules that depend on an external directory (LDAP/Entra ID) are documented to process slowly. Click Process on the Smart Rules grid to force a run, verify the query scope (OU path, filters) actually matches accounts, confirm the functional account is set for the target systems, and only then dig into logs.
Password Safe REST API — sign in and list what is already managed (BI appliance 10.20.5.40)
# 128-char API key comes from your BeyondInsight API registration
export PS_KEY=$(cat ~/.ps_api_key)

curl -sk -X POST -c ps.cookies \
  -H "Authorization: PS-Auth key=$PS_KEY; runas=FLIPKARTLAB\svc-psapi;" \
  https://10.20.5.40/BeyondTrust/api/public/v3/Auth/SignAppIn

curl -sk -b ps.cookies \
  https://10.20.5.40/BeyondTrust/api/public/v3/ManagedSystems
Expected output
{"UserId":12,"UserName":"svc-psapi","Name":"PS API service user"}
[{"ManagedSystemID":54,"SystemName":"WIN-APP-114","WorkgroupID":1},
 {"ManagedSystemID":55,"SystemName":"LIN-DB-07","WorkgroupID":1}, ...]

③ Onboarding patterns per platform — and the dependency trap

One pipeline, five flavours. A managed system can be “a computer or device where one or more account passwords are to be maintained” — Windows, Unix/Linux, network devices, databases, firewalls, routers, even LDAP/AD domains. What changes per platform is (a) what the functional account needs (set via its required Entity Type and Platform fields at Configuration > Privileged Access Management > Functional Accounts) and (b) which criteria select the accounts.

Figure 3 — Pick the onboarding pattern by platform
Five columns compare onboarding for Windows local admins, Active Directory domain accounts, Linux root and service accounts, network devices, and databases. Each column lists what the functional account needs, the Smart Rule criteria to use, and the production watch-out in red. A footer reminds readers to map dependencies before the first rotation. Pick the onboarding pattern by platform Windows local FA needslocal admin on target(domain FA via GPO ok) criteriaasset Smart Group+ name: Administrator ⚠ watch-out60 golden-image twins:same name, separateaccount per system AD domain FA needsdelegated pwd-reset +lockout attr — NOTDomain Admin criteriaDirectory Queryon the OU / group ⚠ watch-outprotected groups stripdelegated rights —extra AD steps Linux root/svc FA needsSSH login + root orsudo elevation inplatform settings criteriaaccount name root,svc-* patterns ⚠ watch-outnever onboard the FAitself — passwords failto synchronize Network device FA needsdevice admin roleover SSH criteriaplatform + addressgroup (172.16.30.0/24) ⚠ watch-outprompt mismatch oncustom platformsbreaks rotation (F5!) Database FA needsDB login withpassword-change rights criteriamostly MANUAL —admins report no SmartRules for DBs ⚠ watch-outapp connection stringsare hiddendependencies Rule of thumb: map dependencies BEFORE the first rotation — rotating svc-backup updates 14 services, not 1.
Read each column top to bottom: what the functional account needs, which Smart Rule criteria to use, and the red watch-out that bites in production. Databases get a red header for a reason — admins report that part stays manual.

Windows local admins are the classic first wave: criteria = asset Smart Group + account name Administrator, functional account = a domain account holding local-admin rights via GPO (or a local FA per box on standalone systems). Remember the golden-image trap: 60 clones share a name and a password, but each is a separate local account on a separate system — onboarding makes each one unique on the next rotation, which is exactly the win. AD domain accounts ride a Directory Query, and the FA needs only delegated password-reset plus lockout-attribute read/write rights — not Domain Admin. One nuance: members of protected groups (think Domain Admins) have delegated rights stripped by AD itself, so vaulting those needs extra AD-side steps.

👉 So far: Windows = name-match waves, AD = directory queries with a delegated (not Domain Admin) FA. Next: Linux, devices, databases — then the trap that breaks Monday mornings.

Linux root and service accounts: the FA logs in over SSH as a normal user and needs root privilege or sudo elevation configured in the platform settings; criteria are usually account-name patterns (root, svc-*). And tattoo this on your wrist: never onboard the functional account itself as a managed account — BeyondTrust’s own guidance says passwords “could fail to synchronize”, which means every rotation on that platform dies at once. Network devices (routers, firewalls) onboard by platform + address group; the field gotcha is prompt-matching on custom platforms — one wrong prompt regex and an F5 BIG-IP rotation fails with “Thread was interrupted from a waiting state”. Databases: the FA is a DB login with password-change rights, but plan hands-on time — practitioners on PeerSpot report database onboarding stays largely manual (“no Smart Rules for databases”, as one reviewer put it).

Dependent systems — the propagation preview

Here is the trap that separates L1 from L2. svc-backup is an AD service account — and it is also the logon identity of Windows services on 14 servers, two IIS app pools and a scheduled task. Rotate it in AD alone and nothing breaks immediately… until each service restarts, tries the cached old password, and dies with logon failures (and enough failures can lock the account domain-wide). Password Safe models this with linked accounts — the Smart Rule action “Link domain accounts to Managed Systems” ties the domain account to every system that uses it, so rotation can propagate the new secret to each dependent service. The full propagation mechanics are lesson 6; your onboarding job is to capture the map now.

PowerShell on a candidate server — find every service that logs on as svc-backup (do this BEFORE onboarding)
Get-CimInstance Win32_Service |
  Where-Object { $_.StartName -like "*svc-backup*" } |
  Select-Object Name, StartName, State
Expected output
Name          StartName               State
----          ---------               -----
VeeamAgent    FLIPKARTLAB\svc-backup  Running
SQLAgent$BK   FLIPKARTLAB\svc-backup  Running
ArchiveTask   FLIPKARTLAB\svc-backup  Stopped

Rahul at Wipro faces this

Rahul onboards a fresh AD service account and clicks a forced password change to test it. It fails instantly with: “Password change failed. Error: Value cannot be null. (Parameter ‘identityValue’)”.

Likely cause

Password Safe could not resolve the account’s SID in the directory — the account was renamed, re-created, sitting in a different domain than the managed system’s mapping, or not yet replicated. The rotation engine asked AD “who is this?” and got nothing.

Diagnosis

Treat it as an identity-resolution problem, not a password problem: confirm the account exists at the exact directory path the rule queried, and that the managed system’s domain mapping matches.

BeyondInsight > Smart Rules > Onboard – AD service accounts > Process (re-run the Directory Query), then Managed Systems > the system > Go to Advanced Details (check domain mapping)
Fix

Re-onboard the account from the correct directory path (fix the Directory Query OU/filters), correct the managed system’s domain association, and let the rule reprocess.

Verify

Run the forced change again — it completes; the account’s last-changed timestamp updates, and the Password Change Agent log shows a clean change with no identityValue error.

Pause & Predict

Predict: for a Linux box, the functional account signs in over SSH as a normal user. What two things must be true before it can rotate root’s password? Type your guess.

Answer: One — elevation: the FA needs root privilege or sudo elevation configured in the platform settings, because a normal user cannot change root’s password. Two — the FA itself must stay unmanaged: onboard it as a managed account and its own rotation desynchronises the credential PS depends on, killing every rotation on that platform.
Quick check · Q3 of 10

ICICI plans to rotate svc-backup, an AD service account used as the logon identity by services on 14 servers. What must onboarding have captured for that rotation to be safe?

Correct: a. Windows services cache the credential they were configured with; AD never pushes password changes to them. The “Link domain accounts to Managed Systems” action captures the dependency map so rotation can update every consumer. Converting to local accounts destroys the shared identity and solves nothing.

④ Scaling + hygiene — crown jewels first, no rotation storms

Aditya at ICICI has 6,000 discovered accounts and a project manager asking “why aren’t they all vaulted yet?”. The senior answer is phasing. Wave 0: a 20-system pilot to prove scan → rule → rotation end-to-end. Wave 1: crown jewels — domain admin accounts, the AD functional accounts’ home platforms, Tier-0 infrastructure — because that is where breach impact lives. Wave 2: server local admins and mapped service accounts. Wave 3: the long tail (workstations, lab boxes). Risk drops fastest per hour of work, and every wave teaches you something the next one needs.

Now the storm warning. With automatic password management enabled, an account’s password is set on onboarding and changed at the next scheduled rotation — default ChangeTime 23:30 UTC. Onboard 6,000 accounts on Friday evening with auto-management on, and that night Password Safe attempts thousands of changes at once: unmapped service accounts break, the Password Change Agent retry queue (“Retry failed changes after (minutes)”, “Maximum retries”) silently swells, and Monday’s helpdesk melts. The fix is boring and beautiful: onboard in waves, map dependencies first (section ③), stagger change times across waves, and watch the failed-changes queue like a hawk after each one.

👉 So far: phase by blast-radius, and never let day one and rotation one be the same day for 6,000 accounts. Last piece: what you deliberately keep OUT.

Exclusions are a design feature, not an afterthought. Three things stay out of your auto-onboarding rules: (1) break-glass accounts — the sealed emergency admin is the fire-alarm glass box: it must work when Password Safe itself is down, so it is vaulted and alerted-on but kept OUT of auto-rotation, and rotated manually after every use; (2) the functional accounts (you know why by now); (3) any population another rule already owns — overlapping rules with different actions is the documented endless-overwrite loop. Build the exclusion into the rule criteria itself (name patterns, OU exceptions) so a future teammate cannot “accidentally fix” it.

Figure 4 — Onboarding decision card
A nine-tile cheat sheet covering the documented setup order, scan-account rights, Smart Rule anatomy and types, functional-account rules per platform, dependency mapping, phased rollout, exclusions including break-glass accounts, and the defaults worth memorising such as the 23:30 UTC change time, 120-minute release duration, and the public API base path. Onboarding decision card — pin this above your desk Setup orderFA → policy → assets →systems → accounts → rules Scan accounttrue local admin:IPC$ · WMI · remote registry Rule anatomyIF criteria + THEN actions ·the rule overrides account edits 4 rule typesAsset · Managed Account ·Managed System · Policy User Functional accountdelegated AD rights · sudo onLinux · NEVER managed itself Dependenciesservices · tasks · app pools —map BEFORE the first rotation Phase the rolloutcrown jewels → servers →long tail · pilot every wave Exclusionsbreak-glass OUT of rotation ·one rule per population Defaults to recallchange 23:30 UTC · release 120 minAPI /BeyondTrust/api/public/v3 scan → match → onboard → link FA + policy → map dependencies → phase the rollout → exclude break-glass unknown/untrustedtrusted/vaultedpolicy/decisionkey insightmanaged/audited
Your one-card map of the lesson — setup order, scan rights, rule anatomy, platform FAs, dependencies, phasing, exclusions and the defaults interviewers love (23:30 UTC, 120 minutes, /BeyondTrust/api/public/v3).
Password Safe REST API — verify the wave actually landed (domain-linked accounts)
curl -sk -b ps.cookies \
  "https://10.20.5.40/BeyondTrust/api/public/v3/ManagedAccounts?type=domainlinked"
Expected output
[{"ManagedAccountID":301,"AccountName":"svc-backup","DomainName":"FLIPKARTLAB","ManagedSystemID":54},
 {"ManagedAccountID":302,"AccountName":"svc-report","DomainName":"FLIPKARTLAB","ManagedSystemID":61}]
# Empty list but the accounts exist? Check "Enable for API Access" on each
# account and that your runas user holds a Requestor or ISA role on them.
Prove you own onboarding

Take any platform — say “40 Juniper routers on 172.16.30.0/24” — and answer cold: which scan credential and rights? Which Smart Rule type and criteria? Which functional account and password policy do the actions link? What are the dependencies, and what is excluded? If you can run that drill for Windows, AD, Linux, devices and databases, you can run a real rollout.

Interview + cert angle

“Walk me through onboarding 1,000 servers” is a stock BeyondTrust interview question — answer with the pipeline (scan → Asset rule → Managed Account rule → phased waves → exclusions) and you sound like you have done it. The BeyondTrust University Password Safe Administration cert exam is 40 questions, 75% to pass, and only two attempts — Smart Rules and setup order are core blueprint territory.

Pause & Predict

Predict: a teammate onboards all 6,000 accounts on Friday at 7 PM with automatic password management enabled and default settings. What happens at 23:30 UTC, and what do you check on Monday? Type your guess.

Answer: A rotation storm: thousands of simultaneous change jobs fire at the default ChangeTime. Service accounts with unmapped dependencies fail their dependent services on next restart, and failed changes pile into the Password Change Agent retry queue. Monday checklist: the failed-changes queue, locked-out service accounts in AD, and which Smart Rule lacked dependency links — then re-plan in waves.
Quick check · Q4 of 10

Which account should be deliberately EXCLUDED from auto-onboarding with auto-rotation — by design, not by oversight?

Correct: d. Break-glass accounts exist for the day the PAM platform (or the network to it) is unavailable — auto-rotation could leave you locked out during the exact emergency it exists for. Vault it, alert on any use, rotate manually afterwards. Local admins, root and DBA logins are precisely what auto-rotation IS for.
🎮 Hands-on: BeyondTrust PAM Essentials roomRecap: Password Safe architecture

🤖 Ask the AI Tutor

Tap any question — instant, scoped to this lesson. No login, no waiting.

Pre-curated from BeyondTrust docs + community Q&A, scoped to this lesson. For a live prod issue, paste your export into chat.techclick.in.

📝 Wrap-up assessment — six more

You've answered 4 inline. Six left. 70% (7 of 10) marks the lesson complete on your profile. Tap Submit all answers at the end.

Q5 · Remember

Per the documented Password Safe setup order, which object must exist FIRST — before any account can be onboarded from a managed system?

Correct: c. The docs put the functional account at step 1 and state accounts cannot be onboarded from a system without one — it is the credential PS uses to do the managing. Access policies govern checkout later; managed accounts are the OUTPUT of onboarding; Jump Clients belong to PRA, not Password Safe onboarding.
Q6 · Apply

Priya at ICICI must auto-onboard the local Administrator account on every server in the Servers OU, linking functional account FA-win-rotate and a 30-day password policy. What does she build?

Correct: a. That is the canonical chain: assets become managed systems (Asset rule), then accounts onboard via a Managed Account rule whose Manage Account Settings action links the functional account and policy. Discovery alone only fills the Assets grid; Policy User rules manage user/group membership, not accounts; manual per-server onboarding does not scale and defeats the rule engine.
Q7 · Apply

Karthik changes a managed account’s Default Release Duration directly on the account page. Next morning it shows the old value again. What is the correct move?

Correct: d. Smart Rule settings override managed-system/account settings on every reprocess — direct edits silently revert. Restarting services changes nothing; Max Release Duration is a different ceiling, not the default; the Password Change Agent handles rotations, not settings, and disabling it just breaks password changes.
Q8 · Analyze

Accounts keep flipping between two Smart Groups all day, their settings change back and forth, and rule processing load is pegged. Root cause?

Correct: b. BeyondTrust documents this exact failure: overlapping rules with different actions “will start continually overwriting each other” — membership and settings ping-pong forever. Scan frequency affects discovery, not group flipping; a locked FA fails rotations (not group membership); change-time collisions cause slow rotations, not setting flips.
Q9 · Analyze

A discovery scan says Completed on every host, yet half the new assets show no local accounts or services. Most likely cause?

Correct: d. Completed status reports that the scan executed, not that enumeration succeeded — blocked IPC$/WMI access returns hollow assets, exactly the community-reported pattern (KB0017022). A licence failure errors loudly; large address groups slow scans rather than blanking specific hosts; the Software checkbox slows scans but does not erase account data.
Q10 · Evaluate

Two rollout designs for 6,000 discovered accounts: (A) onboard everything on day one with automatic password management on, defaults everywhere; (B) phased waves — pilot, then crown jewels — with dependencies mapped per wave, staggered change times, and break-glass accounts excluded. Which is stronger, and why?

Correct: b. Design A converts onboarding day into rotation-storm night: thousands of simultaneous changes, unmapped service accounts breaking on restart, a swelling Password Change Agent retry queue — and a rotated break-glass account is a lockout waiting for an outage. B sequences risk reduction, proves the pipeline on a pilot, and treats exclusions as design. Smart Rules automate matching, not consequences.
Lesson complete — saved to your profile.
Almost! You need 70% (7 of 10) — re-read the path that tripped you up and tap "Try again".

🧠 In your own words

Type one line: In one line: why must a functional account exist before a single account can be onboarded from a system? Then compare to the expert version.

Expert version: Because the functional account is the worker credential Password Safe itself uses on that system to change other accounts’ passwords — without it the platform can see accounts (discovery) but cannot manage them, which is why the docs put it at step 1 and block account onboarding without one.

🗣 Teach a friend

Best way to lock it in — explain it in one line to a teammate. Tap to generate a paste-ready summary.

📖 Glossary

Discovery Scanner
The engine that performs all discovery scans and feeds assets into Password Safe; ships inside every Resource Broker and U-Series appliance.
Address group
The named set of IP ranges a discovery scan sweeps — keep them segment-sized to control noise and runtime.
Scan credential
The account the scanner authenticates with (Configuration > Discovery Management > Credentials); stored AES-256; needs true local admin on Windows targets.
Smart Rule
IF Selection-Criteria + THEN Actions automation that continuously re-evaluates and onboards/links assets and accounts. Four types: Asset, Managed Account, Managed System, Policy User.
Smart Group
The dynamic grouping a Smart Rule exposes (action: Show managed account as Smart Group) — what you assign access policies and permissions against.
Functional account
The worker credential Password Safe uses on a managed system to change other accounts’ passwords; created first, never checked out, never managed itself.
Managed system
A computer or device where Password Safe maintains account passwords — Windows, Unix/Linux, network devices, databases, directories.
Managed account
The privileged credential Password Safe stores and rotates on a managed system.
Directory Query
Smart Rule criteria that pulls matching accounts from AD/LDAP/Entra ID; external-data rules are documented to process slower.
Linked (domain) account
A domain account tied to managed systems via the Link domain accounts to Managed Systems action, so rotation propagates to dependent services.
Reprocessing Limit
Details-section throttle on how often a Smart Rule reprocesses (e.g., once a day) — protects processing capacity on big estates.
Break-glass account
Sealed emergency admin credential deliberately kept OUT of auto-rotation so it works even when Password Safe is down; alert on use, rotate manually after.

📚 Sources

  1. BeyondTrust Docs — Password Safe Getting Started (canonical setup order: functional account → password policy → assets → systems → accounts → Smart Rules; core definitions). docs.beyondtrust.com/bips/docs/ps-getting-started
  2. BeyondTrust Docs — Password Safe Smart Rules (types, Selection Criteria, exact action strings, processing triggers, Reprocessing Limit, the endless-overwrite-loop and LDAP-delay warnings). docs.beyondtrust.com/bips/docs/ps-smart-rules
  3. BeyondTrust Docs — BeyondInsight Discovery (Discovery Scanner role; Configuration > Discovery Management > Credentials; AES-256 credential storage). docs.beyondtrust.com/bips/docs/bi-on-prem-discovery-scans
  4. BeyondTrust Docs — BeyondInsight & Password Safe API (PS-Auth header, Auth/SignAppIn, ManagedSystems/ManagedAccounts endpoints; defaults: release 120 min, max 525600, ChangeTime 23:30 UTC). docs.beyondtrust.com/bips/reference/beyondinsight-and-password-safe-api-usage · docs.beyondtrust.com/bips/v24.3/docs/password-safe-api
  5. BeyondTrust Beekeepers community — discovery scan reports success but returns no services/accounts data (scan-account rights, UAC/NTLM/firewall, KB0017022). beekeepers.beyondtrust.com/general-40/discovery-scan-issue-6424
  6. BeyondTrust Beekeepers community — rotation fails with “Value cannot be null (Parameter identityValue)” = SID not resolvable in the directory. beekeepers.beyondtrust.com/general-40/managed-account-failed-to-rotate-password-value-cannot-be-null-6847
  7. BeyondInsight 24.3 release notes — Software collection checkbox now unchecked by default (slowed/failed scans); Domain Account Linking Smart Rule redesigned for performance. docs.beyondtrust.com/bips/changelog/beyondinsight-24-3-0
  8. BeyondTrust University — Get Certified (Password Safe Administration: 40-question exam, 75% pass, two attempts) — the cert/job angle for PAM admin roles. beyondtrust.com/services/beyondtrust-university/get-certified

What's next?

Vaulting an account is step one — keeping its password moving without breaking the 14 services that use it is the real game. Next: rotation policies, propagation to dependent systems, and SSH keys.