Microsoft Multi-Factor Authentication (MFA) Support

 
 

Microsoft Multi-Factor Authentication Support

NetForum provides an addition level of security support to your iWeb application by allowing the user to authenticate iWeb using the Microsoft Multi-Factor Authentication (MFA). Using this feature, the iWeb user can log in to the iWeb application using their Microsoft credentials generated through the Azure active directory. The following tasks will help you in completing the initial setup for your iWeb application to be able support the Microsoft Multi-Factor Authentication and add new users in Azure Active Directory. This will also cover the changes required in the web.config file of iweb for the application settings.

User Record Prerequisite

For users to successfully log in to NetForum via Azure Active Directory (AD) Single Sign-On (SSO), a corresponding user record must already exist in the NetForum database (e.g., in the fw_user table). If an Azure AD authenticated user does not have a pre-existing NetForum user record, they will encounter an error stating ‘This page isn’t working’. Please ensure all Azure AD users are provisioned with a NetForum user profile beforehand to avoid this issue.

Setting up NetForum Application in Azure Tenant

In order to have Multi-Factor Authentication support for your iWeb application, you need to complete the App registration for your iWeb application in Azure tenant. This section contains the information to set up NetForum iWeb application in Azure Tenant.

To perform the below-mentioned task you must have the following privileges:

    • As an administrator of your association, you need to have administrator access to the Azure portal.

    • Access to NetForum iWeb web.config file.

 

To set up NetForum Application in Azure Tenant:

1. Login to Azure portal.

2. Navigate to the App registrations page to register your app.

3. Select the New registration.

4. On the Register an application page, set the values as follows.

    1. Enter a Name for the application. For example, NetForumapp.
    2. Set the Supported account types to Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox).
    3. In the Redirect URI section, ensure that Web is selected in the drop down and then set the URI to {site}/iWeb/Auth.

Note: The host name in the redirect URI (site) may be different on your cloud machine.

5. Select the Register button.

On successful completion of the registration, you will be redirected to the App registrations Overview page.

Note down the Application (client) ID and Directory (tenant) ID from the App registrations page, these details will be required while updating the web.config file.

On the App registrations page, go to the Manage section and the select Authentication tab, make sure the ID tokens check box is selected.

Make sure the 'ID tokens' checkbox is selected on the Authentication page (accessible from the App registrations page > Manage section > Authentication link, or by searching for 'Authentication').

MFA ID tokens check box selected.png

 

Updating the iWeb Web.Config File

Once the Application (client ID) and Directory (tenant) ID of App registration is completed in Azure Tenant, then the admin user is required to update these details in the iWeb web.config file. The following steps will guide you in updating the appsettings in iWeb web.config file.

To update the appsettings in iWeb, edit the web.config file as follows:

1. Go to iWeb\web.config.

2. Open the web.config file in a text editor.

3. Search for the appsettings tag. You will find the appsettings section:

4. In the appsettings, fill in the below values

    • ClientId : Application (client) ID of App Registration

    • Tenant : Directory (tenant) ID of App Registration

    • Authority : “https://login.microsoftonline.com/{0}/v2.0”

    • redirectUri : URL where the user is redirected after login is successfully done

<add key="ClientId" value="{clientid}" />

<add key="Tenant" value="{tenantid}" />

<add key="Authority" value="https://login.microsoftonline.com/{0}/v2.0" />

<add key="redirectUri" value="{site}/iWeb/Auth" />

5. Save web.config.

 

In the authentication mode of the iWeb web.config you must use one of the below loginUrl:

  • If you are using Microsoft Authentication, then use "~/Auth "

  • If you are using existing NetForum form Authentication, then use "~/login.aspx"

 

Adding New User in Azure Active Directory

The following steps will help you in setting up a staff user’s account in Azure Active Directory for the Microsoft Multi-Factor Authentication.

To add a new user in Azure Active Directory:

1. Sign in to the Azure portal in the User Administrator role for the organization.

2. Search for and select the Azure Active Directory services.

3. Select Users, and then select the New user.

4. On the New user page, enter information for this user.

5. Copy the autogenerated password provided in the Initial Password field. You will need to give this password to the user to sign in for the first time.

6. Select the Create button.

The user is created and added to your Azure Active Directory organization.

 

Enabling Multi-Factor Authentication for a User

After adding a user to the Azure Active Directory, as an admin user you are required to enable the Multi-Factor Authentication for the user. The following steps will guide you in enabling the Multi-Factor Authentication for a user.

To enable Multi-Factor Authentication for a user:

1. Sign in to the Azure portal in the User Administrator role for the organization.

2. Search for and select the Azure Active Directory services.

3. Select Users under the Manage section.

4. Select the Per-User MFA to display the list of the user to enable MFA.

5. Select the user or list of users and then select the Enable link.

6. From the displayed pop-up, select the enable multi-factor auth button to enable MFA for selected list of users.

The following message will be displayed once the update is successfully completed.

7. Select the Close button.

8. You can view the status as enabled for the selected users.

 

