Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Installed PowerBI datagateway and when I go to register the gateway I get this error in the log
"EnterpriseGatewayConfigurator.exe Error: 0 : Error authenticating user: An error occurred while sending the request..
EnterpriseGatewayConfigurator.exe Error: 0 : Exception details: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure."
and this error in the user interface "failed to sign in. Please verify your credentials and try again"
Ive tried a lot of things I have read and nothing has worked thus far. Any ideas or help? Thanks
Hi @TJUGGS ,
We are following up once again regarding your query. Could you please confirm if the issue has been resolved through the support ticket with Microsoft?
If the issue has been resolved, we kindly request you to share the resolution or key insights here to help others in the community. please feel free to reach out for any further assitance.
Thank you.
Hi @TJUGGS ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.
Thank you.
Hi @TJUGGS
As you've already tried all possible troubleshooting steps and the issue is still not resolved, I suggest raising a support ticket with Microsoft using the link below. Their team can look into the issue in detail and help you fix it.
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
Thank you.
I get this error when I do the revoke
Invoke-WebRequest : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS
secure channel.
At line:1 char:1
+ Invoke-WebRequest https://login.microsoftonline.com
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Hi @TJUGGS ,
Thank you for reaching out to the Microsoft Fabric Community Forum. And also for confirming that you're using a valid Microsoft account and have successfully accessed other gateways.
As @Greg_Deckler , this issue is likely related to a trust-related SSL/TLS configuration on your current machine. This can often be due to missing root certificates, SSL interception by security software, or disabled TLS 1.2 protocols.
Please make sure to follow the recommended steps, including:
If you've done these steps and are still having problems, you can provide:
Hope this helps. Please reach out for further assistance.
Thank you.
I get this error when I do the revoke
Invoke-WebRequest : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS
secure channel.
At line:1 char:1
+ Invoke-WebRequest https://login.microsoftonline.com
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Thankyou for your response. I have followed the steps listed below and it still fails.
Here is the response from the invoke.
"Invoke-WebRequest : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS
secure channel.
At line:1 char:1
+ Invoke-WebRequest https://login.microsoftonline.com
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand"
@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.
Is it a domain controller by chance? And here are some ChatGPT suggestions
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:
Then double-click roots.sst to import it into your Trusted Root Certification Authorities store.
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 certi...
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.
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:
Restart the machine afterward.
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/
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:
If that also fails, it's confirmation of a trust or network-level SSL issue.
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.
Yes I am using a microsoft account when registering it. I have created other gatesways on other systems. Just this one instance is having an issue.
@TJUGGS Are you using a Microsoft account for this when you are trying to authenticate? As in a Microsoft account that can logon to your Power BI tenant? Is the Power BI tenant already created? Otherwise, it could be a temporary service thing. Is gateway installation restricted at all within your tenant?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
20 | |
20 | |
16 | |
13 |
User | Count |
---|---|
41 | |
24 | |
22 | |
18 | |
12 |