pnp / modernization

All modernization tooling and guidance
http://aka.ms/sppnp-modernize
MIT License
157 stars 86 forks source link

Index was outside of the bounds of the array #640

Open Cyndrah opened 2 years ago

Cyndrah commented 2 years ago

Hello,

In the SharePoint Modernization Scanner, I'm having same issue as in bug 559, but that bug was closed without any reference to the fix applied.

My SharePoint web app is in M365.

Whenever I"m using a csv file, I receive the following error message "Index was outside of the bounds of the array". If I enter a single URL of a SharePoint site, no error and the scan is processed.

I'm also seeing the same problem when using the newer "Microsoft 365 Assessment" tool, hence why I reverted to using the SharePoint Modernization scanner for evaluating my SharePoint environment's 2013 SharePoint workflows and Infopath forms.

I'm using most recent version of both scanners. The Modernization scanner is v2.19.0.0 , and my csv files are simply listing the URL to each SharePoint site collections. I tried just one ULR in the csv, but fails with the array error.

Any help would be great. Thank you,

Cyndrah

Cyndrah commented 2 years ago

Have an update. When testing I was working from home, and I had tried this again but with VPN enabled, however, still received same error. Next test was to run the tool remotely on an internal server, which worked. I'm now able to perform csv file scans in the SharePoint Modernization scanner. However, when i did the same using the new Microsoft364 Assessment tool, it didn't work and responded with same "index was outside the bounds of the array" error. I did run a test using the --siteslist attribute which was successful. Do you have any idea why one scanner would work, but the other fails when running on the internal server?

Thanks much, Cyndrah