...
The PAC file uses shell expressions. These are more widely supported by platforms other than Windows, including iOS. Use of regexes may cause unexpected behavior.
The PAC file is written to catch all single level subdomains of teams.microsoft.com (e.g. config.teams.microsoft.com) but not two level subdomains (e.g. api.flightproxy.teams.microsoft.com). Exceptions to this rule are explicitly specified (e.g.
*.ng.msg.teams.microsoft.com
).
Adding a catch all subdomain rule will cause undesired behavior (e.g.shExpMatch(host, "*.teams.microsoft.com")
Note that the proxy address is specified on line 5 only.
...