VisibleThread 7 can integrate with eBuy using a Microsoft 365 shared mailbox. eBuy forwards opportunities and documents to the shared mailbox, and VisibleThread connects to the mailbox using the Microsoft Graph API.
The setup consists of three main steps:
- Configure a Microsoft 365 shared mailbox and Microsoft Entra application.
- Configure the eBuy integration in VisibleThread 7.
- Configure your eBuy accounts to forward opportunities and documents to the shared mailbox.
Prerequisites
Before starting, ensure you have:
- Access to the Microsoft 365 tenant where the shared mailbox is hosted.
- Permissions to create or manage Microsoft Entra app registrations.
- Permissions to configure Microsoft Graph API permissions and grant admin consent.
- A Microsoft 365 shared mailbox for the eBuy integration.
- Access to the eBuy account or accounts that will forward opportunities and documents.
- VisibleThread system administrator access.
Step 1: Configure Microsoft 365 and Microsoft Entra
Create or identify the shared mailbox
Create or identify the Microsoft 365 shared mailbox that will receive opportunities and documents forwarded from eBuy.
For example:
ebuy@example.com
Make a note of the shared mailbox email address. You will use this address when configuring both VisibleThread and eBuy.
Create a Microsoft Entra app registration
- Sign in to the Microsoft Entra admin center.
- Navigate to App registrations.
- Select New registration.
- Enter a descriptive name for the application, such as:
VisibleThread eBuy Integration
- Select Accounts in this organizational directory only (Single tenant).
- Select Register.
After the application is created, open its Overview page and make a note of:
- Application (client) ID — this will be used as the Client ID in VisibleThread.
- Directory (tenant) ID — this will be used as the Tenant ID in VisibleThread.
Configure authentication
VisibleThread supports two methods for authenticating with the Microsoft Entra application:
- Client secret
- PFX certificate
Configure one of the following options.
Option 1: Client secret
From the Microsoft Entra app registration:
- Select Certificates & secrets.
- Select Client secrets.
- Select New client secret.
- Enter a description for the secret.
- Select an expiration period appropriate for your organization's security policy.
- Select Add.
- Copy the value displayed in the Value column.
Important: Copy and securely store the client secret value when it is created. You will need this value when configuring VisibleThread.
The expiration date of the client secret determines when the secret will need to be replaced in both Microsoft Entra and VisibleThread.
Option 2: PFX certificate
If your organization uses certificate-based authentication, create a certificate containing an exportable private key.
For example, the following PowerShell commands create a self-signed certificate and export both the public .cer certificate and private .pfx certificate:
$certificateName = "VisibleThread-eBuy"
$certificatePassword = Read-Host "Enter certificate password" -AsSecureString
$certificate = New-SelfSignedCertificate `
-Subject "CN=$certificateName" `
-CertStoreLocation "Cert:\CurrentUser\My" `
-KeyExportPolicy Exportable `
-KeySpec Signature `
-KeyLength 2048 `
-KeyAlgorithm RSA `
-HashAlgorithm SHA256
Export-Certificate `
-Cert $certificate `
-FilePath "$env:USERPROFILE\Desktop\$certificateName.cer"
Export-PfxCertificate `
-Cert $certificate `
-FilePath "$env:USERPROFILE\Desktop\$certificateName.pfx" `
-Password $certificatePassword
This creates:
- A
.cerfile containing the public certificate. - A
.pfxfile containing the private certificate. - A password protecting the
.pfxfile.
Return to the Microsoft Entra app registration:
- Select Certificates & secrets.
- Select Certificates.
- Select Upload certificate.
- Upload the
.cercertificate. - Enter a description if required.
- Complete the upload.
Keep the following for the VisibleThread configuration:
- The
.pfxcertificate. - The PFX certificate password.
Important: Store the
.pfxcertificate and its password securely. The PFX file contains the private key used by VisibleThread to authenticate with Microsoft 365.
Configure Microsoft Graph permissions
From the Microsoft Entra app registration:
- Select API permissions.
- Select Add a permission.
- Select Microsoft Graph.
- Select Application permissions.
- Search for Mail.
- Select:
Mail.ReadWrite
- Select Add permissions.
- Select Grant admin consent for your organization.
- Confirm that admin consent has been granted successfully.
Important: The eBuy integration requires the Application permission type rather than a delegated user permission.
You should now have the following information available for configuring VisibleThread:
- Shared mailbox email address
- Tenant ID
- Client ID
- Client secret or PFX certificate and password
Step 2: Configure eBuy in VisibleThread 7
Sign in to VisibleThread 7 as a system administrator and open the eBuy integration settings.
Enable the eBuy integration.
Protocol
Select:
MS Graph (Outlook 365)
Microsoft Login URL
Enter:
https://login.microsoftonline.com
Microsoft Graph URL
Enter:
https://graph.microsoft.com
Mailbox Username
Enter the email address of the shared mailbox configured in Step 1.
For example:
ebuy@example.com
Tenant ID
Enter the Directory (tenant) ID from the Microsoft Entra app registration.
Client ID
Enter the Application (client) ID from the Microsoft Entra app registration.
Choose an authentication method
Configure the same authentication method that you configured in Microsoft Entra.
Option 1: Client secret
Set Authenticate with Certificate to Off.
Enter the client secret value created in Step 1 into the Client Secret field.
Option 2: PFX certificate
Set Authenticate with Certificate to On.
Enter the password for the .pfx certificate in the PFX Certificate Password field.
Under PFX Certificate, click Choose File and upload the .pfx certificate created in Step 1.
Test the connection
After entering the configuration:
- Click Test Connection.
- Confirm that VisibleThread successfully connects to the Microsoft 365 shared mailbox.
- Click Save Changes.
Important: Resolve any connection errors before proceeding with the eBuy configuration.
Step 3: Configure forwarding in eBuy
After the Microsoft 365 and VisibleThread configuration is complete, sign in to each eBuy account that will be used with the integration.
Configure the account to forward the required opportunities and documents to the shared mailbox configured in Step 1.
For example:
ebuy@example.com
Repeat this configuration for each eBuy account that should send opportunities or documents to VisibleThread.
Important: The forwarding address configured in eBuy must match the Mailbox Username configured in the VisibleThread eBuy integration.
Verify the integration
After completing the configuration, perform an end-to-end test:
- Confirm that Test Connection succeeds in the VisibleThread eBuy settings.
- Send or forward a test opportunity or document from eBuy.
- Confirm that the email is delivered to the Microsoft 365 shared mailbox.
- Confirm that VisibleThread retrieves and processes the forwarded opportunity or document.
If the email reaches the shared mailbox but is not processed by VisibleThread, verify:
- The shared mailbox address.
- Microsoft Graph
Mail.ReadWriteapplication permission. - Microsoft Entra admin consent.
- The mailbox access policy.
- Tenant ID.
- Client ID.
- Client secret or PFX certificate configuration.
- Whether the configured client secret or certificate has expired.