I am trying to connect to a SharePoint Site having an SSO authentication using PowerShell. But i am unable to do so.

Please note, I am trying it from an external server so i have to do it using CSOM.

Can anyone help me with the script?


1 Answer 1


maybe the PNP authentication manager can help you :


in specific the class that will let you connect is the webClientauthenticationcontext


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.