Support

Support forum for Devolutions PowerShell Universal

avatar

Arjan Broeke

User session not showing client ip behind Application Gateway

We are running 2026.3.5 (Azure) behind an Application Gateway. All User Sessions now have the IPAddress of the Application Gateway. The gateway add the 'x-forwarded-for' to the http header with the 'original' client ip. This header is also visible in a test endpoint the displays the header content. New-PSUEndpoint -Url '/diagnostics/request-info' -Method 'GET' -Authentication -Role 'Administrator' -Endpoint { @{ RemoteIpAddress = "$RemoteIpAddress" XForwardedFor = $Headers['X-Forwarded-For'] } | ConvertTo-Json } How can we make sure that we have the original client ip, that is part of the header, displayed in the user sessions?

6

0

avatar

malcolmradelet

Groom Job Status timeout

I was wondering if its possible to run this manually via SSMS or similar without a timeout. We had a few jobs with some errors that generated a ton of output and now the groom job is unable to complete. It's been a few days since resolving the script/job output, but it still hasn't completed grooming. We're running MS SQL Server 2022 Express edition, and are looking to move to Standard Edition soon for more memory and cores. We are hoping to run something that can push this through without a timeout set, or clear up the mess.

7

0

avatar

insomniacc

Job fails to run on PS5.1 after upgrade from 2026.2.4 to 2026.3.4

Regardless of script - I've tried multiple and a simple ```Write-Output "hello world"``` type script, I just get failed jobs when attempting to run in a 5.1 environment after upgrading to 2026.3.4. [image] PSCore scripts all seem to work fine. I've removed the existing 5.1 environment and auto re-discovered it, updated my script's environment to this, and retried but it's the same. Also tried rebooting the server to no effect. When switching the same script to use a PS Core environment, it works fine. Is this a known issue with the latest update? Environment details: Installed as a service, running under a service account on windows. Server sits behind squid proxy with limited outbound access.

167

17

avatar

tompiechota

avatar

viktorkiss

Bug or undocumented procedure - Edits via VSCode Extension aren't recognized by Git

Dear Devolutions team, We recently configured Git Sync for our development and production PSU instance and encountered a behavior which we can't verify if this is a design "issue" (or actually intended) or a possible bug and would like to ask you for verification / clarification. Setup Server OS: Windows Version 21H2 Build 20348.5761 PSU Version: 2026.3.5 Client OS: Windows Version 25H2 Build 26200.9911 VS Code Version: 1.147.0 PSU VS Code Extension Version: 2026.3.5 Remote repo: Gitlab Community Edition v19.5.8 Git config Sync Behavior: PushOnly Credential Type: Access Token Edit Mode: Manual External Git Client: false Sync Interval: 1 Git Environment Variables: none Observed behavior (issue) I created a test script through the PSU webUI in order to test & analyze the Git sync behavior only containing PowerShell inline comments: # Verify-VSCodeExtensionAfterGitImplementation.ps1 # Script contents # Test 1 - edited through PSU webui # Test 2 - edited through VSCode PSU extension # Test 3 - edited by another user # test 4 - edited again through VSCode PSU extension # Test 5 - edit through other client When editing the script file through the PSU webUI Git recognized the changes and lets the user manually chose the file and make the commit to the remote repository just as expected. [image] However, if I edit the file with the same user through the VSCode extension (same user as through the webUI), the extension saves the changes to the edited script file immediately, I do see previously made changes when opening the the script file through the webUI but neither the Git section in PSU shows any pending changes to commit to the remote repo nor do I see the changes committed to Gitlab: [image] [image] This leads to the following problems: If I want each user with edit permissions to be auditable through Git I effectively have to block their access through VSCode which we'd like to avoid since the extension makes the workflow for a developer way more convenient Even if I don't block access through the extension, if I want to make sure that each change gets pushed to the remote repo / Gitlab, I have to login through the webUI and make some sort of dummy change in order to have Git recognize the changed files so that I can commit & push the changes afterwards. Not only does this disrupt the workflow but it also creates redundant noise in the commit history. Maybe worth mentioning: when repeating the test on our dev instance (having the "Edit Mode" set to "auto" instead of "manual") the changes seem get recognized by Git and pushed to the remote repo just as expected. Questions Since we checked the official docs and haven't found any information that explains this: Is this a bug or an undocumented limitation that "works as designed"? Or maybe a config issue I missed? If which settings / configs do I need to check? If it's an undocumented limitation: is there a way to use "manual" as edit in combination with the VSCode extension? The idea is to have "auto" configured on the dev instance so that development isn't stalled by manual commits / edits but still beeng able to track applied changes while the production instance uses "manual" to make sure that applied changes have a meaningful / descriptive commit message (instead of just the edited file name) and being able to trace each applied to change to the user who applied the changes. Please let me know if you need any further information from my side & thank you in advance for your efforts. Best regards, Viktor

40

1

avatar

Michel Audi

avatar

pss127

Powershell Universal permission granular scoping

