Looping Connect-PnpOnline and MFA #486
Unanswered
SP-Support
asked this question in
Q&A
Replies: 1 comment 1 reply
-
App registration identity? or an account that doesn't have MFA applied :( |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since the new PNP.PowerShell looping through connecting to sites have gotten more difficult with MFA.
If you use
get-pnptenantsite
to get a list of sites and then need to connect to each site to get web details you'd use something likeconnect-pnponline -interactive -url $site.url
when you do this it asks for credentials for every site. However, using "-useweblogin" it gives a warning note to us -interact.
What is the proper way to loop through connections now?
Beta Was this translation helpful? Give feedback.
All reactions