How to connect to a shared directory using a P2S VPN?

Hugo Miranda 56 Reputation points
2021-10-08T00:32:08.39+00:00

Hello there,

I hope you can support me, I have the following scenario:

I have created a virtual machine in azure and I have shared directories to remote users, who connect through a P2S VPN. When trying to connect to the shared folder from the file explorer I see a legend as shown in the image. Any ideas to solve it?

138742-microsoftteams-image-21.png

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,394 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,209 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 47,696 Reputation points Microsoft Employee
    2021-10-08T06:48:48.46+00:00

    Hello @Hugo Miranda ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    As mentioned in this doc, when the P2S VPN connection is initiated, the VPN client adds the session credentials and the failure occurs. After the connection is established, the client is forced to use the cache credentials for Kerberos authentication. To work around the problem, disable the caching of domain credentials from the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\DisableDomainCreds - Set the value to 1

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments