0

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?

0

maybe the PNP authentication manager can help you :

https://github.com/SharePoint/PnP-Sites-Core/blob/master/Core/OfficeDevPnP.Core/AuthenticationManager.cs

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

https://github.com/SharePoint/PnP-PowerShell

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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