O365 Federated Account Authentication

Oct 23, 2014 at 10:58 PM
Edited Oct 23, 2014 at 11:20 PM
Hi, first off nice scripts! ..

however, came across issue when attempting to authenticate against O365 using federated account

After finding the following answer on http://stackoverflow.com/a/23816863
I updated the Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll files with the (v16) files from the 'SharePoint Online Client Components SDK'
http://www.microsoft.com/en-us/download/details.aspx?id=42038)

(extracted using 'lessmsi' - http://lessmsi.activescott.com/)

authentication now working successfully...
Jan 24, 2015 at 12:38 AM
If you don't want to extract the DLL's yourself, just download and install the latest client components SDK and you'll find the DLL's in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI or C:\Program Files (x86)\Common Files\microsoft shared\Web Server Extensions\15\ISAPI.

The DLL's are redistributable according the the EULA so just include the latest dll's you need with your scripts and your all set.
Developer
Feb 19, 2015 at 7:09 PM
Hi

As a soon to be updated version of the main spps.psm1 file there will be an additional function that can be called prior to Initialize-SPPS that will tell you whether you can connect to SharePoint Online as part of Office 365 and if not it will automatically guide you to the correct D/l page for the Client Components

This will be the same for 2010 on-prem and 2013 on prem.

I'm looking into testing an Office 365 Federated account however currently i dont have the server capacity to test this atm
Marked as answer by kilasuit on 4/12/2015 at 1:04 PM