Edge Application Guard Proxy via PAC file

%3CLINGO-SUB%20id%3D%22lingo-sub-1382902%22%20slang%3D%22en-US%22%3EEdge%20Application%20Guard%20Proxy%20via%20PAC%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1382902%22%20slang%3D%22en-US%22%3E%3CP%3ELooking%20for%20some%20more%20docs%2Fhelp%20on%20WDAG%20setting%20for%20Edge.%20I%20can't%20get%20application%20guard%20to%20utilize%20my%20proxy%20PAC%20file%20for%20edge%20chromium.%20The%20old%20Edge%20will%20detect%20and%20use%20the%20PAC%20file%20when%20in%20application%20guard%20mode.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%20look%20at%26nbsp%3Bedge%3A%2F%2Fapplication-guard-internals%23host%20it%20shows%20it%20using%20a%20PAC%20file%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%7B%22pac_url%22%20%3A%20%22%3CA%20href%3D%22http%3A%2F%2Fpath-to-pac-file.pac%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fpath-to-pac-file.pac%3C%2FA%3E%22%20%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20with%20version%20of%20edge%2084%20or%20higher%20and%20the%20GPO%20only%20applies%20to%20this%20version%2B%20of%20edge%20to%20get%20the%20GPO%20settings%20in%20the%20admx%20file%26nbsp%3B%20%3A%20computer%20settings-%26gt%3Badmin%20settings%26gt%3B-edge-%26gt%3BApplication%20Gaurd.%26nbsp%3B%20This%20should%20set%20the%20proxy%20just%20for%20the%20application%20guard%20container.%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20have%20also%20tired%20with%20the%20network%20isloation%20settings%20with%20ip%20literal%20address%20(confusing%20wording%20they%20used)%2C%20and%20also%20auto%20settings%20and%20it%20appears%20not%20to%20use%20the%20pac%20file.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20it%20help%20i%20am%20using%20Zscaler%20as%20my%20proxy.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20other%20log%20file%20anywhere%20for%20the%20application%20guard%20container.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20else%20got%20a%20pac%20file%20to%20work%20in%20application%20guard%20container%20for%20chromium%20edge.%26nbsp%3B%20Can%20i%20see%20what%20GPO%20settings%20you%20have.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1383078%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%20Application%20Guard%20Proxy%20via%20PAC%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1383078%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F663992%22%20target%3D%22_blank%22%3E%40Jeff-678%3C%2FA%3E%26nbsp%3BHi!%20The%20ApplicationGuardContainerProxy%20GPO%20is%20brand%20new%20(not%20in%20Stable%20channel%20yet)%2C%20so%20the%20documentation%20for%20it%20is%20still%20being%20worked%20on.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20a%20PAC%20script%2C%20that%20GPO%20should%20be%20set%20to%20something%20like%20the%20following%3A%20%7B%22ProxyMode%22%3A%22pac_script%22%2C%22ProxyPacUrl%22%3A%22%3CA%20href%3D%22http%3A%2F%2Fexample.com%2Fwdag_pac_script.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fexample.com%2Fwdag_pac_script.js%3C%2FA%3E%22%7D%20(including%20the%20braces).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%20this%20policy%20is%20only%20if%20you%20want%20a%20*different*%20PAC%20script%20for%20WDAG%20(vs%20the%20host).%20If%20this%20policy%20isn't%20set%2C%20WDAG%20will%20pick%20up%20and%20use%20whatever%20proxy%20is%20configured%20for%20the%20host.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%2C%20if%20the%20PAC%20script%20resolves%20to%20a%20proxy%2C%20it%20needs%20to%20resolve%20to%20a%20named%20proxy%20(not%20an%20IP)%20--%20this%20applies%20with%20or%20without%20the%20ApplicationGuardContainerProxy%20policy%20configured.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1383544%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%20Application%20Guard%20Proxy%20via%20PAC%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1383544%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F555006%22%20target%3D%22_blank%22%3E%40Scott_Sheehan%3C%2FA%3E%26nbsp%3B%20%26nbsp%3Bahh%2C%20Thanks%20for%20the%20info%20%22%3CSPAN%3Ethis%20is%20a%20new%20requirement%20of%20the%20new%20Edge%20that%20didn't%20apply%20to%20Legacy%20Edge)%22%3C%2FSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIt%20was%20a%20Zscaler%20PAC%20file%20issue.%20Zscaler%20will%20return%20the%20nearest%20proxy%20based%20upon%20geolocation%2Fetc%2C%20but%20returns%20in%20IP%20format.%26nbsp%3B%20%26nbsp%3BUpdate%20the%20PAC%20file%20to%20send%20FNDN%20proxy%20by%20changing%20the%20%24GATEWAY%20to%20%24GATEWAY_HOST%20in%20proxy%20PAC.%26nbsp%3B%20%26nbsp%3B%20Looks%20like%20it%20is%20working%20based%20upon%20initial%20testing.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1383130%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%20Application%20Guard%20Proxy%20via%20PAC%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1383130%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F555006%22%20target%3D%22_blank%22%3E%40Scott_Sheehan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20I%20have%20have%20that%20Syntax%20in%20my%20GPO%20%22%7B%22ProxyMode%22%3A%22pac_script%22%2C%22ProxyPacUrl%22%3A%22%3CA%20href%3D%22https%3A%2F%2Fgcc02.safelinks.protection.outlook.com%2F%3Furl%3Dhttp%253A%252F%252Fexample.com%252Fwdag_pac_script.js%26amp%3Bdata%3D02%257C01%257CBennyhoffJ%2540cityofmerced.org%257C34cbb3d898f34a84b39208d7f68ae584%257Cc9671a04843b43d0bbb4ffb23b7fb0bf%257C0%257C0%257C637248948726680238%26amp%3Bsdata%3DC3uUmul2GEaRFTOQ6%252FYnn%252BsxWrFtEB9059zoG9DtdD0%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fexample.com%2Fwdag_pac_script.js%3C%2FA%3E%22%7D%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%20look%20at%26nbsp%3Bedge%3A%2F%2Fapplication-guard-internals%23host%20it%20shows%20it%20using%20a%20PAC%20file%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%7B%22pac_url%22%20%3A%20%22%3CA%20href%3D%22http%3A%2F%2Fpath-to-pac-file.pac%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fpath-to-pac-file.pac%3C%2FA%3E%22%20%7D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThey%20should%20clean%20this%20up%20so%20it%20show%20the%20same%20Syntax%20in%20both%20places.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BI%20understand%20this%20GPO%20is%20only%20if%20you%20don't%20want%20to%20pass%20the%20host%20proxy%20settings.%20I%20would%20be%20fine%20pass%20the%20host%20settings%2C%20but%20it%20doesn't%20seem%20to%20work.%20And%20this%20GPO%20doesn't%20seem%20to%20work%2C%20even%20though%20it%20shows%20the%20proxy%20in%20the%26nbsp%3Bedge%3A%2F%2Fapplication-guard-internals%23host.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20something%20going%20wrong%20and%20i%20need%20more%20log%20insight%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1383170%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%20Application%20Guard%20Proxy%20via%20PAC%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1383170%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F555006%22%20target%3D%22_blank%22%3E%40Scott_Sheehan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3BI%20am%20using%20your%20syntax%20for%20GPO.%26nbsp%3B%3CSPAN%3E%22ProxyMode%22%3A%22pac_script%22%2C%22ProxyPacUrl%22%3A%22%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Fexample.com%2Fwdag_pac_script.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fexample.com%2Fwdag_pac_script.js%3C%2FA%3E%3CSPAN%3E%22%7D.%26nbsp%3B%20When%20you%20look%20at%20the%20setting%20within%20the%26nbsp%3Bedge%3A%2F%2Fapplication-guard-internals%23host%20it%20shows%26nbsp%3B%26nbsp%3B%7B%22pac_url%22%20%3A%20%22%3CA%20href%3D%22http%3A%2F%2Fpath-to-pac-file.pac%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fpath-to-pac-file.pac%3C%2FA%3E%22%20%7D.%26nbsp%3B%20%26nbsp%3BSo%20the%20GPO%20and%20what%20edge%20shows%20is%20slightly%20different.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EBasically%20%2C%26nbsp%3B%20I%20can't%20get%20it%20to%20work%20with%20this%20GPO%20settings%20for%20container%26nbsp%3Bonly%2C%20or%20use%20auto%20setting%20to%20pick%20up%20from%20host.%26nbsp%3B%20%26nbsp%3BI%20am%20looking%20for%20some%20type%20of%20more%20logging%20information%20to%20troubleshoot.%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIt%20Works%20fine%20with%20the%20old%20edge%2C%20just%20not%20the%20new%20edge%20(%20Stable%20for%20older%20GPO%20settings%2C%20and%20DEV%2C%20for%20the%26nbsp%3BApplicationGuardContainerProxy%20GPO)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1383204%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%20Application%20Guard%20Proxy%20via%20PAC%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1383204%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F663992%22%20target%3D%22_blank%22%3E%40Jeff-678%3C%2FA%3E%26nbsp%3BDoes%20your%20PAC%20script%20return%20a%20proxy%20by%20name%20and%20not%20IP%20(this%20is%20a%20new%20requirement%20of%20the%20new%20Edge%20that%20didn't%20apply%20to%20Legacy%20Edge)%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eedge%3A%2F%2Fapplication-guard-internals%2F%23utilities%20(%22Proxy%20configuration%22%20section)%20shows%20the%20proxy%20configuration%20(need%20to%20go%20to%20this%20page%20in%20WDAG%20to%20see%20what%20configuration%20the%20container%20is%20picking%20up).%20If%20it%20is%20the%20configuration%20you%20expect%2C%20then%20it%20is%20something%20with%20the%20proxy%20itself.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20generate%20a%20log%20at%20edge%3A%2F%2Fnet-export%2C%20but%20diagnosing%20issues%20from%20that%20isn't%20trivial.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Looking for some more docs/help on WDAG setting for Edge. I can't get application guard to utilize my proxy PAC file for edge chromium. The old Edge will detect and use the PAC file when in application guard mode.  

 

