question

hmiranda79 avatar image
0 Votes"
hmiranda79 asked GitaraniSharmaMSFT-4262 answered

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

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


windows-serverazure-vpn-gateway
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GitaraniSharmaMSFT-4262 avatar image
0 Votes"
GitaraniSharmaMSFT-4262 answered

Hello @hmiranda79 ,

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.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.