SharePoint Online Authentication in Powershell for CSOM when Legacy Authentication is disabled for tenant or Multi Factor Authentication is enabled for user

This post is a contribution from Sohail Sayed, an engineer with the SharePoint Developer Support team SharePoint Online Authentication in Powershell for CSOM when Legacy Authentication is disabled for tenant or Multi Factor Authentication is enabled for user Authentication using SharePointOnlineCredentials class will work only if Legacy auth is enabled. If you tenant administrator has…

1

Get SPO sites with filter using SPOSitePropertiesEnumerableFilter

This post is a contribution from Aaron Miao, an engineer with the SharePoint Developer Support team To get list of all OneDrive for Business sites of the tenant, with SharePoint Online Management Shell, run Get-SPOSite -Template “SPSPERS”   This will return all OneDrive for Business sites. It can be done with CSOM APIs as well….

0

SharePoint Online Active Authentication

This post is a contribution from Vitaly Lyamin, an engineer with the SharePoint Developer Support team We often see issues that have to do with actively authenticating to SharePoint Online for the purpose of consuming API’s and services (WCF and ASMX). There are 2 flavors of authentication – one with a Custom STS and one…

1