Share via

How to fix: 502 Bad Gateway Microsoft-Azure-Application-Gateway/v2 when trying to install add-ins

Bbh 5 Reputation points
2026-02-11T01:25:42.5066667+00:00

I am using a Mac and I am unable to install any add-ins. I specifically want Claude AI for Excel but every time I try to download I get this 502 error code. I have tried restarting my computer, deleting/redownloading Excel, trying the Add-in through Excel on the browser, and trying it on different networks. I have no firewalls or vpns on. Hoping to get this resolved quickly as I need it for an urgent project.

Microsoft 365 and Office | Excel | For home | MacOS
{count} vote

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-02-11T01:25:51.8466667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The 502 Bad Gateway error you are encountering when trying to install add-ins, including Claude AI for Excel, may be related to issues with the Azure Application Gateway. Here are some troubleshooting steps you can take:

    1. Check Network Configuration: Ensure that there are no network security groups (NSG), user-defined routes (UDR), or custom DNS settings that might be blocking access to the backend pool members.
    2. Backend Health: Verify that the backend virtual machines (VMs) or instances of the virtual machine scale set are responding to the default health probe. If they are not healthy, the gateway will return a 502 error.
    3. Custom Health Probes: If you have configured any custom health probes, ensure that they are set up correctly and are functioning as expected.
    4. Backend Pool Configuration: Make sure that the Azure Application Gateway's backend pool is properly configured and not empty.
    5. VM Health: Check that all VMs or instances in the virtual machine scale set are healthy and operational.
    6. Request Time-Outs: Investigate any request time-out or connectivity issues that might be affecting user requests.

    If these steps do not resolve the issue, you may want to reach out to Microsoft support for further assistance.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.