pnp / pnpassessment

Microsoft 365 SharePoint Assessment tool enabling various deprecation and adoption scenarios
https://aka.ms/microsoft365assessmenttool
MIT License
28 stars 14 forks source link

AddInsACS Assessment stuck as "queued" #41

Closed nigelhertz closed 8 months ago

nigelhertz commented 8 months ago

Hi, I had a 'Syntex' assessment running, and started an 'AddInsACS' assessment while the previous 'Syntex' one was running. The 'AddInsACS' assessment was added to the list, with a status of "Queued".

The 'Syntex' assessment was later terminated, however the 'AddInsACS' has still been sitting as "Queued" for ages now, with no progress.

I then went to a completely different machine, and tried running the same 'AddInsACS' assessment there (using --certfile etc after exporting and copying the pfx). The assessment on this machine is also sitting on "Queued" with no progress.

Is there any way to either delete these assessments completely, or force them to start running?

On the first machine - it is now 16:46 image

On the second machine image

Any help would be appreciated.

nigelhertz commented 8 months ago

This can be closed. I didn't realise the queued items were cached folders on the file system. I did run into another issue relating to permissions - the provided powershell script to create the enterprise application missed out on 2 permission sets - these 2 were not created at all. image A lot of googling later after trawling through logs and getting red herrings, I finally found an obscure article about the issue. Manually added the permissions, and bam - it works. I guess we shouldn't rely on MS provided scripts to actually work.

jansenbe commented 8 months ago

@nigelhertz : the requirements for the AddInACS assessment are documented here: https://pnp.github.io/pnpassessment/addinsacs/requirements.html. The sample script configures things for the Syntex module, I do agree we should make that more visible (today it's only in the comment):

image