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?

4
  • Maybe this helps a bit ? social.msdn.microsoft.com/Forums/sharepoint/en-US/… Commented Mar 5, 2016 at 22:18
  • By "SSO authentication" do you mean a Trusted Identity Provider (e.g., AD FS)? Commented Mar 6, 2016 at 3:47
  • Yes Adrain...But as a username it asks me only my UserID i.e. joeldsouza and not my email id. Commented Mar 6, 2016 at 6:04
  • Sorry Charles, the link didn't help Commented Mar 6, 2016 at 6:05

1 Answer 1

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.