Setting up a User for Microsoft Authenticator in iWeb

Once you get your username and password generated in Azure Active Directory from your admin, you are required to set-up Microsoft Authenticator initially. The following steps will guide you in completing the set-up task.

To set up a user for Microsoft Authenticator in iWeb:

1. Open the iWeb site that is registered for MFA in Azure Portal. The following Login page with the Sign in with Microsoft button will be displayed. Click the Sign in with Microsoft button.

2. On the Microsoft Sign in form, enter the valid username/user ID.

Make sure the user is associated with the Azure active directory and MFA is configured for it.

3. On the displayed form, enter the password that was generated through the Azure Active Directory and then click the Sign in button.

4. Update your password and click the Sign in button.

5. Click the Next button to complete the Microsoft authentication setup process or you can skip for now using the Skip for now link.

Once you click the Next button, you will be directed to the Microsoft Authenticator page. Follow the instructions displayed on the page to complete the set up for Microsoft Authentication using the Microsoft Authenticator app on your smartphone device.

6. Download and install the Microsoft Authenticator app on your smartphone device as stated in the following screenshot. Click the Next button if you already installed the app on your smartphone device.

7. On the displayed page, follow the instructions and click the Next button to complete the setup on your smartphone.

8. The displayed page contains a unique QR Code, scan the QR code using the Microsoft Authenticator app.

    1. On your smartphone device tap the Add account option available on the More menu (three dots icon) and if prompted select the Work or school account option.
    2. On the displayed pop-up, tap the Scan a QR code option. Scan the QR code and your user account will be displayed on the screen.

9. Click the Next button on your system once you complete the QR scan task.

10. While you are on the following page, an Approve sign-in? notification will pop up on your smartphone device for approval request. Tap the Approve button to sign in or Deny to cancel the sign in task.

11. On approving the request through your smartphone device, you will be directed to the following page stating Notification approved. Click the Next button.

On completion of the authentication set up task, the system will display Success! message.

12. Click the Done button, and you will be directed to the following page. You can select Yes if you wish to stay signed in (This will reduce the number of times you are asked to sign in.)

The system lets you to log into the iWeb application.

iWeb Sign in Process with Multi-Factor Authentication

Once the Microsoft Multi-Factor Authentication setup is completed for the first time for a staff user, then the staff user has to use the Microsoft Azure Directory generated username every time logging into iWeb and get the access request approved from their Microsoft Authenticator app.

To sign in to iWeb:

1. Open the iWeb site that is registered for MFA in Azure Portal. The following Login page with the Sign in with Microsoft button will be displayed. Click the Sign in with Microsoft button.

2. If you have multiple users configured for the iWeb site, the system will display the users and you are required to pick the user that you wish to continue with. Click the desired user account.

Make sure the user is associated with the Azure active directory and MFA is configured for it.

3. On the displayed Microsoft Sign in form, enter the valid username and click the Next button.

4. On the displayed form, enter the valid password and then click the Sign in button.

5. Once you click the Sign in button, you will be directed to the Approve sign in request form. An Approve sign-in? notification will pop up on your smartphone device for approval request. Tap the Approve button to sign into iWeb.

6. On the displayed form, click the Yes button if you wish to stay signed in (This will reduce the number of times you are asked to sign in.) or click the No button if you are fine to sign in every time the system asks you for.

The following Signing in page will be displayed with your username.

The system lets you log into the iWeb application.

Note: You will receive the following error message if the user is not associated with the Azure Active Directory and asks you to use different account.

 

Multi-Factor Authentication (MFA) User Security Group Configuration

This section provides details on how user security groups are handled when users log in for the first time via Microsoft Authentication after MFA has been configured. When a user logs in through Microsoft Authentication for the first time, a new user account is automatically created. This account will initially only be assigned to the "netForum User" security group.

Important Considerations:

  • Prior Security Groups Not Carried Over: The system does not automatically transfer any additional security groups from a user's prior account (e.g., a pre-MFA account) to their new MFA-enabled user profile.
  • Manual Assignment Required: You will need to manually update each user account with their appropriate security groups after their initial MFA login.

Recommended Process for Security Group Management: To manage this process efficiently and ensure continuous access for your administrators, we recommend the following steps:

  1. Convert an Admin User First: Begin by having one of your administrative users (e.g., your primary NetForum administrator) log in through Microsoft Authentication to create their new MFA-enabled user profile.
  2. Contact Support for Admin Access: Reach out to the NetForum Support Team to have their newly created user account updated to include the "NetForumAdmin" security group. This is a critical step to ensure your administrator retains full access.
  3. Administrator Assigns Security Groups: Once your designated administrator has "NetForumAdmin" permissions, they can then manage the security group assignments for all subsequent users. As other users log in via Microsoft Authentication for the first time (thereby creating their new profiles), your administrator can grant them the appropriate security groups they require.

This process ensures a controlled transition for user accounts and security permissions when implementing MFA with Microsoft Authentication. 

Related Article:

Set User Security – NetForum Support

Was this article helpful?
0 out of 0 found this helpful