phpSPO
phpSPO copied to clipboard
The partner DNS used in the login request cannot be found.
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.
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.
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