Technical Tip: FortiSASE SWG SSO users unable to poll Power BI through Microsoft 365 applications
| Description | This article describes the issue of Microsoft 365 applications failing to poll the Power BI backend for information through FortiSASE Secure Web Gateway (SWG) for SSO users and provides a step-by-step guide to resolve this issue by creating a custom PAC file and exempting Power BI FQDNs from the Secure Web Gateway proxy. |
| Scope | FortiSASE. |
| Solution | To resolve the issue of Microsoft 365 applications (Microsoft Word, Excel, etc.) failing to poll the Power BI backend for information through FortiSASE Secure Web Gateway, follow these steps:
Custom PAC File:
function FindProxyForURL(url, host) { var direct = "DIRECT"; var proxyServer = "PROXY <FortiSASE-SWG-Turbo-FQDN:SWG-Port>";
if (shExpMatch(host, "*.analysis.windows.net") || shExpMatch(host, "*.pbidedicated.windows.net") || shExpMatch(host, "*.powerquery.microsoft.com") || shExpMatch(host, "api.powerbi.com") || shExpMatch(host, "appsource.microsoft.com") || shExpMatch(host, "content.powerapps.com") || shExpMatch(host, "dc.services.visualstudio.com") || shExpMatch(host, "*.s-microsoft.com") || shExpMatch(host, "*.osi.office.net") || shExpMatch(host, "*.msecnd.net") || shExpMatch(host, "store.office.com") || shExpMatch(host, "store-images.s-microsoft.com") { return direct; } return proxyServer; } |
