Dear community, I am trying to create bulk sharepoint modern sites and the script I am using isn’t going right. It’s breaking at pnp modules and unable to connect to sharepoint. I am having access. I have tried with multiple other approaches like sharepoint management shell and tried troubleshooting. But it’s failing. What am I doing wrong? I tried using PowerShell 7 as well. Looks like something related to versioning and compatibility. Please help.
Welcome to the forum, @Deepakm. See here for guidelines for posting code: Guide to Posting Code - Redux. Posting code instead of a picture of your screen enables us to copy your code and try things locally without typing all your code in ourselves. Please make it easier for us to help you ![]()
I am not an expert in SharePoint, but I did notice that the latest PnP.PowerShell module requires PowerShell 7, so I’d definitely recommend starting there.
Can you provide any error messages or feedback on what you’re seeing when you run your script?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
