Last active
January 21, 2019 14:22
-
-
Save OlafD/82629878fbb8c822fcdf43a5eb5a34fc to your computer and use it in GitHub Desktop.
From the PowerShell PnP extensions installed on any machine, copy the files Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll to the same folder, as this script. Then, you can execute a Rest call like .\RestAgainstSharePointOnline.ps1 -Url https://{yourtenant}.sharepoint.com/_api/web -UserName {youruser} -Password {your…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This sample will not work, when WebLogin is necessary, because of the current ADFS configuration of the tenant.