Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Connect-PnPOnline -Url https://testdomain.sharepoint.com/sites/test1
- -PnPO365ManagementShell -LaunchBrowser
- $username = "test@exemple.com"
- $password = "password"
- $cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $userName, $(convertto-securestring $Password -asplaintext -force)
- Connect-SPOService -Url https://testdomain-admin.sharepoint.com -Credential $cred
Add Comment
Please, Sign In to add comment