AdvoLogix Matter Management

Web Application Registration (Azure® AD)

Updated Sep 28, 2021

To connect Salesforce® with SharePoint®, an authentication provider must first be set up in SharePoint.  AdvoLogix® supports two modes of authentication for SharePoint® to connect:

  1. SharePoint® Add-in - A web application registered within SharePoint online/Office 365 panel.
  2. Azure® Active Directory (AD) - An Azure® AD based web application registered within Azure® Management Console.

Which one you use is based on how your organization has set up your SharePoint® access.  This article will walk you through how to register a web application using Azure® AD.  To perform the steps needed, you must be an administrator who manages SharePoint® and access for employees.   If you do not have access to Azure® Management Console, then proceed with registering the application in the SharePoint® Add-in.  Otherwise, you can register your web application using Azure® AD.

Step 1

Log in to your Azure portal as an administrator.  Then, under Azure Services, select Azure Active Directory.

On the Active Directory page, select App registrations from the navigation menu on the left.  Then, click New Registration in the header menu.

Step 2

Input your information into the following form.

  1. Name - Enter a name for your application.
  2. Supported Account Types - Select the accounts in this organizational directory only (Single tenant).
  3. Redirect URI - Select Web as the redirect URL type and enter the redirect URL needed by AdvoLogix to authenticate with SharePoint® and copy the value to a text file. This URL will contain your organization's My Domain.  (For more information on My Domain, see this article.)  The URL structure will look like this:
    https://[your salesforce my domain]--shpoint.visualforce.com/apex/shpoint__ConnectSharePoint
  4. Select Register when you are ready to move to the next step.

Step 3

After the app is created, select Overview from the navigation menu on the left.  Copy the Application (client) ID and Directory (tenant) ID to a text file.  You will need these to complete the authentication configuration later in Salesforce®.

Step 4

From the navigation menu on the left, select Certificates & secrets, then select New Client Secret.  

Next, input the information needed for the client secret.

  1. Enter a description
  2. Select a duration
  3. Select Add to save your changes

Step 5

Copy and save the Value to a text file for later use.  This is the only time you will be able to copy/paste this particular text.  If you do miss this step, you will have to repeat Step 4.  

The Value text will be needed to complete the SharePoint configuration in Salesforce. (See Step 2)

Step 6

From the navigation menu on the left, select Authentication.  Then, under Platform configurations, select + Add a platform.

Step 7

  1. Select Web
  2. Enter the Redirect URIs from Step 2 (if it was not entered at that time)
  3. Select Configure to move to the next step

Step 8

Under the Implicit grant and hybrid flows, enable Access tokens and ID tokens checkboxes.  Then, in the header menu click Save.

Step 9

From the left panel, click API Permissions, the select + Add a permission.

Step 10

  1. Select SharePoint
  2. Choose Delegated permissions
  3. Expand the AllSites grouping and enable the following permissions:
    • AllSites.Read
    • AllSites.Write
  4. Select the Add Permissions button

Step 11

Click Grant admin consent for [your company name].

Confirm by selecting Yes.

Previous Article Web Application Registration (SharePoint® Add-in)
Next Article Setup the SharePoint® Configuration in Salesforce®
Still need help? Contact Us