This document describes the procedures required for configuring the Secret Double Octopus solution as an external authentication method (EAM) for the Microsoft Entra admin center. After successful integration, users will be able to log into the Entra admin center using the Octopus platform for two-factor authentication.


Prerequisites

The integration described in this document requires Octopus Authentication Server version 6.6 (or higher).


Integration Workflow

Configuration of the EAM in Microsoft Entra ID involves the following sequential phases:

Creating the Entra ID EAM Service

The following procedure explains how to create the required service in the Octopus Management Console. Some of the service settings will be used later in the Entra admin center configuration.


To add and configure the Entra ID EAM service:

  1. From the Octopus Management Console, select the Services menu and click Add Service. In the Entra ID tile, click Add.


    image3.png


    Then, in the dialog that opens, click Create.


    CreateEntraIDService.png


  2. Review and configure the following settings in the General Info tab:


    Setting

    Description

    Service Name

    Display name to identify the service provider (e.g., Entra ID EAM).

    Issuer

    Issuer of the service (e.g., Entra ID).

    Description

    Enter a brief note about the service.

    Display icon

    This icon will be displayed on the Login page for the service. To change the default icon, click and upload the image of your choice (supported size 128x128 pixels).



    EntraID_GeneralInfo.png


    Then, click Save.

  3. Open the Sign On tab and copy the following settings for later use:


    Setting

    Description

    Discovery Endpoint

    A URL pointing to a configuration document containing metadata about the OIDC provider, including URLs for authorization, token supply, user data and more

    Authorize Endpoint

    A redirect URL allowing Entra ID to authorize use of the external identity provider for authentication

    Client ID

    A unique identifier for the service called to handle the authentication request



    EntraIDSignOnSettings.png


  4. Open the Directories tab and select the checkboxes of the directories you want to integrate with the service. Then, click Save.


    image7.png


  5. Open the Users tab and click Add.


    image8.png


    A popup opens, with a list of directories displayed on the left.

  6. Expand the relevant directory and select the checkboxes of the groups and users that you want to add to the service. Then, click Save to close the popup.

    The groups and users you selected are listed in the Users tab.

  7. At the bottom of the Users tab, click Save. Then, from the toolbar at the top of the page, click PUBLISH and publish your changes.

Configuring the Entra ID Environment

The following sections describe how to configure the Microsoft Entra admin center for integration with Secret Double Octopus for passwordless authentication:

Adding and Configuring App Registration

Follow the procedure below to add an application registration that enables authentication against Entra ID.


To perform app registration:

  1. From your Microsoft Entra admin center, navigate to Applications > App Registrations.

    Then, at the top of the page that opens, click New registration.


    image9.png


  2. On the page that opens, configure the following settings:

    • Name: Enter a name for the app, e.g., SDO-MFA.

    • Redirect URL: Select Web. Then, in the field to the right, paste the Authorize Endpoint URL that you copied from the Entra ID service in the Octopus Management Console.


    image10.png


  3. At the bottom of the page, click Register to create the application.

  4. At the top of the application’s Overview page, copy the Application (client) ID for future use. Then, click Token configuration.


    image11.png


  5. At the top of the Token Configuration page, click Add optional claim.


    image12.png


  6. In the pane that opens, select ID as the Token type and upn as the Claim.

    Then, click Add.


    image13.png


  7. At the top of the window that opens, select the Turn on the Microsoft Graph profile permission checkbox, and click Add.


    image14.png


Adding the External Authentication Method

Follow the steps below to add Secret Double Octopus as an external authentication method in Entra ID. Before you begin, make sure that you have access to the following elements:

  • The Discovery Endpoint URL from the Entra ID service in the Octopus Management Console

  • The Client ID from the Entra ID service in the Octopus Management Console

  • The Application (client) ID from the application you created in the Microsoft Entra admin center

To add the EAM in Entra ID:

  1. From your Microsoft Entra admin center, navigate to Protection > Authentication methods.

    Then, at the top of the page that opens, click Add external method (Preview).


    image15.png


  2. At the top of the window that opens, enter a name for the EAM. Then, configure the following properties:

    • Client ID: Copy the value from the Entra ID service in the Octopus Management Console.

    • Discovery Endpoint: Copy the value from the Entra ID service in the Octopus Management Console.

    • App ID: Copy the Application (client) ID from the application you created in the Microsoft Entra admin center.


    image16.png


  3. Click Request permission. In the window that opens, approve the request for the external authenticator.


    image17.png


  4. Enable the method, select the target users and click Save.


    image18.png


Assigning Users and Groups to Enterprise Applications

The following procedure explains how to authorize users and groups to access the external authenticator application you created (Adding and Configuring App Registration).


To assign users and groups:

  1. From your Microsoft Entra admin center, navigate to Applications > Enterprise applications.


    image19.png


  2. Select the relevant application. On the Overview page, click Assign users and groups.


    image20.png


  3. At the top of the page that opens, click Add user/group. Then, add the groups and users that will have permission to use the external authentication app.


    image21.png


Running the Solution

Perform the following steps to test the solution:

  1. From your browser, go to the Microsoft Entra admin center.

    On the Login screen, select or type your account name.


    image22.png


  2. Enter your password and click Sign in.


    image23.png


  3. In the window then opens, SDO as the authenticator.


    image24.png


    You will be redirected to SDO to authenticate as a second factor.

    image25.png

    Following successful authentication, you will be logged into the Entra admin center.

Footer - Secret Double Octopus