Forum Discussion
Robbert van Andel
Dec 05, 2017Brass Contributor
connect-pnpmicrosoftgraph Has Been Deprecated
I have a script that creates an Office 365 group and the associated SharePoint site using PnP PowerShell. I recently updated the SharePointPnPPowerShell assemblies to version 2.20.1711.0. Now I'm g...
- Dec 13, 2017
So - after downloading the latest version of Sharepoint PNP for Online it works as expected!
Dean_Gross
Dec 08, 2017Silver Contributor
I'm using the following and it works fine.
$tenantUrl = 'https://tenant.sharepoint.com'
Connect-PnPOnline $tenantUrl -UseWebLogin
Robbert van Andel
Dec 08, 2017Brass Contributor
Doesn't that require user interaction?
- Dean_GrossDec 08, 2017Silver Contributor
it depends, i entered my credentials and told the browser to keep me logged in several days ago, and have not logged in since
- Robbert van AndelDec 08, 2017Brass Contributor
This is an automated script. I won't be logging in at anytime. That's why I set up the application.
- Dean_GrossDec 08, 2017Silver ContributorSorry, can't help you any more, I have had to do a lot of trial and error with the various connection parameters to figure out what works for my customers tenants