A user revokes access to a connected app mid-session. How should the AI workflow behave?

Instruction: Describe how you would handle changing authorization during an active AI session.

Context: Tests how the candidate diagnoses the problem, chooses the safest next step, and reasons through recovery. Describe how you would handle changing authorization during an active AI session.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

The way I'd think about it is this: The workflow should treat revocation as a live authorization change, not as an inconvenience to work around. Any pending or future tool actions against that app should stop immediately and return a clear, user-facing explanation that access is no longer valid.

I also...

Related Questions