UD as a Windows Service Problem

Hi there,

i have the problem that if i publish my UD Dashboard as a Windows Service, many views show the error message “access denied”. I think it’s because the service running under “localsystem”. Is it right? If I change the credentials in the Windows Service, the Service no longer starts.
I publish my UD with the following command
Publish-UDDashboard -DashboardFile ".\dashboard.ps1"
If i publish my UD from Visual Studio Code, everything works.

what am I doing wrong? thanks for your help!!