SAML to Entra #20374
Replies: 2 comments 2 replies
-
|
The error message is actually (the common causes guess for insufficient write permission is not correct in this case):
So check your configurations in Entra ID |
Beta Was this translation helpful? Give feedback.
-
|
Having just recently fought with this...and won...I think I can offer a solution. The key is actually in the documentation for the plugin:
The Note that it does not appear that the "groups" claim is translated ("group", singular is, "groups", plural, is not), so you'll need the full attribute name for group mapping. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm getting Netbox set up to log in via SSO to EntraID. I have the connection working partially, but am running into some issues.
Currently I click the Login via SSO button on the home page, am redirected to Microsoft's servers, then back to Netbox. I then get a Server Error stating:
`A file permission error was detected while processing this request. Common causes include the following:
Insufficient write permission to the media root. The configured media root is . Ensure that the user NetBox runs as has access to write files to all locations within this path.
The complete exception is provided below:
<class 'PermissionError'>
SAML2 backend SAML2CustomAttrUserBackend missing attribute: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
Python version: 3.12.3
NetBox version: 4.3.0
Plugins:
django3_saml2_nbplugin: 2.0
netbox_branching: 0.5.4
netbox_floorplan: 0.7.0`
I have ensured the entire /opt/netbox directory is owned by netbox:netbox with 755 permissions. It looks like I'm missing a media root entirely, though I do have the line in my config.py
MEDIA_ROOT = '/opt/netbox/netbox/media'.I appreciate any thoughts you may have. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions