Is there any way of surpressing the Message of module loading in apps? i Know it goes away after a few seconds but users are asking questions...
Like this:
Technically the App is running in an peristant environment which should import the Module on startup.
034a23af-fee0-4d90-ba99-3b7170f796ec.png
Hello Niko,
Thank you for the screenshot, it shows exactly which message your users see.
There is a per app setting meant for this. That message is the progress bar the Active Directory module writes while it loads, and an app shows progress output as a popup unless its interactive host is turned off.
In the admin console, go to Apps and open the app's properties. Depending on your version, that is either Edit Properties in the app's menu or the edit button in the app's Actions column. On the Experience tab, check Disable Interactive Host and save. Then restart the app so it starts with the new setting, and check whether the popup is gone.
If you define the app in a script instead, the same setting is the -DisableInteractiveHost switch of New-PSUApp.
https://docs.devolutions.net/powershell-universal/cmdlets/New-PSUApp/#-disableinteractivehost
We tested this on PowerShell Universal 2026.3.4. With an environment that imports the Active Directory module at startup, as you describe, the popup still appeared on the first page load. With Disable Interactive Host on, it did not appear in that environment or in the others we tried, and the module still loaded normally. Turning the setting on for an existing app and restarting it had the same result.
Please check one side effect first. With the interactive host off, prompts such as Read-Host and Get-Credential no longer work in that app. If the app relies on them, or if the message still appears after the restart, let me know with your PowerShell Universal version and we will look further.
Best regards,
Michel
Michel Audi