When you look at edge://application-guard-internals#host it shows it using a PAC file :

 {"pac_url" : "http://path-to-pac-file.pac" }

 

This is with version of edge 84 or higher and the GPO only applies to this version+ of edge to get the GPO settings in the admx file  : computer settings->admin settings>-edge->Application Gaurd.  This should set the proxy just for the application guard container.     I have also tired with the network isloation settings with ip literal address (confusing wording they used), and also auto settings and it appears not to use the pac file. 

 

If it help i am using Zscaler as my proxy. 

 

Is there any other log file anywhere for the application guard container. 

 

Has anyone else got a pac file to work in application guard container for chromium edge.  Can i see what GPO settings you have. 

5 Replies

@Jeff-678 Hi! The ApplicationGuardContainerProxy GPO is brand new (not in Stable channel yet), so the documentation for it is still being worked on.

 

For a PAC script, that GPO should be set to something like the following: {"ProxyMode":"pac_script","ProxyPacUrl":"http://example.com/wdag_pac_script.js"} (including the braces).

 

Note this policy is only if you want a *different* PAC script for WDAG (vs the host). If this policy isn't set, WDAG will pick up and use whatever proxy is configured for the host.

 

Also, if the PAC script resolves to a proxy, it needs to resolve to a named proxy (not an IP) -- this applies with or without the ApplicationGuardContainerProxy policy configured.