Powershell Universal version 2026.3.0 I was looking through the documentation around leveraging permissions and scoping access. I can see in the UI the limitation is that I can only scope at a very large area but not granular scoping. I am curious if it is possible to scope a role to a specific app where that role has full control or Edit of a singular app but none of the others? Would using the New-PSURole actually allow this or is this sort of granular permissioning not supported? I have a role in the GUI but read or Edit is over all apps it appears.I noticed on the examples here https://docs.devolutions.net/powershell-universal/security/enterprise-security/permissions though that the usage of a * is used in the command but does that mean i can specifiy a level lower? Example: New-PSURole -Name 'Script Folder Team' -Permission @( 'apps.read./Specific app') Would something like that work or is the syntax is wrong but with proper syntax it would?

Recommended Answer

11 days ago

Hello there, Thank you for reaching out! In PowerShell Universal 2026.3.0 a role cannot be limited to a single app. The app permissions (Read, Create, Update, Delete and Execute) are checked against the apps area as a whole, so a role that can read or edit one app can read or edit all of them. That is the limit you are seeing in the admin console. New-PSURole does not get around it. It sets the same role permissions as the Roles page, so it ends up with the same result as the console. The asterisk in the documentation examples means all access types, or everything below a scope. The narrower scope shown on that page, the folder permission, exists only for scripts. Apps have no level below apps. So your example 'apps.read./Specific app' would not give access to that app. For any app, the server checks apps/read, or apps/update for an edit, with no app name in it, so a permission that names one app has nothing to match. What you can limit per app is who can open and use it. With app authentication enabled, the -Role parameter of New-PSUApp restricts the app to the roles you list, and other users get a Not Authorized page. This controls who uses the app, not who can edit it in the admin console. These two pages cover it: https://docs.devolutions.net/powershell-universal/security/enterprise-security/permissions https://docs.devolutions.net/powershell-universal/apps/role-based-access If per-app edit permissions would help your team, let me know and I will pass it to our development team as a feature request. Best regards,

67

5

avatar

Alexis Beauparlant

avatar

tholabrk

Dashboard calling Grant-PSUAppToken failing

So I just updated to 2026.3.5, and some of our dashboards are failing, with this toast-message: [image] Looking into the logs, it pinpoints the issue at a line of code where I use Grant-PSUAppToken for further API-calls. I note that the release notes have the following improvement listed, maybe this is related to my issue? Improved app token revocation across servers, protection of token values, and permissions for creating tokens Can you advise me if this is a bug, or if I need to use Grant-PSUAppToken in a different manner, I will also note that SecurityModel is "Permissive" as has been the case for quite a while, as authenticating with gRPC was very difficult/buggy at the time it was introduced (as far as I recall) Below are all my findings, plus a quick repro-dashboard that fails on my system. The following error is logged in <PSU Root>\User\Logs: [10:00:49 ERR][App][TestDash] Status(StatusCode="Unknown", Detail="Exception was thrown by handler. InvalidOperationException: HttpContext is not available.", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1794906049.462000000","description":"Error received from peer ipv4:127.0.0.1:49749","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"Exception was thrown by handler. InvalidOperationException: HttpContext is not available.","grpc_status":2}") [File]: TestPage.ps1 [Endpoint]: 71af327e-d83e-4b23-bcf4-4c1092df1cd5 [Page]: [1] ~~> [2] $Token = (Grant-PSUAppToken).Token [3] 'Hello, token {0}' -f $Token [4] AppSettings.json: { "Api": { "SecurityModel": "Permissive", "TrustCertificate": true, "Url": "https://<removed for privacy>:443" }, "Kestrel": { "Endpoints": { "HTTPS": { "Url": "https://*:443", "Certificate": { "Subject": "<removed for privacy>", "Store": "My", "Location": "LocalMachine", "AllowInvalid": "true" } } } }, "Plugins": ["SQL"], "Data": { "RepositoryPath": "<repo path>\\Repository", "ConnectionString": "Server=<removed for privacy>;Database=<removed for privacy>;Integrated Security=true;Encrypt=True;TrustServerCertificate=True" }, "Mode": "Server", "PSUTelemetry": false } Repro dashboard: .universal\dashboards.ps1: New-PSUApp -Name 'TestDash' -FilePath 'dashboards\TestDash\TestDash.ps1' -BaseUrl '/TestDash' -Authenticated -AutoDeploy dashboards\TestDash\TestDash.ps1: New-UDApp dashboards\TestDash\pages\TestPage.ps1: New-UDPage -Url '/TestPage' -Name 'TestPage' -Content { $Token = (Grant-PSUAppToken).Token 'Hello, token {0}' -f $Token } -AutoInclude Environment: Powershell Universal: 2026.3.5 Windows Server 2022

46

3

avatar

tholabrk

avatar

Kevin.Work

Windows SSO on IIS and anonymous auth

Version:  2026.3.4 Host:  IIS PSU will show as the end user logged via SSO when the visit a page.  However, it will not create an identity if one does not exist.  It will also not process any of the defined role policies.  This does not work even if they have an their windows identity listed in Identities. Is this expected behavior?  The main driver of having anonymous auth enabled is to allow the VS Code extension connect to the IIS hosted instance.

48

1

avatar

Michel Audi

avatar

lloydmitchell

Resolved

styling changes when `-ShowSelection` is used on tables in apps

