2. Find the Domain URL and Generate a Secret Token

You need the following details for the connection settings of the Enterprise application that you create in Entra ID:
  • The Identity Domain URL
  • A secret token generated from the Client ID and Client Secret

Find the Domain URL

  1. Return to the Identity Domain where you are configuring Entra ID Synchronization.
  2. On the Identity Domain Details page, click Copy next to the Domain URL and make a note of it.

Generate Secret Token

  1. Click Integrated Applications.
  2. Click the confidential application you created for Entra ID synchronization.
  3. Click OAuth Configuration.
  4. Under General Information, copy the value next to Client ID and make a note of it.
  5. Under Client Secret, locate the three dots (ellipsis) next to Show secret and then select Copy. Note this value as the Client Secret.
  6. The secret token is the base64 encoding of <clientID>:<clientsecret>.

    In a Microsoft Windows environment, open CMD and use this powershell command to generate the base64 encoded value:

    [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes(‘<client_id>:<clientsecret>’))

    In an Apple MacOS, use the following:

    echo -n <clientID>:<clientsecret> | base64

    Note:

    Substitute the <clientID> and <clientsecret> in the command with the values noted in the previous steps. Ensure there are no blank spaces when entering the client ID and client secret values.

  7. Copy the value returned by the command and make a note of this value. This value is the Secret Token.