Microsoft Entra Internet Access
General

Custom Proxy File Hosting

In brief

The instructions now consistently use `efpUrl` instead of `efpURL` and explain that PAC file JavaScript is case-sensitive.

What Entra admins need to know

Administrators configuring the PAC file should use the exact `efpUrl` casing and validate the JavaScript syntax.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

  1. In the Internet Access section, select the link to download the default PAC file for your tenant. :::image type="content" source="media/how-to-custom-proxy-autoconfiguration-files/download-template.png" alt-text="Screenshot of the Explicit Forward Proxy configuration page." lightbox="media/how-to-custom-proxy-autoconfiguration-files/download-template.png":::

  2. Open the downloaded PAC file in a text editor.

  3. Delete lines that start with "var tenantId" and "var efpEndpoint".

  4. Update the line that starts with "var efpURL" to the following code:

    var efpURL = "HTTPS ${GSAEFP}";
    
  5. Make your modifications to implement your custom PAC file logic. Always use the ${GSAEFP} variable when you reference the EFP proxy endpoint.

  6. Save the PAC file with a *.pac extension.

  1. Open the downloaded PAC file in a text editor.
  2. Delete lines that start with "var tenantId" and "var efpEndpoint".
  3. Update the line that starts with "var efpUrl" to the following code:
    var efpUrl = "HTTPS ${GSAEFP}";
    
  4. Make your modifications to implement your custom PAC file logic. Always use the ${GSAEFP} variable when you reference the EFP proxy endpoint.
  5. Save the PAC file with a *.pac extension.
Daily Entra.News

Get daily email updates

Get a concise summary of the latest Microsoft Entra updates delivered straight to your inbox.

Loading the secure signup form…