Hi,
I was a very stupid mistake I guess it was to late yesterday when I wrote this code…
I forgot to actually publish the folder and attach the published folder to the dashboard.
The code was lacking
$Folder = Publish-UDFolder -Path (Join-Path $PSScriptRoot "files") -RequestPath "/files"
Sorry for this noob mistake
Regards,