We are having issues with the execution of PowerShell scripts that have security permissions based on roles applied to them, when they are executed from within a context menu within Content Editor.
When the script is clicked, the script window does not open, and the page is refreshed and reset to the root.
This is only happening for Azure Active Directory users. If we use regular Sitecore user accounts that are members of the required roles, they are able to execute the scripts without any problems. We are using PowerShell Extensions 5.0.