Closed MJ-Apptitude closed 8 months ago
You're missing the --authmode parameter, see https://pnp.github.io/pnpassessment/using-the-assessment-tool/assess-start.html#authentication-configuration
Hi thanks for responding but I added the authmode as you can see in the text at the bottom of the screenshot I've tried it with applicationid. I've also tried it with interactive and still receive errors.
Oh sorry, missed that one. When using application permissions you also need to specify the certificate to use. See https://pnp.github.io/pnpassessment/using-the-assessment-tool/assess-start.html#specifying-the-certificate-to-use-when-using-application-permissions.
Problem turned out to be that all arguments needed to be on the same line before executing. 👍
@MJ-Apptitude , also looking at the screenshot you've not added all parameters, it should be like this (only added the first params, you'll need to add all)
Microsoft 365 Assessment Tool Errors attempting to run SharePoint Add/In assessment. Errors received are attached. I am using the following syntax and woud like to run this on one site initially not the entire tenant.
start --mode AddInsACS --authmode application --tenant company.sharepoint.com --applicationid xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx --siteslist "https://company.sharepoint.com/sites/allcompany38"