MS Teams App and Video: Proxy

%3CLINGO-SUB%20id%3D%22lingo-sub-310259%22%20slang%3D%22en-US%22%3EMS%20Teams%20App%20and%20Video%3A%20Proxy%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-310259%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20are%202%20Proxies%20that%20my%20organisation%20uses%20(I%20have%20no%20control%20whatsoever%20over%20them%20or%20the%20rules)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EProxy%3A%20.X1%20allows%20Outlook%20app%20to%20connect%20to%20server%2C%20to%20function.%20It%20also%20allows%20Teams%20to%20function%20but%20NOT%20with%20video%20conferencing.%3C%2FP%3E%3CP%3EProxy%3A%20.X2%20allows%20for%20full%20Teams%20functionality%20but%20cuts%20off%20Outlook%20connection.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20PAC%20is%20like%20the%20below%20but%20it%20is%20not%20being%20taken%20up%20by%20Teams.%20Is%20there%20a%20way%20to%20direct%20Teams%20(or%20in%20fact%20Outlook)%20to%20a%20different%20proxy%20from%20the%20one%20specified%20in%20Internet%20Options%26gt%3BConnections%26gt%3BLAN%20Settings%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3Efunction%20FindProxyForURL(url%2C%20host)%3CBR%20%2F%3E%7B%3CBR%20%2F%3Eif%20(%3CBR%20%2F%3EdnsDomainIs(host%2C%20%22*.teams.microsoft.com%22)%3CBR%20%2F%3E)%3CBR%20%2F%3Ereturn%20%22XX.XX.XX.X2%3A8080%22%3B%3CBR%20%2F%3Eelse%20%7B%20return%20%22PROXY%20XX.XX.XX.X1%3A8080%3B%20DIRECT%22%3B%7D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%3CBR%20%2F%3E%26nbsp%3B%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-310259%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOutlook%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-310301%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Teams%20App%20and%20Video%3A%20Proxy%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-310301%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20recommendation%20is%20to%20bypass%20proxies%2C%20Microsoft%20have%20a%20list%20with%20Office%20365%20URLs%20and%20IP%20Addresses%26nbsp%3Bthat%20you%20can%20use%2C%20there%20is%20also%20a%20custom%20PAC%20file%20that%20you%20can%20use%20to%20bypass%20proxy.%20You%20probably%20will%20get%20issues%20with%20audio%2Fvideo%20calls%20in%20Teams%20if%20the%20traffic%20have%20to%20pass%20a%20proxy%20server.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fconnectivity-issues%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fconnectivity-issues%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fenterprise%2Fnetworking-configure-proxies-firewalls%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fenterprise%2Fnetworking-configure-proxies-firewalls%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOutlook%20and%20Teams%20will%20use%20the%20proxy%20settings%20that%20you%20set%20in%20Internet%20Options%20and%20I%20think%20that%20you%20can't%20specify%20a%20specific%20proxy%20for%20each%20application.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

There are 2 Proxies that my organisation uses (I have no control whatsoever over them or the rules)

 

Proxy: .X1 allows Outlook app to connect to server, to function. It also allows Teams to function but NOT with video conferencing.

Proxy: .X2 allows for full Teams functionality but cuts off Outlook connection.

 

My PAC is like the below but it is not being taken up by Teams. Is there a way to direct Teams (or in fact Outlook) to a different proxy from the one specified in Internet Options>Connections>LAN Settings

 

function FindProxyForURL(url, host)
{
if (
dnsDomainIs(host, "*.teams.microsoft.com")
)
return "XX.XX.XX.X2:8080";
else { return "PROXY XX.XX.XX.X1:8080; DIRECT";}
}

 
1 Reply
Highlighted

Hi,

 

The recommendation is to bypass proxies, Microsoft have a list with Office 365 URLs and IP Addresses that you can use, there is also a custom PAC file that you can use to bypass proxy. You probably will get issues with audio/video calls in Teams if the traffic have to pass a proxy server.

https://docs.microsoft.com/en-us/microsoftteams/connectivity-issues

https://docs.microsoft.com/en-us/microsoft-365/enterprise/networking-configure-proxies-firewalls

 

Outlook and Teams will use the proxy settings that you set in Internet Options and I think that you can't specify a specific proxy for each application.