Answer: To isolate sessions per tenant with mode: "empty", always start the client or runtime in mode: "empty", use unique session IDs with ownership metadata stored in your application database, check ownership before resumeSession, deleteSession, or any UI action referencing a session ID, pass gitHubToken per session, register only the tools the session needs, and set sessionIdleTimeoutSeconds and delete completed workflow sessions explicitly. Status: Confirmed Entry: tool/github-copilot/admin-and-enterprise/sdk-session-isolation-empty-mode Revision: 3 Digest: sha256:c4ebfe80fb5aaf5d (changes whenever the content changes) Timeline: Created: 2026-11-13T03:29:06Z Last changed: 2026-11-18T13:05:02Z (idle timeout setting: — → sessionIdleTimeoutSeconds) Last verified: 2026-11-20T13:09:42Z Next check: 2026-11-21T13:09:42Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of mode | empty | [1] | 2026-11-20 session IDs | unique session IDs | [1] | 2026-11-20 ownership check | resumeSession , deleteSession | [1] | 2026-11-20 per-session token | gitHubToken | [1] | 2026-11-20 allowlist examples | custom:* or mcp:search_docs | [1] | 2026-11-20 idle timeout setting | sessionIdleTimeoutSeconds | [1] | 2026-11-20 Sources: [1] GitHub. "Multi-tenancy and server deployments - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/setup/multi-tenancy Role: primary. Accessed: 2026-11-20T13:09:42Z Quote: "Always start the client or runtime in mode: "empty" ." (Supports: mode) Quote: "Use unique session IDs and store ownership metadata in your application database." (Supports: session IDs) Quote: "Check ownership before resumeSession , deleteSession , or any UI action that references a session ID." (Supports: ownership check) Quote: "Pass gitHubToken per session when requests should run as the user." (Supports: per-session token) Quote: "prefer source-qualified allowlists such as custom:* or mcp:search_docs ." (Supports: allowlist examples) Quote: "Set sessionIdleTimeoutSeconds and delete completed workflow sessions explicitly." (Supports: idle timeout setting) Snapshot SHA-256: 6dbc64bdeac84865b2b3899cc72a8e9717530f92eac9c28ee9cd4042f97f4eb5 (captured 2026-11-18T13:05:02Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:05:02Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:09:42Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:09:42Z Last attempt: 2026-11-20T13:09:42Z Notes and limitations: Extracted automatically from a single official source (section "Pattern 2: shared CLI with mode: "empty""). Related: https://latestn.com/tool/github-copilot/admin-and-enterprise/search-audit-log-events How do I search GitHub Copilot audit log events? https://latestn.com/tool/github-copilot/admin-and-enterprise/seat-assignment How are GitHub Copilot seats assigned to users in an organization or enterprise? https://latestn.com/tool/github-copilot/admin-and-enterprise/secure-cloud-environment-enterprise How do I build a secure cloud environment for GitHub Copilot agents in my enterprise? https://latestn.com/tool/github-copilot/admin-and-enterprise/roll-out-copilot-app-to-team How do I roll out the GitHub Copilot app to my team? https://latestn.com/tool/github-copilot/admin-and-enterprise/runner-controls-permissions Who can use organization-level runner controls for GitHub Copilot cloud agent? https://latestn.com/tool/github-copilot/admin-and-enterprise/sdk-multi-tenancy-options How do I configure the GitHub Copilot SDK for multi-tenant server deployments? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:05:02Z | changed | idle timeout setting: — → sessionIdleTimeoutSeconds | [1] 2026-11-18T13:05:02Z | changed | allowlist examples: — → custom:* or mcp:search_docs | [1] 2026-11-18T13:05:02Z | changed | per-session token: — → gitHubToken | [1] 2026-11-18T13:05:02Z | changed | idle timeout: sessionIdleTimeoutSeconds → — | [1] 2026-11-18T13:05:02Z | changed | tool allowlist: custom:* or mcp:search_docs → — | [1] 2026-11-18T13:05:02Z | changed | token per session: gitHubToken → — | [1] 2026-11-18T13:05:02Z | changed | ownership check: Check ownership before resumeSession , deleteSession , or any UI action that references a session ID. → resumeSession , deleteSession | [1] 2026-11-16T12:53:44Z | changed | idle timeout: — → sessionIdleTimeoutSeconds | [1] 2026-11-16T12:53:44Z | changed | tool allowlist: — → custom:* or mcp:search_docs | [1] 2026-11-16T12:53:44Z | changed | session IDs: — → unique session IDs | [1] 2026-11-16T12:53:44Z | changed | idle timeout setting: sessionIdleTimeoutSeconds → — | [1] 2026-11-16T12:53:44Z | changed | allowlist examples: custom:* → — | [1] 2026-11-16T12:53:44Z | changed | ownership check: resumeSession → Check ownership before resumeSession , deleteSession , or any UI action that references a session ID. | [1] 2026-11-16T12:53:44Z | changed | session ID rule: unique session IDs → — | [1] 2026-11-13T03:29:06Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/admin-and-enterprise/sdk-session-isolation-empty-mode/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/admin-and-enterprise/sdk-session-isolation-empty-mode POST: https://latestn.com/dispute/tool/github-copilot/admin-and-enterprise/sdk-session-isolation-empty-mode with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/admin-and-enterprise/sdk-session-isolation-empty-mode?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I isolate sessions per tenant in the GitHub Copilot SDK using mode: "empty"? Revision 3, last verified 2026-11-20T13:09:42Z. https://latestn.com/tool/github-copilot/admin-and-enterprise/sdk-session-isolation-empty-mode (accessed 2026-11-21T09:59:51Z). @misc{LatestN_tool_github_copilot_admin_and_enterprise_sdk_session_isolation_empty_mode_r3, title = {How do I isolate sessions per tenant in the GitHub Copilot SDK using mode: "empty"?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/admin-and-enterprise/sdk-session-isolation-empty-mode}}, note = {Revision 3; digest sha256:c4ebfe80fb5aaf5d; last verified 2026-11-20T13:09:42Z; accessed 2026-11-21T09:59:51Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/admin-and-enterprise/sdk-session-isolation-empty-mode