Answer: In VS Code, open settings and search for "enterprise", set the Github-enterprise: Uri setting to your GitHub URL (for example https://octocorp.ghe.com), then search for "copilot" and under "GitHub > Copilot: Advanced" click Edit in settings.json and add "authProvider": "github-enterprise" inside the github.copilot.advanced property. Save the file, then click Sign in to GitHub when prompted and follow the prompts to authorize your account. Status: Confirmed Entry: tool/github-copilot/install-and-setup/authenticate-ghecom-vscode Revision: 3 Digest: sha256:836605450c4be992 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:25:37Z Last changed: 2026-11-19T12:58:27Z (Keyboard shortcut (Mac): — → Command + ,) Last verified: 2026-11-20T13:04:42Z Next check: 2026-11-21T13:04:42Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of authProvider value | github-enterprise | [1] | 2026-11-20 Enterprise URI setting | Github-enterprise: Uri | [1] | 2026-11-20 Example URL | https://octocorp.ghe.com | [1] | 2026-11-20 Settings location | GitHub > Copilot: Advanced | [1] | 2026-11-20 Sign-in button | Sign in to GitHub | [1] | 2026-11-20 Keyboard shortcut (Mac) | Command + , | [1] | 2026-11-20 Sources: [1] GitHub. "Using GitHub Copilot with an account on GHE.com - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/set-up-copilot/authenticate-to-ghecom Role: primary. Accessed: 2026-11-20T13:04:42Z Quote: "add "authProvider": "github-enterprise"" (Supports: authProvider value) Quote: "For the Github-enterprise: Uri setting, enter the URL where you access GitHub." (Supports: Enterprise URI setting) Quote: "For example: https://octocorp.ghe.com ." (Supports: Example URL) Quote: "Under "GitHub > Copilot: Advanced," click Edit in settings.json ." (Supports: Settings location) Quote: "Click Sign in to GitHub , then follow the prompts to authorize your account." (Supports: Sign-in button) Quote: "press Command + , (Mac) or Ctrl + , (Windows)" (Supports: Keyboard shortcut (Mac)) Snapshot SHA-256: 5ffeed54b6f0e5934b88ef9ffaf2d79e00309604ded4c4ba92480be2ae89703f (captured 2026-11-18T12:59:16Z) 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-18T12:59:15Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:04:42Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:04:42Z Last attempt: 2026-11-20T13:04:42Z Notes and limitations: Extracted automatically from a single official source (section "Authenticating from VS Code"). Related: https://latestn.com/tool/github-copilot/install-and-setup/azure-managed-identity-prerequisites What are the prerequisites for using Azure Managed Identity with BYOK in the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/install-and-setup/browser-use-prerequisites What are the prerequisites for using browser use with GitHub Copilot CLI? https://latestn.com/tool/github-copilot/install-and-setup/browser-use-prerequisites-2 What are the prerequisites for using GitHub Copilot browser use in my IDE? https://latestn.com/tool/github-copilot/install-and-setup/authenticate-ghecom-cli How do I authenticate GitHub Copilot with a GHE.com account from the command line? https://latestn.com/tool/github-copilot/install-and-setup/authenticate-ghecom-jetbrains How do I authenticate GitHub Copilot with a GHE.com account in JetBrains IDEs? https://latestn.com/tool/github-copilot/install-and-setup/authenticate-ghecom-visual-studio How do I authenticate GitHub Copilot with a GHE.com account in Visual Studio? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:58:27Z | changed | Keyboard shortcut (Mac): — → Command + , | [1] 2026-11-19T12:58:27Z | changed | Example URL: — → https://octocorp.ghe.com | [1] 2026-11-19T12:58:27Z | changed | Enterprise URI setting: — → Github-enterprise: Uri | [1] 2026-11-19T12:58:27Z | changed | Windows shortcut: Ctrl + , → — | [1] 2026-11-19T12:58:27Z | changed | Mac shortcut: Command + , → — | [1] 2026-11-19T12:58:27Z | changed | Settings search term (copilot): copilot → — | [1] 2026-11-19T12:58:27Z | changed | Settings search term (enterprise): enterprise → — | [1] 2026-11-19T12:58:27Z | changed | GHE.com URL example: https://octocorp.ghe.com → — | [1] 2026-11-17T13:21:35Z | changed | Windows shortcut: — → Ctrl + , | [1] 2026-11-17T13:21:35Z | changed | Mac shortcut: — → Command + , | [1] 2026-11-17T13:21:35Z | changed | GHE.com URL example: — → https://octocorp.ghe.com | [1] 2026-11-17T13:21:35Z | changed | Keyboard shortcut (Mac): Command + , → — | [1] 2026-11-17T13:21:35Z | changed | Example GHE.com URL: https://octocorp.ghe.com → — | [1] 2026-11-13T03:25:37Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/install-and-setup/authenticate-ghecom-vscode/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/install-and-setup/authenticate-ghecom-vscode POST: https://latestn.com/dispute/tool/github-copilot/install-and-setup/authenticate-ghecom-vscode with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/install-and-setup/authenticate-ghecom-vscode?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I authenticate GitHub Copilot with a GHE.com account in VS Code? Revision 3, last verified 2026-11-20T13:04:42Z. https://latestn.com/tool/github-copilot/install-and-setup/authenticate-ghecom-vscode (accessed 2026-11-21T09:54:51Z). @misc{LatestN_tool_github_copilot_install_and_setup_authenticate_ghecom_vscode_r3, title = {How do I authenticate GitHub Copilot with a GHE.com account in VS Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/install-and-setup/authenticate-ghecom-vscode}}, note = {Revision 3; digest sha256:836605450c4be992; last verified 2026-11-20T13:04:42Z; accessed 2026-11-21T09:54: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/install-and-setup/authenticate-ghecom-vscode