Skip to main content

SCIM Troubleshooting & FAQ

Beta Feature

SCIM is currently in beta for Passbolt Pro. It will be available for Passbolt Cloud once it exits beta.

Common issues with SCIM user provisioning and frequently asked questions.

Connection Issues

SCIM Endpoint Not Accessible

Symptoms:

  • Connection test fails in identity provider
  • Timeout errors when testing SCIM configuration
  • 404 or connection refused errors

Solutions:

  1. Verify SCIM endpoint URL format: https://your-passbolt-instance.com/scim/v2/<settings_id>
  2. Ensure HTTPS is properly configured
  3. Check firewall settings allow port 443
  4. Verify Passbolt server is running

Authentication Token Issues

Symptoms:

  • "Unauthorized" or "401" errors
  • "Invalid token" messages
  • Connection test fails with authentication error

Solutions:

  1. Verify token format: pb_[A-Za-z0-9]{43}
  2. Ensure "Bearer " prefix is included in authentication header
  3. Regenerate token in Passbolt if needed:
    • Go to Administration → SCIM Settings
    • Disable SCIM temporarily
    • Re-enable SCIM to generate new token
    • Update identity provider configuration

Provisioning Issues

Users Not Being Created

Symptoms:

  • Users assigned in identity provider but not appearing in Passbolt
  • Provisioning logs show "skipped" or "error" status

Solutions:

  1. Check required attribute mapping:
    • userName (must be unique email)
    • name.givenName
    • name.familyName
    • emails[0].value
  2. Ensure source users have valid email addresses
  3. Review identity provider provisioning logs for specific errors

Users Created but Not Activated

Symptoms:

  • Users appear in Passbolt but remain in "invitation pending" status
  • Users cannot log in despite being provisioned

Solutions:

  1. Check Passbolt email configuration
  2. Verify email delivery (check spam folders)
  3. Send welcome email manually from Passbolt if needed

Users Not Being Updated

Symptoms:

  • Changes in identity provider not reflected in Passbolt
  • User information remains outdated

Solutions:

  1. Verify "Update User Attributes" is enabled in identity provider
  2. Check attribute mapping for update operations
  3. Review provisioning logs for update attempts

Identity Provider Specific Issues

Microsoft Entra ID

Provisioning Delays:

  • Azure runs provisioning cycles every 40 minutes
  • Use "Provision on demand" for immediate testing

Connection Issues:

  • Verify SCIM endpoint URL includes settings_id
  • Check authentication token format

Okta

API Connection Issues:

  • Verify Base URL format includes settings_id
  • Check Bearer token format

Provisioning Not Starting:

  • Verify application is activated
  • Check that users are assigned to the application

Frequently Asked Questions

General Questions

Which identity providers are supported?

  • Microsoft Entra ID (Azure AD)
  • Okta

What version of Passbolt do I need?

Passbolt Pro Edition version 5.5 or later.

How is SCIM different from LDAP directory sync?

FeatureLDAP Directory SyncSCIM User Provisioning
Target SystemsOn-premises directories (AD, OpenLDAP)Cloud identity providers (Azure AD, Okta)
ProtocolLDAPHTTP/HTTPS REST API
Real-time UpdatesScheduled synchronisationNear real-time provisioning
User ManagementFull user syncUser provisioning only
SetupMore complex configurationSimpler setup process

Configuration Questions

What information do I need from Passbolt?

  • SCIM Endpoint URL: https://your-passbolt-instance.com/scim/v2/<settings_id>
  • Authentication Token: Generated by Passbolt (format: pb_[A-Za-z0-9]{43})

How do I find the SCIM endpoint URL?

  1. Go to AdministrationSCIM Settings
  2. Enable SCIM if not already enabled
  3. The endpoint URL is displayed in the configuration

What if I lose my authentication token?

  1. Go to AdministrationSCIM Settings
  2. Temporarily disable SCIM
  3. Re-enable SCIM to generate a new token
  4. Update your identity provider configuration

User Management Questions

What user information is synchronised?

  • Username (must be unique email address)
  • First Name
  • Last Name
  • Email Address
  • Active Status (enabled/disabled)

Can I change a user's email address through SCIM?

No. Passbolt uses email as part of the user's cryptographic identity. Email update requests are rejected.

What happens when I delete a user in my identity provider?

SCIM follows a two-phase process:

  1. Phase 1 - Disable: User is disabled in Passbolt (soft delete)
  2. Phase 2 - Delete: After 30 days, user is permanently deleted

If the user cannot be deleted (sole owner of shared resources), the user remains disabled and administrators receive an email notification.

Can I manually create users when using SCIM?

Yes, but this may cause conflicts if the same user is later provisioned via SCIM.

Why can't I sync groups through SCIM?

Group synchronisation is not supported in the initial SCIM release.

How often does user synchronisation occur?

  • Microsoft Entra ID: Every 40 minutes by default
  • Okta: Near real-time updates
  • On-demand sync: Available in both providers for immediate testing

Troubleshooting Questions

Why is my connection test failing?

Common causes:

  • Incorrect SCIM endpoint URL (must include settings_id)
  • Wrong authentication token format
  • HTTPS not properly configured
  • Firewall blocking access
  • Passbolt server not running

Users are not being created - what should I check?

  1. Verify users are assigned to the application in your identity provider
  2. Check that required attributes (first name, last name, email) are populated
  3. Ensure attribute mapping is correct
  4. Review provisioning logs for specific error messages

Why are users created but not activated?

This is normal behaviour. Users created via SCIM:

  1. Are created in "invitation pending" status
  2. Receive a welcome email to complete account setup
  3. Must complete the account setup process to activate their account

How do I troubleshoot provisioning delays?

  • Microsoft Entra ID: Use "Provision on demand" for immediate testing
  • Okta: Check system logs for any processing delays
  • Both: Verify network connectivity and server performance

Getting Help

When contacting support, provide:

  1. Passbolt version and edition
  2. Identity provider and version
  3. Error messages from logs
  4. Steps to reproduce the issue
  5. Configuration details (without sensitive information)