I have a simple powershell script which uses Out-Download command to export the query result to .xlsx file. However, it doesn't seem working. The same scenario as well if I used the download button from Show-ListView window.
Here is the script
Import-Function -Name ConvertTo-Xlsx [byte]$outobject = Get-ChildItem master:\ | Select-Object -Property Name, ProviderPath, Language, Varsion | ConvertTo-Xlsx Out-Download -Name "report-$datetime.xlsx" -InputObject $outobject
As for my initial investigation, I have noticed that one of the request e.g. https://domain.com/-/script/handle/0D81FB63A4524895A114FFF5C2B4299B is being returned 302 response that leads to 404 page.
Versions used: Sitecore 9.3 Sitecore.PowerShell.Extensions-6.0 Sitecore Experience Accelerator 184.108.40.20689
Please let me know if you need more information.
Appreciate your help.