v. 2026.3.5 I used CoPilot to diagnose the behaviour, save me hunting through styling information! Just wondering if this was a design choice? I have two tables side by side, with the only difference being that one has the ShowSelection flag.  The tables only have a single visible column that contains a UDCard in a `-Render {}` block. There are multiple other hidden columns needed for search/filtering. When selection is enabled, the table cell class is set to `MuiTableCell-paddingNone` Without selection, it appears that the class is instead set to `MuiTableCell-paddingDefault` This is for both table content as well as the header. This means that the tables now have a different look, so I've had to wrap the second table in a style to override: New-UDStyle -Style '   .MuiTableCell-paddingDefault {     padding: 0px !important;   }  ' -Content {   New-UDCard  } Thanks in advance.

Recommended Answer

12 days ago

Hello, Thank you for reaching out and for the details! In the table code I could read, the padding is set by an explicit rule based on the position of the column among the visible ones, and it is not a side effect of the theme or the CSS. The checkbox column gets the checkbox padding, the second visible column gets padding none, and every other column gets the default padding. Hidden columns are not counted. With -ShowSelection the checkbox column is the first visible column, so your single card column is the second one and gets padding none. Without it, your card column is the first visible column and gets the default padding. That matches the difference you describe, in both the header and the rows. I read this in the last tagged release before yours, and the table code is unchanged on the 2026.3 release branch and on the development branch. Our development team has looked at it and does not consider it a design choice. They see it as a mismatch in the styles, and they are going to open an issue for it. I will let you know what comes of it. Best regards,

53

1

avatar

Alexis Beauparlant

avatar

bcehlenfield

Creating New Credential in Variables and Secrets Overwrites Existing Credential

PSU Version 2026.3.4 - I have an existing credential in "Variables and Secrets".  When I create a new credential, the username and password for the existing credential gets overwritten by the username and password entered for the new credential. This only occurs when creating a new secret. After that, when I click on the name of the existing credential, the new credential is displayed.  When I click on the "Set Secret Value" icon, the correct credential is displayed.

41

1

avatar

Patrick Ouimet

avatar

nikopieper

Custom Environments not working after upgrade to 2026.3.3

