Skip to content

Commit 70d14f9

Browse files
juihanamshet1CopilotSharra-writes
authored
Update proxy authentication instructions for VS (#39578)
Co-authored-by: Copilot <[email protected]> Co-authored-by: Sharra-writes <[email protected]>
1 parent 42923c1 commit 70d14f9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

content/copilot/how-tos/configure-personal-settings/configure-network-settings.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,16 @@ If you have configured a proxy but are still encountering connection errors, see
7171

7272
### Basic authentication
7373

74-
{% data variables.product.prodname_copilot_short %} for {% data variables.product.prodname_vs %} does not retrieve authentication credentials from the Windows settings. If you need to authenticate to a proxy, you can include your credentials in the proxy URL (for example: `http://USERNAME:[email protected]:5187/`), then set this URL as one of the supported environment variables listed in [Proxy settings for {% data variables.product.prodname_copilot_short %}](/copilot/concepts/network-settings-for-github-copilot#proxy-settings-for-copilot).
74+
While {% data variables.product.prodname_copilot_short %} for {% data variables.product.prodname_vs %} reads the proxy settings from Windows, it does not retrieve authentication credentials from those Windows settings.
75+
76+
If you need to authenticate to a proxy, you can try one of the below:
77+
1. Enable passing default proxy credentials by setting the environment variable `COPILOT_USE_DEFAULTPROXY` to `true`.
78+
- **Windows example**: Open the Command Prompt and run the following command:
79+
```
80+
setx COPILOT_USE_DEFAULTPROXY true
81+
```
82+
This sets the variable permanently for your user account. Restart any applications that need to use this variable.
83+
2. You can include your credentials in the proxy URL (for example: `http://USERNAME:[email protected]:5187/`), then set this URL as one of the supported environment variables listed in [Proxy settings for {% data variables.product.prodname_copilot_short %}](/copilot/concepts/network-settings-for-github-copilot#proxy-settings-for-copilot).
7584
7685
{% endvisualstudio %}
7786

0 commit comments

Comments
 (0)