MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.08k stars 21.13k forks source link

Proxy exceptions not documented #122651

Closed t-h-oebb closed 3 weeks ago

t-h-oebb commented 1 month ago

for us, AMA extensions try to also use the proxy for requests to localhost. As of May 2024, there is no documented way on how to add proxy exceptions. However, after much try and error I found a solution that seems to work:

xxx [ ~ ]$ cat proxy.json 
{
  "proxy": {
    "mode": "application",
    "address": "http://<proxy>",,
    "noProxy": "localhost,127.0.0.1", 
    "auth": false
  }
}
xxx [ ~ ]$

usage via --settings parameter:

az connectedmachine extension update \
    --name ChangeTracking-Linux \
    --machine-name$machine \
    --resource-group $rg \
    --settings proxy.json \
    --subscription $subscription

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

TPavanBalaji commented 1 month ago

@t-h-oebb Thanks for your feedback! We will investigate and update as appropriate.

AaronMaxwell commented 3 weeks ago

Thanks for your dedication to our documentation. This issue has been moved to an internal work item for triage and prioritization. Thanks in advance for your understanding as we investigate to provide the most accurate documentation updates. #please-close

Internal work item: https://dev.azure.com/msft-skilling/Content/_workitems/edit/262458

Please also note that GitHub documentation issues are being phased out completely. For more information see: https://aka.ms/ContentUserFeedback.

Our support team is available to assist you if you have any pressing questions or problems that need to be resolved. You can create a support ticket by visiting the following link: https://azure.microsoft.com/support/create-ticket/

You may also ask support questions to our Q&A forums or on Stack Overflow when the questions are related to coding.