After i updated to 2026.3.3 my custom Environments are not working anymore. Apps are not starting and scripts are not running. When i changed the Environment to the ones PSU brings in the App Starts: 2026-10-15 07:30:58.777 +02:00 [ERR][Universal.Server.Services.DashboardManager] App process running but did not response after 30 seconds. Terminating process. 2026-10-15 07:32:57.851 +02:00 [ERR][] Failed to get dashboard. Status(StatusCode="Unavailable", Detail="failed to connect to all addresses", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1792042377.845000000","description":"Failed to pick subchannel","file":"..\..\..\src\core\ext\filters\client_channel\client_channel.cc","file_line":3218,"referenced_errors":[{"created":"@1792042377.845000000","description":"failed to connect to all addresses","file":"..\..\..\src\core\lib\transport\error_utils.cc","file_line":165,"grpc_status":14}]}") Grpc.Core.RpcException 2026-10-15 07:32:57.990 +02:00 [ERR][] at ProtoBuf.Grpc.Internal.Reshape.UnaryTaskAsyncImpl[TRequest,TResponse](AsyncUnaryCall`1 call, MetadataContext metadata, CancellationToken cancellationToken) in /_/src/protobuf-net.Grpc/Internal/Reshape.cs:line 554 at PowerShellUniversal.ClientServiceRedirect.IsDebuggerAttachedAsync() in D:\a\powershell-universal\powershell-universal\src\Host\GrpcUniversalClient.cs:line 42 at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException[TResult](Task`1 task) at Nito.AsyncEx.AsyncContext.<>c__DisplayClass16_0`1.<Run>b__0(Task`1 t) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException[TResult](Task`1 task) at Nito.AsyncEx.AsyncContext.Run[TResult](Func`1 action) at PowerShellUniversal.ValueTaskExtensions.ToResult[T](ValueTask`1 valueTask) in D:\a\powershell-universal\powershell-universal\src\PowerShellUniversal\ValueTaskExtensions.cs:line 49 --- End of stack trace from previous location --- at PowerShellUniversal.ValueTaskExtensions.HandleException[TResult](RpcException e) in D:\a\powershell-universal\powershell-universal\src\PowerShellUniversal\ValueTaskExtensions.cs:line 130 at PowerShellUniversal.ValueTaskExtensions.ToResult[T](ValueTask`1 valueTask) in D:\a\powershell-universal\powershell-universal\src\PowerShellUniversal\ValueTaskExtensions.cs:line 53 at UniversalDashboard.Services.UDRunspaceFactory.CreateRunspace() in D:\a\powershell-universal\powershell-universal\src\UniversalDashboard\Services\UDRunspaceFactory.cs:line 499 at UniversalDashboard.Services.UDRunspaceFactory.Create() in D:\a\powershell-universal\powershell-universal\src\UniversalDashboard\Services\UDRunspaceFactory.cs:line 677 at Microsoft.Extensions.ObjectPool.DefaultObjectPool`1.Get() at UniversalDashboard.Services.UDRunspaceFactory.GetRunspaceReference(Boolean sendSaturationWarning) in D:\a\powershell-universal\powershell-universal\src\UniversalDashboard\Services\UDRunspaceFactory.cs:line 112 at UniversalDashboard.Services.UDRunspaceFactory.GetRunspaceAsync() in D:\a\powershell-universal\powershell-universal\src\UniversalDashboard\Services\UDRunspaceFactory.cs:line 78 at UniversalAutomation.Host.UniversalDashboardService.StartDashboard() in D:\a\powershell-universal\powershell-universal\src\Host\DashboardService.cs:line 213 2026-10-15 07:32:57.990 +02:00 [ERR][] Inner Exception: Grpc.Core.Internal.CoreErrorDetailException 2026-10-15 07:33:24.841 +02:00 [ERR][] Failed to get dashboard. Status(StatusCode="Unavailable", Detail="failed to connect to all addresses", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1792042404.837000000","description":"Failed to pick subchannel","file":"..\..\..\src\core\ext\filters\client_channel\client_channel.cc","file_line":3218,"referenced_errors":[{"created":"@1792042404.837000000","description":"failed to connect to all addresses","file":"..\..\..\src\core\lib\transport\error_utils.cc","file_line":165,"grpc_status":14}]}") Grpc.Core.RpcException 2026-10-15 07:33:24.855 +02:00 [ERR][] at ProtoBuf.Grpc.Internal.Reshape.UnaryTaskAsyncImpl[TRequest,TResponse](AsyncUnaryCall`1 call, MetadataContext metadata, CancellationToken cancellationToken) in /_/src/protobuf-net.Grpc/Internal/Reshape.cs:line 554 at PowerShellUniversal.ClientServiceRedirect.IsDebuggerAttachedAsync() in D:\a\powershell-universal\powershell-universal\src\Host\GrpcUniversalClient.cs:line 42 at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException[TResult](Task`1 task) at Nito.AsyncEx.AsyncContext.<>c__DisplayClass16_0`1.<Run>b__0(Task`1 t) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException[TResult](Task`1 task) at Nito.AsyncEx.AsyncContext.Run[TResult](Func`1 action) at PowerShellUniversal.ValueTaskExtensions.ToResult[T](ValueTask`1 valueTask) in D:\a\powershell-universal\powershell-universal\src\PowerShellUniversal\ValueTaskExtensions.cs:line 49 --- End of stack trace from previous location --- at PowerShellUniversal.ValueTaskExtensions.HandleException[TResult](RpcException e) in D:\a\powershell-universal\powershell-universal\src\PowerShellUniversal\ValueTaskExtensions.cs:line 130 at PowerShellUniversal.ValueTaskExtensions.ToResult[T](ValueTask`1 valueTask) in D:\a\powershell-universal\powershell-universal\src\PowerShellUniversal\ValueTaskExtensions.cs:line 53 at UniversalDashboard.Services.UDRunspaceFactory.CreateRunspace() in D:\a\powershell-universal\powershell-universal\src\UniversalDashboard\Services\UDRunspaceFactory.cs:line 499 at UniversalDashboard.Services.UDRunspaceFactory.Create() in D:\a\powershell-universal\powershell-universal\src\UniversalDashboard\Services\UDRunspaceFactory.cs:line 677 at Microsoft.Extensions.ObjectPool.DefaultObjectPool`1.Get() at UniversalDashboard.Services.UDRunspaceFactory.GetRunspaceReference(Boolean sendSaturationWarning) in D:\a\powershell-universal\powershell-universal\src\UniversalDashboard\Services\UDRunspaceFactory.cs:line 112 at UniversalDashboard.Services.UDRunspaceFactory.GetRunspaceAsync() in D:\a\powershell-universal\powershell-universal\src\UniversalDashboard\Services\UDRunspaceFactory.cs:line 78 at UniversalAutomation.Host.UniversalDashboardService.StartDashboard() in D:\a\powershell-universal\powershell-universal\src\Host\DashboardService.cs:line 213 2026-10-15 07:33:24.856 +02:00 [ERR][] Inner Exception: Grpc.Core.Internal.CoreErrorDetailException 2026-10-15 07:33:41.240 +02:00 [ERR][Universal.Server.Services.DashboardManager] App process running but did not response after 30 seconds. Terminating process. I took a snapshot, after the upgrade last time also did not work, and after i reverted back to 2026.2.3 everything is working again

145

10

avatar

Michel Audi

avatar

tholabrk

User language settings, a way to persist?

Hi, I think it's great that PSU supports localization, especially for some of our users, but it becomes very disorienting for me as an administrator. When I change it from my language back to English, it is automatically set back to Danish the next time i open PSU. From reading some documentation i can understand it's using the browser locale, but this is currently being enforced by my organization, is there any other way to change it as a user, without affecting localization in PSU as a whole?

151

7

avatar

tholabrk

avatar

andreasweber

Implemented

Problem using apps on production Installation

Hi, Version : 2026.3.2 I’m having a problem with the apps. I have two systems: the production environment (licensed) running MS Server 2022 (english, latest updates) with German language settings but the English number format, and the test/development environment (properly licensed) running Windows Server 2025 (also in english with latest updates installed). Both access their respective SQL 2025 databases. The apps work without issues on the test system. However, when I move them to production, I immediately get the message: "The app is not yet available on this server node. Please refresh in a moment." Upon restarting the app, I get the message: CRON expression is invalid. Please see the inner exception for details. (Parameter 'cronExpression') at Hangfire.RecurringJobManager.ValidateCronExpression(String cronExpression) in C:\projects\hangfire-525\src\Hangfire.Core\RecurringJobManager.cs:line 162 at Hangfire.RecurringJobManager.AddOrUpdate(String recurringJobId, Job job, String cronExpression, RecurringJobOptions options) in C:\projects\hangfire-525\src\Hangfire.Core\RecurringJobManager.cs:line 104 at Hangfire.RecurringJobManagerExtensions.AddOrUpdate[T](IRecurringJobManager manager, String recurringJobId, String queue, Expression`1 methodCall, String cronExpression, RecurringJobOptions options) in C:\projects\hangfire-525\src\Hangfire.Core\RecurringJobManagerExtensions.cs:line 313 at Hangfire.RecurringJobManagerExtensions.AddOrUpdate[T](IRecurringJobManager manager, String recurringJobId, String queue, Expression`1 methodCall, String cronExpression) in C:\projects\hangfire-525\src\Hangfire.Core\RecurringJobManagerExtensions.cs:line 298 at PowerShellUniversal.ComputerService.ScheduleMethod[T](String id, String cron, Expression`1 method) in D:\a\powershell-universal\powershell-universal\src\Universal.Server\Services\ComputerService.cs:line 412 at Universal.Server.Services.DashboardProxy.Start(Dashboard dashboard) in D:\a\powershell-universal\powershell-universal\src\Universal.Server\Services\Dashboard\DashboardProxy.cs:line 134 at Universal.Server.Services.DashboardManager.StartOnNode(Dashboard dashboard) in D:\a\powershell-universal\powershell-universal\src\Universal.Server\Services\Dashboard\DashboardManager.cs:line 95 at Universal.Server.Services.DashboardManager.Start(Dashboard dashboard) in D:\a\powershell-universal\powershell-universal\src\Universal.Server\Services\Dashboard\DashboardManager.cs:line 46 at Universal.Server.Services.DashboardManager.Restart(Dashboard dashboard) in D:\a\powershell-universal\powershell-universal\src\Universal.Server\Services\Dashboard\DashboardManager.cs:line 138 at PowerShellUniversal.AppPowerMenu.Restart() in D:\a\powershell-universal\powershell-universal\src\Universal.Server\Shared\Apps\AppPowerMenu.razor:line 125 at Universal.Server.Pages.Apps.Apps.RestartApp(Dashboard app) in D:\a\powershell-universal\powershell-universal\src\Universal.Server\Pages\Apps\Apps.razor:line 106 at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task) at Universal.Server.Pages.Apps.AppRowMenu.Invoke(EventCallback`1 callback) in D:\a\powershell-universal\powershell-universal\src\Universal.Server\Pages\Apps\AppRowMenu.razor:line 71 at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task) at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState) But—and this is what I find most baffling—it doesn't happen with all of them. A few work, but many don't—not even when only `New-UDApp -Content { 'Hello, World!' }` is defined. What am I overlooking, or what can I do to get the apps working? I would be grateful for any tips. kind regards

