Integrate SharePoint with Outbridge

Integrating SharePoint with Outbridge involves securely connecting your application to access SharePoint resources. The process involves registering an application in Microsoft Entra ID (Azure AD) and creating a certificate for secure authentication.

Prerequisites  #

Ensure that you have all required accounts and utilities before starting the configuration. 

  • PowerShell. 
  • Microsoft Management Console (mmc.exe). 
  • An account with admin permissions to SharePoint capable of creating an application registration on Microsoft Entra ID. Additionally, you must have a valid certificate with a private key or sufficient permissions to create a self-signed certificate in your Windows environment.

Step 1: Registering an application

  1. Go to the Azure portal. 
  2. Log in to your account. 
  3. On the portal, select Microsoft Entra ID.
image.png
  1. From the displayed menu, select App registrations > New registration.
  2. Provide the name for a new app and leave other settings as default. 
  3. Select Register.
image.png
  1. The page with the details of a newly created app is displayed. 
  2. Copy the Application (client) ID to Notepad.
image.png

Step 2: Providing the permissions 

  1. From the sidebar menu, select API permissions. 
  2. Select Add a permission. 
  3. From the displayed list of permissions, choose the SharePoint.
==image_0==.png
  1. On the displayed page, select Application permissions. 
  2. Expand the Sites and select the Sites Full Control checkbox. 
  3. Select Add permissions. 
  4. After the permission is added, select Grant admin consent for your team. 
  5. In the confirmation window, select Yes.

Step 3: Generating a certificate

Note: By default, the certificate is valid for 1 year from the day of issue.

  1. From the sidebar menu, select Certificates & secrets. 
  2. On your PC, run PowerShell using an admin account. 
  3. Run the following command in the PowerShell command line:
$extensions = @( 
      '2.5.29.37={text}1.3.6.1.5.5.7.3.2'  # Client Authentication 

) 

$params = @{  
DnsName = 'SharepointDemoCert'  
CertStoreLocation = 'cert:\LocalMachine\My'  
TextExtension = $extensions 
Provider = 'Microsoft Enhanced RSA and AES Cryptographic Provider'
}  
New-SelfSignedCertificate @params
  1. Open the Microsoft Management Console (mmc.exe). 
  2. In the mmc.exe console, select File > Add/Remove Snap-ins. 
  3. In the displayed window, select Certificates > Add.
image.png
  1. Select Computer account > Next > Local computer. 
  2. Select Finish. 
  3. Select OK. The certificate was added to the Certificates folder in the console.

Step 4: Exporting a certificate with a private key

  1. In the mmc.exe console, select Console Root. 
  2. From the sidebar menu, select Certificates > Personal > Certificates. 
  3. In the Certificates folder, select the newly created certificate for SharePoint. 
  4. Invoke the context menu and select All tasks > Export. 
  5. In the displayed window, select Next > Yes, export the private key > Next. 
  6. Select Personal Information Exchange with the default settings. 
  7. Select Next.
image.png
  1. In the displayed window, select the Password checkbox. 
  2. Specify a new password for the certificate and select Next. 
  3. In the File name, specify the name for the exported certificate. 
  4. Select Browse to choose the appropriate location for certificate export on your PC. 
  5. Select Next > Finish and then OK.

Step 5: Exporting a certificate with a public key

After you export the first certificate with the private key, you should export the certificate with the public key 

  1. Repeat steps 1-4 from the previous topic. 
  2. In the displayed window, select Next > No, do not export the private key > Next. 
  3. Select DER encoded binary X.509 (.CER) > Next. 
  4. In the File name, specify the name for the certificate. 
  5. Select Browse to choose the appropriate location on your PC for the exported certificate. 
  6. Select Next > Finish and then OK.

Step 6: Importing the certificate with a public key

  1. Go to the Azure portal > Microsoft Entra ID > Application registrations. 
  2. Select the application you have registered previously. 
  3. Select Certificates & secrets > Certificates.
image.png
  1. Select Upload certificate. 
  2. Select the exported public certificate from your PC location. 
  3. Provide a description of the certificate, then select Add.

The certificate was added to the Azure portal.

Book a 30-min review