phpSPO icon indicating copy to clipboard operation
phpSPO copied to clipboard

AADSTS50059: No tenant-identifying information found in either the request or implied by any provided credentials.

Open briandgregory opened this issue 6 years ago • 0 comments

I can log into the sharepoint site fine from a browser. Using the same credentials and URL with examples/SharePoint/ConnectExample.php results in this error:

AADSTS50059: No tenant-identifying information found in either the request or implied by any provided credentials.

I've found a number of issues with this error code online related to common vs. tenant endpoints and such, but I don't understand how that relates to fixing this example. Is it related to the URL I'm using? User permissions? Something else?

The site URL is of the form: https://{client}.sharepoint.com/sites/{sitename}

briandgregory avatar Sep 09 '19 15:09 briandgregory