Study guide
Ce contenu n’est pas encore disponible dans votre langue.
Study guide for chapter 16 of the Securing Salesforce: Identity and Access course. Read the six modules first; this page helps you check what stuck.
About this study guide. It’s built only from this course’s own content and the published Salesforce exam guide’s list of objectives. It is never based on real exam questions, and it doesn’t claim to know what’s on the exam. If you’ve taken the exam, please don’t send me questions from it: the certification agreement forbids sharing them, and memorizing answers is the wrong way to become an architect anyway.
This chapter carries three of the Identity and Access Management Architect exam’s objectives, one from each of three sections: troubleshooting common single sign-on failure points (Identity Management Concepts, 17% of the exam); auditing and monitoring approaches, and tools to diagnose issues (Accepting Third-Party Identity in Salesforce, 21%); and tools to audit and verify user activity during and after login (Access Management Best Practices, 15%). The exam guide aligns to Summer ‘23. Check its current version before you book.
For the Exam
Section titled “For the Exam”Tick them off as you go. Each one links to where it’s taught.
A method (supports IDC-5)
- I get in through the back door before I look for the cause. (Three questions, in this order)
- I ask who is affected, how many, and since when, and know what each answer usually points to. (Three questions, in this order)
- I know Salesforce’s advice: Login History first, then the Federation ID, the assertion and the identity provider’s logs. (Salesforce’s own order)
The logs (supports TPI-5 and AMB-3)
- I know what Login History records, for the org and its sites, and that it keeps 6 months. (Login History)
- I know what Identity Verification History records: what triggered it, the method, the status. (Identity Verification History)
- I know the Identity Provider Event Log is where to look when Salesforce is the identity provider. (The Identity Provider Event Log)
On the wire (supports IDC-5)
- I can capture a SAML assertion and compare it with the setting, or use the validator. (SAML: catch the assertion)
- I know OAuth errors come back to the callback URL or in the token endpoint’s answer, and the common codes. (OAuth: read the error the app got)
- I know JIT errors come back in the URL, with a code. (Just-in-time provisioning: the error is in the URL)
- I know a handler’s failure needs its debug log, with a trace flag set first. (Your own code: the debug log)
The usual failures (supports IDC-5)
- I can name the likely cause from the symptom: a Federation ID that differs in case or a space, a callback URL mismatch, a user not approved for the app, an expired or revoked token, a license limit. (When it’s one user, When it’s one app)
Audit (supports AMB-3 and TPI-5)
- I know Session Management shows who’s logged in now, and can end a session. (Who is logged in right now?)
- I know the Setup Audit Trail records changes to the door, for 180 days. (Who changed the door?)
- I know what Shield or the Event Monitoring add-on adds, and that it’s an add-on. (What the add-on adds)
Acting at the door (supports TPI-5)
- I know a LoginEvent policy can block, ask for MFA or notify, and that MFA becomes a block for API logins. (What it can do)
- I can choose between a login policy, a login flow and a session security level. (A policy, a login flow, or a session level?)
Beyond the Exam
Section titled “Beyond the Exam”The exam is the floor, not the ceiling. These are the habits from this chapter that an architect needs, whether or not a question ever asks about them.
- Get in first, every time, and check the back door before the bad day.
- Change one thing at a time, and wait a few minutes after a change to a new app before you change another.
- Keep one page for every door: symptom, where it shows, cause, fix.
- Download what you must keep before Salesforce’s horizon: 6 months, 180 days.
- Know who reads the other side’s logs, and how to reach them.
- Put dates on one calendar: certificates, token policies, license headroom, Salesforce’s enforcement dates.
- Treat a captured assertion or token as a secret.
- Watch a login policy before it blocks anyone, notifications only at first, and keep at least one user on Salesforce’s own login outside it.
Words to Know
Section titled “Words to Know”| Term | In one line |
|---|---|
| Login History | Every login to the org and its sites, success or the failure’s name; 6 months |
| Identity Verification History | Every time Salesforce asked someone to prove who they are; 6 months |
| Identity Provider Event Log | Logins Salesforce vouched for or refused as the identity provider; the 50 most recent |
| Setup Audit Trail | Changes to Setup, including the door; 180 days |
| Session Management | Who’s logged in now, and the power to end a session |
| SAML Tracer | A browser extension that shows the SAML messages as they pass |
| SAML Assertion Validator | Checks an assertion against the single sign-on setting |
redirect_uri_mismatch | The callback URL the app sent isn’t exactly one on the app |
invalid_grant | The OAuth error with many causes; read the description after it |
| Trace flag | What tells Salesforce to write a debug log, for a user or a class |
| Event Monitoring | An add-on (or part of Shield) for login and other events, log files and transaction security |
| LoginEvent policy | A transaction security rule that blocks, asks for MFA, or notifies on a login |
Check Yourself
Section titled “Check Yourself”Short scenarios in the style of the course. Decide your answer before you open it.
1. Monday morning, nobody can log in through single sign-on. The admins use single sign-on too. What's the first problem?
Nobody can get in to look. Before anything else, someone needs the back door: an admin with a Salesforce password and MFA, the My Domain login page, ?login. That’s why the back door is set up before the bad day: in a larger or critical org, at least one user, usually on one profile, maybe a couple of users, who can bypass single sign-on and use Salesforce’s own login, still locked down with MFA and IP restrictions. In a small org of ten users, the extra license may not be worth it. Reread Three questions, in this order and A rule at the door can lock the door.
2. Everyone stopped logging in through single sign-on on Tuesday. Nobody admits to changing anything. Where do you look?
“Since a date” usually means a change. The Setup Audit Trail shows changes to SAML settings, certificates and My Domain, for 180 days. And check the identity provider’s side: its certificate, its clock. Reread Three questions, in this order and Who changed the door?.
3. One user can't log in by single sign-on. Her colleagues can. Her Federation ID looks right. What would you check, exactly?
The Federation ID character by character, against the Subject in her assertion: “a difference in case or whitespace will cause login to fail.” Then whether she has the permission for single sign-on. Reread When it’s one user.
4. A user says she can't log in, and Login History shows nothing for her at all. What does that tell you?
The request never reached Salesforce as her. Usually the username: a typo, an old one saved in the browser, invisible characters. With single sign-on, the identity provider may have stopped her first. Reread Salesforce’s own order.
5. A developer moves a web app to a new domain, and every login now fails before the user is asked anything. What's the likely error, and where?
redirect_uri_mismatch, sent back on the redirect. The callback URL the app now sends isn’t exactly one on the app. Add the new one, exactly. Reread OAuth: read the error the app got.
6. Just-in-time provisioning has worked for a year. This week, new hires can't get in; existing users can. What would you suspect?
The license limit: JIT error 11. Nobody changed a setting; the licenses ran out. Reread When it’s the people you didn’t expect.
7. Security wants every login from outside the company's countries to need MFA, and an alert. A nightly integration logs in through the API from a cloud server abroad. What happens to it?
With a LoginEvent policy using the MFA action, an API login can’t do MFA, so the action is upgraded to Block: the integration stops. Exclude it by its conditions, or choose a different design. And the policy needs Shield or the Event Monitoring add-on. Reread What it can do.
8. An auditor asks which admins logged in as customers on the site last quarter. Where do you start?
The Setup Audit Trail, which records admins logging in to a site as its users, within its 180 days; with the add-on, LoginAsEvent. Reread Who logged in as someone else?.
Explore
Section titled “Explore”- How to Troubleshoot SSO Login Issues for a User in Salesforce (opens in a new tab), Salesforce knowledge article (checked 2026-11-21)
- Salesforce Certified Platform Identity and Access Management Architect Exam Guide (opens in a new tab), Salesforce Help (checked 2026-11-21)
The official list of objectives and their weights. Always check the current version before you book an exam.
