A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi Kevin Bryan,
Thanks for the updates. per my test, I think the error “File not Found” is related to the Parameters :” -IncludedLists” The “Shared Document” could be not in your client’s tenant. so the code doesn’t find the site page of list with that name. If I delete the $relativeListUrls = "Shared Documents", I got no error, if I add it, I got the same issue
I would suggest you change the list name there and check the result. Make sure the site has a list with that name.
Additionally, don’t forget to switch admin account in SharePoint online PowerShell if you run the code for a site from different tenant. And here is an video on such topic that may help:
https://www.youtube.com/watch?v=p9Hw6PNpKDk
Hope these can help
Regards,
Clark