Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Thanks for your quick help. I tried the above script by giving our user name and password but script throwing the below error as it's enable MFA authentication which additionally sent a OTP to registered mobile number. Could you please help how to handle MFA? Error: Connect-PnPOnline : The sign-in name or password does not match one in the Microsoft account system. Commented Aug 3, 2020 at 6:49
  • Does Connect-PnPOnline -Url $site -UseWebLogin report an error? Commented Aug 3, 2020 at 7:08
  • UseWebLogin working as expected.. Thank you!! Commented Aug 4, 2020 at 3:38
  • Is there a way to hide the list for others except for owners group in power-shell? I need to show the list only for owners, and not to others. Commented Aug 4, 2020 at 9:22
  • This should be controlled by permission.You could try to set the list has unique permission. Commented Aug 4, 2020 at 9:36