Forum Discussion

mohammadjavaher's avatar
2 years ago
Solved

Authentication failed when logging in locally

Hi I have published my RS to the Internet through a firewall. To do this, I have registered a public subdomain. When I connect to the server from outside the VM, there is no problem. But when RDP in...
  • hackcrr's avatar
    2 years ago

    hi, mohammadjavaher 

    This issue is usually related to how the server handles authentication and how loopback connections are managed. Windows Server includes a security feature that prevents reflection attacks on your computer. This feature is called loopback checking. When you use an FQDN to access a website on the local server, it can trigger this security feature.
    To allow specific FQDNs:

    New-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0" -Name "BackConnectionHostNames" -Value "your_fqdn" -PropertyType MultiString -Force
    

     

    https://learn.microsoft.com/en-us/power-bi/report-server/configure-kerberos-powerbi-reports#using-setspn-to-add-the-spn

     

     

    If this post helps, then please consider Accept it as the solution and kudos to this post to help the other members find it more quickly