Forum Discussion
PowerBi Data Gateway Error when registering email
Greg_Deckler Yes I am using a microsoft account. I have greated other gateways on other servers same environment . Just this one server is giving me issues.
- Greg_Deckler1 year agoCommunity Champion
Is it a domain controller by chance? And here are some ChatGPT suggestions
Possible Causes & Fixes
✅ 1. Missing or Outdated Root Certificates
Cause: The local Windows machine doesn’t have the correct root certificates to validate Microsoft's certificate chain.
Fix:
Run Windows Update and ensure "Trusted Root Certificates" updates are installed.
Alternatively, use this command:
powershellCopyEditcertutil -generateSSTFromWU roots.sstThen double-click roots.sst to import it into your Trusted Root Certification Authorities store.
✅ 2. Corporate Network Inspection/Proxy (SSL Interception)
Cause: A firewall, proxy, or antivirus (e.g., Zscaler, Palo Alto, Sophos, etc.) is performing HTTPS inspection and replacing Microsoft’s certificate with its own (untrusted by .NET runtime).
Fix:
Check with your network/security team: Are they intercepting SSL traffic?
If yes, make sure the interception certificate is:
Installed in Local Machine > Trusted Root Certification Authorities
Available to the service account running the Gateway
Test by visiting https://login.microsoftonline.com in Internet Explorer or Edge on that machine and viewing the certificate chain.
✅ 3. Incorrect System Time/Date
Cause: SSL/TLS validation fails if the system clock is skewed.
Fix:
Ensure your server has the correct time zone, time, and is syncing with a time server (NTP).
Run w32tm /resync if needed.
✅ 4. TLS Protocols Disabled or Misconfigured
Cause: The required TLS 1.2 protocol might be disabled via registry or group policy.
Fix:
Ensure TLS 1.2 is enabled. Set these registry keys:
regCopyEdit[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client] "Enabled"=dword:00000001 "DisabledByDefault"=dword:00000000Restart the machine afterward.
✅ 5. Gateway Version Too Old
Cause: You're using an outdated version of the Power BI Data Gateway.
Fix:
Download and install the latest version from:
https://powerbi.microsoft.com/en-us/gateway/🧪 Testing Steps
Try this on the same machine:
Open a browser and visit: https://login.microsoftonline.com
View the certificate and check if it's:
Valid
Issued by a trusted authority
Try running this PowerShell command:
powershellCopyEditInvoke-WebRequest https://login.microsoftonline.comIf that also fails, it's confirmation of a trust or network-level SSL issue.
✅ Final Tip
If you're in a locked-down enterprise network, consider installing the gateway on a less restricted test server first, or try connecting via mobile hotspot (to bypass inspection) to confirm it’s a network issue.