翻篇收录说明
翻篇网页快照

Troubleshoot GitHub Copilot - GitHub Copilot in SQL Server Management Studio | Microsoft Learn

https://learn.microsoft.com/en-us/ssms/github-copilot/troubleshoot

最近抓取:2026-12-06 02:10:19(北京时间)

最近内容变化:2026-11-30 05:06:57(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Learn how to troubleshoot GitHub Copilot in SQL Server Management Studio (SSMS).

正文摘录

Table of contents Exit editor mode Reading mode Table of contents Add Edit Copy Markdown Print Troubleshoot GitHub Copilot in SQL Server Management Studio Summarize this article for me This troubleshooting guide includes steps for resolving issues with GitHub Copilot in SQL Server Management Studio (SSMS) 22 or later. Some issues related to GitHub Copilot might require assistance from an administrator or your network team. GitHub Copilot is a separate subscription managed by GitHub. For questions regarding GitHub Copilot subscriptions and support, see Individual subscriptions or Business subscriptions. GitHub Copilot authentication If you experience authentication issues after installing the AI Assistance workload in the Visual Studio Installer, see Troubleshooting common issues with GitHub Copilot. GitHub Copilot is offline If the GitHub Copilot badge in the upper-right corner of SSMS displays the message Copilot is temporarily unreachable, it means GitHub Copilot is currently offline. GitHub Copilot might be offline due to one of the following reasons: Network issues Copilot service being unavailable Credentials requiring a refresh Copilot being disabled If you run into an issue that's not in this list, report your problem to us. Network issues If your network is down, GitHub Copilot might not be able to connect. Action: Ensure you have a stable internet connection. For more information, see Troubleshooting network errors for GitHub Copilot. Copilot service is unavailable The GitHub Copilot service might be temporarily down. Action: Wait for the service to come back online. You can check the status on GitHub Status. Refresh your credentials Occasionally, you might need to refresh your credentials due to expected timeouts. Action: Select Refresh your credentials from the Copilot badge in the upper right corner of your SSMS environment to reauthenticate your GitHub account and sign in again. Note If you don't see the option to refresh your credentials for the GitHub account in the All Accounts window, you can resolve this issue by removing and then adding your GitHub account again. For more information, see the Developer Community ticket related to this issue. Copilot is disabled Your administrator might have disabled GitHub Copilot through Group Policy or restricted your access through GitHub organization or enterprise settings. For more information, see Admin controls for GitHub Copilot in SQL Server Management Studio. Action: Contact your IT department to confirm whether administrative policies or GitHub access settings prevent you from using Copilot. GitHub Copilot in SSMS shares Group Policy settings with Visual Studio, so policies configured for Visual Studio also affect SSMS. Log files GitHub Copilot in SSMS writes log files to the following paths: %TEMP%\VSGitHubCopilotLogs %LOCALAPPDATA%\ssmscopilot %LOCALAPPDATA%\Microsoft\SSMS\22.0_*\SSMSGitHubCopilot Monitor queries from GitHub Copilot To monitor what queries GitHub Copilot in SSMS runs, set up an Extended Events session and filter on client_app_name. To capture queries generated based on prompts entered in the chat window, use Microsoft SQL Server Management Studio - GitHub Copilot for the client_app_name. To capture queries generated for code completions, use Microsoft SQL Server Management Studio - Copilot Completions for the client_app_name. Send feedback Report a problem to us from SSMS (Help > Send Feedback > Report a Problem...) or the Visual Studio Installer. The built-in feedback tool from both applications makes it easy to add diagnostic information that helps the SSMS team troubleshoot and fix issues. Suggest a feature, track product issues, and find answers on the SSMS feedback site. Related content Troubleshooting network errors for GitHub Copilot Troubleshooting firewall settings for GitHub Copilot Install GitHub Copilot in SQL Server Management Studio Use GitHub Copilot for free in SQL Server Management Studio Feedback Was this page helpful? Yes No Need help with this topic? Want to try using Ask Learn to clarify or guide you through this topic? Suggest a fix? Last updated on 2026-11-09