Show-InstallationWelcome MSApps365

Show-InstallationWelcome is not closing MSApps365 applications if the users allows the time to runout.
This did not seem to be an issue but if the apps are MSApps365 and the user lets the screen timeout the script gets stuck in a loop trying to close the apps but never does until it times out.
I upgraded the script to 3.8.4 but it did not change the issue.

Anyone else see this?

Can you show the full line for the show-installationwelcome ?

I had an issue with that on a shared computer when I was running in user context the script because it wasn’t able to close the word, etc from the other user.