Tutorial: Configure TheOrgWiki for automatic user provisioning

The objective of this tutorial is to demonstrate the steps to be performed in TheOrgWiki and Microsoft Entra ID to configure Microsoft Entra ID to automatically provision and de-provision users and/or groups to TheOrgWiki.

Note

This tutorial describes a connector built on top of the Microsoft Entra user provisioning service. For important details on what this service does, how it works, and frequently asked questions, see Automate user provisioning and deprovisioning to SaaS applications with Microsoft Entra ID.

Prerequisites

The scenario outlined in this tutorial assumes that you already have the following prerequisites:

  • A Microsoft Entra tenant.
  • An OrgWiki tenant.
  • A user account in TheOrgWiki with Admin permissions.

Assign users to TheOrgWiki

Microsoft Entra ID uses a concept called assignments to determine which users should receive access to selected apps. In the context of automatic user provisioning, only the users and/or groups that have been assigned to an application in Microsoft Entra ID are synchronized.

Before configuring and enabling automatic user provisioning, you should decide which users and/or groups in Microsoft Entra ID need access to TheOrgWiki. Once decided, you can assign these users and/or groups to TheOrgWiki by following the instructions here:

Important tips for assigning users to TheOrgWiki

  • It's recommended that a single Microsoft Entra user is assigned to TheOrgWiki to test the automatic user provisioning configuration. More users and/or groups may be assigned later.

  • When assigning a user to TheOrgWiki, you must select any valid application-specific role (if available) in the assignment dialog. Users with the Default Access role are excluded from provisioning.

Set up TheOrgWiki for provisioning

Before configuring TheOrgWiki for automatic user provisioning with Microsoft Entra ID, you'll need to enable SCIM provisioning on TheOrgWiki.

  1. Sign in to your TheOrgWiki Admin Console. Click on Admin Console.

    Screenshot of Org Wiki with the user avatar and the Admin Console called out.

  2. In Admin Console, Click on Settings tab.

    Screenshot of the The Org Wiki Admin Console with the Settings tab called out.

  3. Navigate to Service Accounts.

    Screenshot of the Service Accounts page in the Org Wiki Admin Console.

  4. Click on +Service Account. Under Service Account Type, select Token Based. Click Save.

    Screenshot of the New Service Account dialog box with the Service Account Type, Token Based, and Save options called out.

  5. Copy the Active Tokens. This value is entered in the Secret Token field in the Provisioning tab of your TheOrgWiki application.

    Screenshot of the Manage Tokens for S C I M provisioning dialog box.

To configure TheOrgWiki for automatic user provisioning with Microsoft Entra ID, you need to add TheOrgWiki from the Microsoft Entra application gallery to your list of managed SaaS applications.

  1. Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator.

  2. Browse to Identity > Applications > Enterprise applications > New application.

  3. In the Add from the gallery section, type TheOrgWiki, select TheOrgWiki in the results panel.

    TheOrgWiki in the results list

  4. Select the Sign-up for TheOrgWiki button which will redirect you to TheOrgWiki's login page.

    Screenshot of The Org Wiki login page with the URL called out

  5. In the top right-hand corner, select Login.

    Screenshot of the upper-right corner of the login page with the Log In option called out.

  6. As TheOrgWiki is an OpenIDConnect app, choose to log in to OrgWiki using your Microsoft work account.

    Screenshot of the The Org Wiki sign in page with the Sign in with Microsoft option called out.

  7. After a successful authentication, the application will be automatically added to your tenant and you'll be redirected to your TheOrgWiki account.

    OrgWiki Add SCIM

Configure automatic user provisioning to TheOrgWiki

This section guides you through the steps to configure the Microsoft Entra provisioning service to create, update, and disable users and/or groups in TheOrgWiki based on user and/or group assignments in Microsoft Entra ID.

To configure automatic user provisioning for TheOrgWiki in Microsoft Entra ID:

  1. Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator.

  2. Browse to Identity > Applications > Enterprise applications

    Enterprise applications blade

  3. In the applications list, select TheOrgWiki.

    The OrgWiki link in the Applications list

  4. Select the Provisioning tab.

    Screenshot of the Manage options with the Provisioning option called out.

  5. Set the Provisioning Mode to Automatic.

    Screenshot of the Provisioning Mode dropdown list with the Automatic option called out.

  6. Under the Admin Credentials section, input https://<TheOrgWiki Subdomain value>.theorgwiki.com/api/v2/scim/v2/ in Tenant URL.

    Example: https://test1.theorgwiki.com/api/v2/scim/v2/

Note

The Subdomain Value can only be set during the initial sign-up process for TheOrgWiki.

  1. Input the token value in Secret Token field, that you retrieved earlier from TheOrgWiki. Click Test Connection to ensure Microsoft Entra ID can connect to TheOrgWiki. If the connection fails, ensure your TheOrgWiki account has Admin permissions and try again.

    Tenant URL + Token

  2. In the Notification Email field, enter the email address of a person or group who should receive the provisioning error notifications and check the checkbox - Send an email notification when a failure occurs.

    Notification Email

  3. Click Save.

  4. Under the Mappings section, select Synchronize Microsoft Entra users to TheOrgWiki.

  5. Review the user attributes that are synchronized from Microsoft Entra ID to TheOrgWiki in the Attribute- Mapping section. The attributes selected as Matching properties are used to match the user accounts in TheOrgWiki for update operations. Select the Save button to commit any changes.

    TheOrgWiki User Attributes.

  6. To configure scoping filters, refer to the following instructions provided in the Scoping filter tutorial.

  7. To enable the Microsoft Entra provisioning service for TheOrgWiki, change the Provisioning Status to On in the Settings section.

    Provisioning Status Toggled On

  8. Define the users and/or groups that you would like to provision to OrgWiki by choosing the desired values in Scope in the Settings section.

    Provisioning Scope

  9. When you're ready to provision, click Save.

    Saving Provisioning Configuration

This operation starts the initial synchronization of all users and/or groups defined in Scope in the Settings section. The initial sync takes longer to perform than subsequent syncs. For more information on how long it takes for users and/or groups to provision, see How long will it take to provision users.

You can use the Current Status section to monitor progress and follow links to your provisioning activity report, which describes all actions performed by the Microsoft Entra provisioning service on TheOrgWiki. For more information, see Check the status of user provisioning. To read the Microsoft Entra provisioning logs, see Reporting on automatic user account provisioning.

More resources

Next steps