@Scott_Sheehan 

 

Yes,

  I have have that Syntax in my GPO "{"ProxyMode":"pac_script","ProxyPacUrl":"http://example.com/wdag_pac_script.js"} 

 

When you look at edge://application-guard-internals#host it shows it using a PAC file :

 {"pac_url" : "http://path-to-pac-file.pac" }      

 

They should clean this up so it show the same Syntax in both places.  

 

 

 I understand this GPO is only if you don't want to pass the host proxy settings. I would be fine pass the host settings, but it doesn't seem to work. And this GPO doesn't seem to work, even though it shows the proxy in the edge://application-guard-internals#host. 

 

There is something going wrong and i need more log insight?

 

 

 

 

 

@Scott_Sheehan 

 

Yes, 

   I am using your syntax for GPO. "ProxyMode":"pac_script","ProxyPacUrl":"http://example.com/wdag_pac_script.js"}.  When you look at the setting within the edge://application-guard-internals#host it shows  {"pac_url" : "http://path-to-pac-file.pac" }.   So the GPO and what edge shows is slightly different. 

 

Basically ,  I can't get it to work with this GPO settings for container only, or use auto setting to pick up from host.   I am looking for some type of more logging information to troubleshoot.  

 

It Works fine with the old edge, just not the new edge ( Stable for older GPO settings, and DEV, for the ApplicationGuardContainerProxy GPO)

 

@Jeff-678 Does your PAC script return a proxy by name and not IP (this is a new requirement of the new Edge that didn't apply to Legacy Edge)?

 

edge://application-guard-internals/#utilities ("Proxy configuration" section) shows the proxy configuration (need to go to this page in WDAG to see what configuration the container is picking up). If it is the configuration you expect, then it is something with the proxy itself.

 

You can generate a log at edge://net-export, but diagnosing issues from that isn't trivial.

@Scott_Sheehan   ahh, Thanks for the info "this is a new requirement of the new Edge that didn't apply to Legacy Edge)"  

It was a Zscaler PAC file issue. Zscaler will return the nearest proxy based upon geolocation/etc, but returns in IP format.   Update the PAC file to send FNDN proxy by changing the $GATEWAY to $GATEWAY_HOST in proxy PAC.    Looks like it is working based upon initial testing.