Recommended Answer

2 months ago

Thank you for all the information! The problem is that PowerShell 7's RecycleSchedule is set to "5". That setting is a Cron expression, and a single number isn't valid, so that's why the apps are failing. While looking at this, I realize it isn't very clear in the UI; we'll change this soon to be more clear like it is with Cron Schedules. For example, if you're trying to recycle every 5 minutes, you'd want to use "*/5 * * * *". Please try updating to a valid Cron expression and this should resolve the issue for you. Thank you!

184

5

avatar

Erica Poirier

avatar

cdawson

Implemented

Sync-PSUComponent problems

Hi, I've had this solution working on a previous version but after migrating to the latest I'm getting an error and I've not been to resolve it and I'm running out of ideas. So any help will be appreciated. I have an API endpoint that I use to refresh a dashboard component. The dashboard is running in the Integrated environment as is the endpoint. New-PSUEndpoint -Url "/refresh" -Description "Refresh" -Method @('GET') -Endpoint { try { Sync-PSUComponent -Integrated -Id "Import" -Broadcast "[Dashboard Refreshed]" } catch { "[Dashboard Refresh Failed]" $_ } } -Environment "Integrated" When I call the API Endpoint I get an error with this exception TargetSite : @{Name=IPublicClient.SyncComponent; DeclaringType=; ReflectedType=; MemberType=8; MetadataToken=100664704; Module=; IsSecurityCritical=True; IsSecuritySafeCritical=False; IsSecurityTransparent=False; MethodHandle=; Attributes=481; CallingConvention=33; ReturnType=; ReturnTypeCustomAttributes=; ReturnParameter=; IsCollectible=True; IsGenericMethod=False; IsGenericMethodDefinition=False; ContainsGenericParameters=False; MethodImplementationFlags=0; IsAbstract=False; IsConstructor=False; IsFinal=True; IsHideBySig=True; IsSpecialName=False; IsStatic=False; IsVirtual=True; IsAssembly=False; IsFamily=False; IsFamilyAndAssembly=False; IsFamilyOrAssembly=False; IsPrivate=True; IsPublic=False; IsConstructedGenericMethod=False; CustomAttributes=System.Object[]} Message : Specified method is not supported. Data : InnerException : HelpLink : Source : ProtoBuf.Grpc.Internal.Proxies HResult : -2146233067 StackTrace : at ProtoBuf.Grpc.Internal.Proxies.ClientBase.IPublicClient_Proxy_51.IPublicClient.SyncComponent(StringRequest, Boolean) at Universal.SyncComponentCommand.ProcessRecord() in D:\a\powershell-universal\powershell-universal\src\Cmdlets\Apps\SyncComponentCommand.cs:line 17 at System.Management.Automation.CommandProcessor.ProcessRecord()

