Product: PowerShell Universal Version: 5.4.1 IIS / SQL Express AppPool ID: LocalSystem Windows Auth
Roles that are created in Modules (in roles.ps1 files) are disappearing from the console after some period of time. The app pool must be restarted to bring them back. When they disappear, they can no longer be assigned in scripts/apps.
I’ve followed all recommendations from the docs, but the problem persists through IIS restarts and server reboots:
docs.powershelluniversal.com
There is this in the 5.4.2 changelog - it may not be related, but theres been a few people experiencing emptied scripts if the whole thing is being emptied
Platform
An app pool recycle brings them back, and they are always present in the relevant roles.ps1 files. But something is causing them to be dropped. This looks like a separate issue.