Forum Discussion
Matthew Carter
Dec 22, 2020Iron Contributor
PNP-PowerShell with MFA and multiple sites in CSV
Hello, I am trying to figure out how to assign Read permissions to a SharePoint Online Group in multiple sitecollection subistes. So far I was able to get this to work, however with PNP and MFA I...
Mar 28, 2021
Matthew Carter best bet is to generate a Client ID + Secret (or cert) to connect to the sites without requiring MFA, i.e. https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/connect-pnponline?view=sharepoint-ps#example-7.