When a user other than the one specified in $staticUsername connects to the dashboard, nothing happens.
However, when the user matching $staticUsername connects, this user is redirected to /AnotherApp/AnotherPage as expected. The issue is that the other user in the session is also redirected, which should not be the case.
Has anyone experienced this behavior or have any suggestions on how to resolve it? This bug is causing quite a headache, and any insights would be greatly appreciated.
The same Problem is also resolved when Show-UDToast shows Up in Connected Sessions. As I understand, PSU runs some Commands “kind of Global” if it’s not in an onClick Event, or isolated.
But it doesn’t work the fast way (like, just use a New-UDDynamic from Start to End of the Page), you need to differentiate between Calling the Commands from an onClick Event and “plain” when the Dashboard Loads / No Interaction is used. For Example the following Code doesn’t work (which makes sense)