This article is for ShareKnowledge 12.0.

In this article, you will learn how to set up ShareKnowledge 12.0 for allowing users to electronically sign courses by entering login and password when Azure AD authentication is used.

  1. Configure Azure AD authentication as explained in the “How to Set Up AzureAD Authentication” section of “ShareKnowledge 12.0 Install Guide” (download). According to this section, you will need to register a new application in your Azure Active Directory, and add the app registration data to the “Web.config” file of the IIS site where you have installed ShareKnowledge.

  2. Then create and configure a native application in your Azure Active Directory as follows:

    • Go to your Active Directory, click “App Registrations”, and click “New Registration”.
      Image Placeholder

    • Fill out the app registration form:

      • Specify a name for this native application.
      • In the “Supported Account Types” section, select account types that your app will work with. “Accounts in this organizational directory only (… single tenant)” is the preferred mode in most cases.
      • In the “Redirect URI” section, select the “Public client/native (mobile & desktop)” item from the drop-down list and leave the field to the right blank.
      • Then click “Register”.
        Image Placeholder

    • Go to the “Authentication” page:

      • In the “Platform configurations” section, click the “Add a Platform” button.
        Image Placeholder
      • Select “Mobile and Desktop Applications”.
        Image Placeholder
      • Check the “… (MSAL Only)” box and click “Configure”.
        Image Placeholder
      • Then select “Yes” from the “Allow Public Client Flows” option, which is located at the bottom of the page, and click “Save”.
        Image Placeholder

    • Go to the “API Permissions” page:

      • Click “Grant Admin Consent …”, click “Yes” in the confirmation popup window.
        Image Placeholder

    • Go to the “Overview” page:

      • Copy the “Application (client) ID” to the clipboard.
        Image Placeholder
      • Paste it into the “Deployment.Authentication.AzureAD.Native.ApplicationId” system property.
        Image Placeholder

      • Recycle the ShareKnowledge application pool.