phpSPO icon indicating copy to clipboard operation
phpSPO copied to clipboard

The partner DNS used in the login request cannot be found.

Open subashdbc opened this issue 7 years ago • 2 comments

Hi Sir, When I try to login onto my SP server I get this issue "The partner DNS used in the login request cannot be found." In my site is using ADFS authentication. Does your library support ADFS authentication? I am using the same code as it is in the ConnectExample.php file. And also this is a custom SP site. I am able to run the same site URL from my browser but it is failing only on my PHP application using the library. What Should I do now? Thanks.

subashdbc avatar Nov 18 '16 09:11 subashdbc

Greetings,

are you trying to get connected to SharePoint On-Premises? If so, try to utilize NetworkCredentialContext class instead.

Follow NtlmConnectExample.php example for a more details.

vgrem avatar Nov 21 '16 09:11 vgrem

When I try to use NTLM method it gives "You do not have permission to access the resource" but I am able to access it on the browser. Thanks

subashdbc avatar Nov 21 '16 09:11 subashdbc