Closed cgjeb closed 6 months ago
@cgjeb : for the AddInsACS module the minimal permission requirements are documented here: https://pnp.github.io/pnpassessment/addinsacs/requirements.html#permission-requirements. Please check if you've granted all of them.
If that's the case then please retry and provide me a copy of the generated log files at bjansen@microsoft.com
Hi @jansenbe
I've cross-checked the permissions, and everything seems to be in place.
Oddly, when running, the tool does not show any logs in the folder! Could the logs be saved somewhere else?
That is the sample line I'm running in the tool(I've removed our org details). PS C:\Temp\MicrosoftAssessmentTool> .\microsoft365-assessment.exe start --mode AddInsACS --authmode application --tenant xxx.sharepoint.com --applicationid 56789xxxxxxxx --certpath "My|CurrentUser|abc"
The certificate is available in certmgr
I don't know where I'm going wrong; previously, I ran the workflow assessment tool without any problems. If you could help me capture the logs, I will then email them to you, if you don't mind.
Thank you.
@cgjeb : do you see log files in the folder hosting the .exe? Also, before retrying can you cross check that all microsoft365-assessment.exe processes are killed? If that doesn't help, then it would be great if you could pull down version 1.7 and see if that shows the same issue (ensure you've killed all microsoft365-assessment.exe processes before trying that)? Version 1.8 is the first one based upon .NET 8.0, so wondering if somehow there's an issue with that one.
@jansenbe
Thank you for the tips.
I killed all microsoft365-assessment.exe processes, then used version 1.7 and the tool is running.
@cgjeb : would it be possible to, once your run finishes, to try again with version 1.8 (first kill all assessment processes) and see if that one hangs again?
Hi @jansenbe
I've run the tool using ver. 1.8 and it is working fine. It looks like any running processes for "microsoft365-assessment.exe" needed to be killed using the Windows Task Manager, before running a new instance. It would be nice to add it to your support articles.
Thank you so much for all your help.
Thx, I'll update that in the docs
Hi,
I've registered an azure app to use for running the process but I'm getting the error below. "Assessment job not started due to error:"
I made sure all relevant permissions are granted in azure following that guide. https://pnp.github.io/pnpassessment/using-the-assessment-tool/setupauth.html
Is there anything I'm missing?
Thank you.