-
-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Expected Behavior
User should be able to download the report in CSV and/or Excel
Actual Behavior
Nothing is happening when you click CSV or Excel Button when logged in via OKTA SSO
Steps to Reproduce the Problem
Sitecore Version 9.3
Powershell Module Version 6
- Login to CMS via SSO (Azure / OKTA)
- Navigate to Start --> Reporting --> PS Reports-->Content Audit-->Broken Link
- Execute th script and make sure you get some output
- Click on CSV or Excel
Validate the same behavior using normal Sitecore Login and this will work.
When I checked the network tab for all the call, I can see one differene in working scenario vs non working scenario
Request : /sitecore/shell/applications/powershell/powershelllistview?sid=9510dfc9-e66f-45ba-8178-64c330b4fc42
Response for Working Scenario
{
"commands": [
{
"command": "UnregisterKeyGroup",
"value": "PowerShellRibbon"
},
{
"command": "SetInnerHtml",
"value": "SOME DATA GOES HERE...REMOVED FOR TICKET",
"id": "RibbonPanel"
},
{
"command": "SetPipeline",
"value": "98715B6C8CA74550B0D8E51DB94F633A"
},
{
"command": "Eval",
"value": "spe.DownloadReport('A14F173DE53C4B218A76DEBD8F7CF1CD');"
}
]
}
Response for Non Working Scenario
{
"commands": [
{
"command": "UnregisterKeyGroup",
"value": "PowerShellRibbon"
},
{
"command": "SetInnerHtml",
"value": "SOME DATA GOES HERE...REMOVED FOR TICKET",
"id": "RibbonPanel"
}
]
}
If you see, in non working scenario, 2 commands are not coming in response which might be causing this issue,