173

4

avatar

Erica Poirier

avatar

adriandeller

Implemented

Custom Login Page Title not working after 2026.3.3 upgrade

a value of "PowerShell Universal" is not displayed on the login page, but what works is: "PowerShellUniversal" "PowerShel Universal" "PowerShell Universa" this looks like a bug (some regex or search&replace) to me. any idea what changed and/or how to fix?

88

2

avatar

Erica Poirier

avatar

lloydmitchell

Implemented

Inconsistent property behaviour in Apps

I've got the following code (stripped down to mostly just logic), which gets AD user details. Sometimes I get all properties back, but rarely. More often than not (95% of the time), the MemberOf value is missing. Very frequently Canononical Name, Last Logon Timestamp, Mail, and TargetAddress will also be missing. I always get back Name, SamAccountName, UPN, DN and SID. The properties names exist in the object, just not their corresponding values. At first I thought it might be something with the session scope, but that doesn't seem to be the case (I've tested with toast messages outputting the object assigned to a temp variable before handing it off to the session). I don't get this issue if I test in the terminal, nor do I get it running scripts - so the service account is fine. It's only using the app. Note: The code does a couple of 'sync-udelement' hops because there are other items being pulled back elsewhere in the full version. $session:UserID = $null $session:User = $null $cache:UserProperties = @( "Name", "SamAccountName", "UserPrincipalName", "Enabled", "CanonicalName", "DistinguishedName", "LastLogonTimestamp", "SID", "Mail", "TargetAddress", "MemberOf", "ShowInAddressBook" ) New-UDApp -Title "User Overview" -Content { New-UDForm -Content { New-UDTextbox -Id 'txtSearchQuery' -Label 'Enter User ID' } -OnSubmit { $session:UserID = $EventData.txtSearchQuery Sync-UDElement -Id 'LoadUser' } New-UDDynamic -Id 'LoadUser' -Content { if (-not [string]::IsNullOrWhiteSpace($session:UserID)) { # Issue appears to be right at the 'get-aduser' call - property values are missing here $session:User = Get-ADUser -Identity $session:UserID -Property $cache:UserProperties Sync-UDElement -Id 'UserDetails' } } New-UDDynamic -Id 'UserDetails' -LoadingComponent { New-UDProgress -Circular } -Content { if ($session:User) { # Splits the object into a name/value list $Data = ($session:User | Select-Object -Property $cache:UserProperties).psobject.Properties.foreach({ [pscustomobject]@{Property=$_.Name; Value=$_.Value} }) $Columns = @( New-UDTableColumn -Property Property -Title Property New-UDTableColumn -Property Value -Title Value ) New-UDTable -Data $Data -Columns $Columns } } }

157

18

avatar

Erica Poirier

avatar

shawniverson

Implemented

Cannot commit changes to git

After upgrading to Powershell Universal 2026.3.0, we couldn't commit any changes to git in the Admin panel. Adding a commit message and clicking the button does nothing, and immediately following the attempt, all UI elements become unresponsive, such as items on the scope pane, so you cannot navigate away without refreshing the whole page. Upgrading to 2026.3.3 did not resolve the problem. Running on Windows. Problem persists in all browsers (Firefox, Chrome, Edge).

101

11

avatar

Erica Poirier

avatar

Mordecai

Backlog

2026.3.4: published folders (/assets) are cached without validation - old CSS/JS after a deployment

Hi support, a bug / feature request for the published folders and cache settings: Environment: Universal 2026.3.4, linux-x64 package in our own container image on Kubernetes. Files of published folders (for example /assets/theme/shell.css) are served with Cache-Control: public, but without max-age, ETag or a version in the URL. After a deployment, browsers keep showing the old CSS and JavaScript. In our test even a hard reload did not help until we appended ?v= to the URL. PSU's own assets are versioned (?v=2026.3.4-...), so they do not have this problem. Could published folders send Cache-Control: no-cache together with ETag or Last-Modified validation, or offer a setting for the cache headers? Today we append a content hash to every stylesheet URL ourselves. Thanks, René

43

1

avatar

Patrick Ouimet

avatar

Mordecai

Backlog

All requests, including /api/v1/status, hang while the PostgreSQL database is unavailable – please fail fast and report the database state

Hi support, Environment PowerShell Universal 2026.3.4, Linux container on Kubernetes, PostgreSQL plugin (Plugins__0=PostgreSQL), PostgreSQL 17, single node behind a reverse proxy that uses /api/v1/status for readiness and liveness. Steps to reproduce 1. Run PSU with the PostgreSQL plugin; wait until /api/v1/status returns 200. 2. Make the database unreachable (stop the PostgreSQL container so its host name no longer resolves). 3. Request /api/v1/status, /api/v1/alive, the admin console and an app. 4. Start the database again. Observed - Every request, including /api/v1/status and /api/v1/alive, hangs instead of answering. A short outage (about 16 s) and a long one (12 min) were tested. In the long one, nothing answered for the whole time. - The log fills with Npgsql "Name or service not known" and RetryLimitExceededException from NpgsqlRetryingExecutionStrategy (6 retries). This adds up to roughly a minute per database call. - Health probes time out, the orchestrator removes the instance, and users only see a blank page with no message. - After about 10 minutes, the liveness probe restarts PSU. Without the database it fails at start and keeps restarting until the database is back. - Once the database is back, PSU serves again within about 15 seconds. If it was not restarted, it recovers by itself. Expected - Requests that need the database fail fast, e.g. 503 with Retry-After, instead of blocking for the whole retry cycle. -Login answers within a bounded time and reports the database state, e.g. 503 "database unavailable". Then load balancers can react, and liveness checks can tell "database down" from "PSU hung". - Apps and the admin console show a maintenance or error message instead of a blank page. Feature request - Configurable database resilience in appsettings: retry count, maximum retry delay, and a short separate timeout for health checks. - A documented database check in the status APIs; /api/v1/alive is not documented. - A built-in maintenance page while the database is unavailable. - Documentation of the behaviour during database outages and failover for PostgreSQL and SQL Server. Thanks, René

42

1

avatar

Patrick Ouimet

avatar

Mordecai

Navigation group only opens after reload when its first child is the current page (2026.3.4)

Hi support, Environment: Version: PowerShell Universal 2026.3.4, linux container in kubernetes. In an app with a permanent navigation, a New-UDListItem with -Children starts open after a page reload only when the current page is its first child. When another child page is current, the group starts closed and the current page is not visible. Steps: New-UDApp -NavigationLayout Permanent with New-UDListItem -Label 'Charts' -Children { New-UDListItem -Label 'A' -Href '/a'; New-UDListItem -Label 'B' -Href '/b' } and pages /a and /b. Open /b and reload. Expected: group 'Charts' open, as after reloading /a. Actual: closed. Probable cause in the client bundle: the function that checks whether a group contains the current location loops over the children but compares the location with e[0].href in every iteration instead of e[n].href. Thanks René

42

1

avatar

Michel Audi

avatar

Mordecai

2026.3.4: login page and admin console branding - colour mode, stylesheet, changed login markup, accessibility

Hi Support, a few bugs/requests about the login page and admin page styling and some accessiblity optimizations. Environment Universal 2026.3.4, linux-x64 package in our own container image on Kubernetes, OIDC sign-in, custom branding with New-PSUBranding. 1. Login page colour mode The login page takes light or dark from localStorage['psu-theme'], and falls back to the OS setting only when that key is missing. Only the admin console writes psu-theme. Apps store their mode in localStorage['theme'] and on <html data-theme>. So a user who only works in apps and switches them to dark still gets a light login page. Could the login page also honour theme, or could apps write psu-theme? We now keep the two keys in sync with a small script in every app. 2. Admin console ignores -CssStylesheet New-PSUBranding -CssStylesheet '/assets/admin.css' has no effect in the admin console: no request is made and the file is not in document.styleSheets. -LoginPageCssStylesheet works. We would like the admin console to follow our corporate colours (accent, navigation). Please support a stylesheet there, or say in the docs that the parameter no longer applies.  3. Navigation colours in dark mode -SecondaryColor and -SecondaryFontColor set the side navigation colours (inline --menu-bg) for light and dark mode alike. With a light value, dark mode shows a light navigation with white text. A separate dark-mode value would help. 4. Login markup changed without a note In 2026.3.4 the login page structure changed: #loginCard and #titleContainer are gone, and .auth-card, .auth-tagline and .auth-footnote are new. Every LoginPageCssStylesheet written for 2026.2 stopped applying, and the release notes do not mention it. Please treat the login classes as a documented styling contract, or call out such changes in the release notes. 5. Accessibility of the login page - The username field has autofocus even when OIDC is the main sign-in method. - The inputs have placeholders only: no <label> and no autocomplete attributes, so password managers and screen readers have to guess. - The logo's alt text is "PowerShell Universal" unless LoginPageTitle is set, and setting LoginPageTitle also adds a visible title. 6. Admin Page App Bar logo One more request on branding: when the side menu is collapsed, the admin console uses the AppBarLogo / DarkAppBarLogo image for the small square logomark (32x32) too, so a wide wordmark logo shrinks to an unreadable strip. We worked around it with an SVG that has no intrinsic size and uses a media query to show only the mark in narrow boxes, but that only works with SVG and depends on how the image is sized internally. Could you add separate parameters for a square logomark, for example AppBarLogoMark and DarkAppBarLogoMark in New-PSUBranding, that are used for the collapsed sidebar and fall back to AppBarLogo / DarkAppBarLogo when not set? 7. App Not Running Text PSU 2026.3.4: allow branding/styling the 'The app is not yet available on this server node' 503 page (AppNotRunningDescription does not apply to it) Thanks, René

59

1

avatar

Michel Audi

avatar

Mordecai

OIDC: a "roles" claim arrives renamed - New-PSURole -ClaimType 'roles' matches nobody (not documented)

Hi support, a bug about missing documentation of oidc role claims. Environment: PowerShell Universal 2026.3.4, OpenID Connect sign-in. Our identity provider sends a "roles" claim. New-PSURole -ClaimType 'roles' -ClaimValue 'X' matched no user. -ClaimType 'http://schemas.microsoft.com/ws/2008/06/identity/claims/role' works, so the claim is renamed by the ASP.NET inbound claim mapping. A "groups" claim keeps its name, so -ClaimType 'groups' works as expected. Neither the OpenID Connect page nor the New-PSURole documentation mentions this. Please document it, or add a setting to turn off the inbound claim mapping, so that claims keep the names the provider sends. Thanks René

38

1

avatar

Michel Audi

avatar

Matthew Morrow

having trouble with identity when using invoke-udendpoint

i am in the dashboard my $user is me when i invoke-udendpoint the $identity inside it is 'system' i have to funny things like add a header with $user in to override the wrong identity the role system should handle my identity through the entire system without me having to work around everything

47

3

avatar

Michel Audi

avatar

acoutellier

[2026.3.5] Apps fail to start in Windows PowerShell 5.1 environments: UniversalDashboard.MaterialUI.psm1 does not parse under PS 5.1 ("The term 'New-UDApp' is not recognized")

Hello, Product / version: PowerShell Universal 2026.3.5.0 (MSI), upgraded from 2026.3.3.0 Environment - Windows Server 2022 (build 20348) - Windows PowerShell 5.1.20348.4294, .NET Framework 4.8 (release 528449) - PSU installed with the MSI as a Windows service, PostgreSQL backend for the PSU database - The app is declared as follows: New-PSUApp -Name "App" -FilePath "dashboards\App\App.ps1" -BaseUrl "/" -Environment "Windows PowerShell 5.1" -Authenticated -AutoDeploy I have an app configured to run under the environment Windows PowerShell 5.1 and it fails to start after the upgrade to 2026.3.5.0. The app log shows: [Error] [App-App] Failed to get app. App was null. Make sure to return an app from your script. [Error] [App-App] Startup: The term 'New-UDApp' is not recognized as the name of a cmdlet, function, script file, or operable program. [Error] [App-App] Startup: The term 'New-UDIcon' is not recognized as the name of a cmdlet, function, script file, or operable program. The same app starts without any problem when it is switched to the PowerShell 7 environment. It was working in 2026.3.3.0 under Windows PowerShell 5.1. After Import-Module Universal in Windows PowerShell 5.1, the module exposes only 4 New-UD* commands (New-UDElement, New-UDEndpoint, New-UDEndpointSchedule, New-UDPage) and only 6 functions. In PowerShell 7 it exposes 129 New-UD* commands. Universal.psm1 line 1 imports this file with errors suppressed: Import-Module "$PSScriptRoot\UniversalDashboard.MaterialUI.psm1" -ErrorAction SilentlyContinue Parsing UniversalDashboard.MaterialUI.psm1 with the Windows PowerShell 5.1 parser ([System.Management.Automation.Language.Parser]::ParseFile) returns 5 errors: L3893: The hash literal was incomplete. L3894: Unexpected token 'End' in expression or statement. L3780: Missing closing '}' in statement block or type definition. L3985: Unexpected token '}' in expression or statement. L3986: Unexpected token '}' in expression or statement. I used AI to help me troubleshoot this before opening a case, so, if this is incomplete, or if you need more information, feel free to ask. Thank you in advance, Axel

60

1

avatar

Adam Driscoll

avatar

egreiff

All scheduled jobs failing after upgrade to 2026.3.4

All PowerShell 7 jobs failing immediately with the following [image]

110

13

avatar

Michel Audi

avatar

Mordecai

Docs app: "You cannot call a method on a null-valued expression" at index.ps1 line 555 ($PSUBasePath is null)

Hi Support, i found a small bug in the integration documentation app: Version : PowerShell Universal 2026.2.5, Linux (container, Rocky Linux base), no base path configured. What happens : On every server start the built-in Docs app logs two errors: You cannot call a method on a null-valued expression. / at ScriptBlock, /opt/universal/Docs/index.ps1: line 555 Cause : line 555 renders the "Powered by Devolutions" navigation item with $($PSUBasePath.TrimEnd('/')) for the light and the dark logo. $PSUBasePath is $null when no base path is configured, so TrimEnd is called on $null - one error per logo. Suggested fix : guard the call, e.g. $("$PSUBasePath".TrimEnd('/')) or $(if ($PSUBasePath) { $PSUBasePath.TrimEnd('/') }) . Expected : no errors when no base path is set; the logo URLs fall back to the root. Thanks René

108

3

avatar

Mordecai

1 - 25 of 2047 items