User Info and List Users getting permission denied after enabled SSO with O365 #32299
-
User Info and List Users getting permission denied after enabled SSO with Microsoft O365, tested with Gamma/Public/Admin roles. Is there any way to fix this? Superset Version: 4.1.1 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
Hey @murugesanthirumal, I'm here to help you with your Superset issue! Let's tackle this together. 🤖 The "User Info" and "List Users" actions in Superset require specific permissions. For "User Info," the resource accessed is If you're experiencing permission issues after enabling SSO with Microsoft O365, it might be due to improper role mapping or permission settings in your SSO configuration. Here are a few steps you can take to troubleshoot and potentially resolve the issue:
If these steps do not resolve the issue, you may need to further investigate the integration settings between Superset and Microsoft O365 to ensure compatibility and correct configuration. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
The error message you're encountering suggests that the
add_permission_role
method is expecting aPermissionView
object rather than a string. Here's how you can modify the script to correctly add the permission:PermissionView
object is created or retrieved before associating it with the role.Here's an updated version of the script: