Prepare Your Microsoft SharePoint Unstructured (Site Pages & Site Assets) Connection
To set up a SharePoint Unstructured (Site Pages & Site Assets) connection with Data 360, you need to provide some details. Gather this information before you get started.
Step 1 - Create an App Registration
To connect Salesforce and Microsoft, configure a Microsoft Azure app by completing steps 1–5 only.
Make note of the Application (client) ID and Directory (tenant) ID.
Step 2 - Grant SharePoint API Permissions
Go to your Azure Portal. In the app registration, go to API permissions.
Click Add a permission. Select SharePoint as the API, and choose Application permissions (not Delegated permissions) for all of the following.
Select the required permissions based on your preferred access level:
Option A - Broad Access
This option grants your application broad access to all SharePoint Sites, which is simpler to set up. Add the following Application permission:
Sites.FullControl.All (Application)
Option B - Secure Workaround (Restricted Access)
This option uses the more restrictive Sites.Selected permission, requiring an extra step to explicitly grant the application access to specific sites. Add the following Application permission:
Sites.Selected (Application)
Click Add permissions.
Click Grant admin consent for [your organization] to apply the permissions for whichever option you choose.
Grant App Access to a Specific SharePoint Site (For Option B Only)
If you choose the Sites.Selected permission, your application can’t access any site by default. Explicitly grant it access to the target site(s) before proceeding. This step requires a SharePoint or Global admin account with the Sites.FullControl.All scope.
Retrieve Site ID: Go to your SharePoint site and append /_api/site/id to the site URL. For example: https://yourcompany.sharepoint.com/sites/dottedcloud-integration-testing/_api/site/id. The API returns an XML response containing an Edm.Guid value — this is your short-form Site ID. For example, in the response <d:Id m:type="Edm.Guid">a1b2c3d4-e5f6-7890-abcd-ef1234567890</d:Id>, the Site ID is a1b2c3d4-e5f6-7890-abcd-ef1234567890.
Request App Permission: Use an API client like Postman, and send a POST request with the admin’s access token to grant your app access.
Request URL: POST https://graph.microsoft.com/v1.0/sites/{siteId}/permissions
-newkey rsa:2048: Generates a new 2048-bit RSA key
-nodes: Bypasses encrypting the private key so no password is required
-keyout key.pem: Outputs the private key file
-x509: Generates a self-signed certificate
-days 365: Makes the certificate valid for 1 year
-out cert.pem: Outputs the certificate file
The system prompts you to enter:
Country Name (a 2-letter code, such a US)
State or Province
Locality or City
Organization
Common Name (App name, domain, or identifier)
This action generates two files.
key.pem: Private key
cert.pem: Certificate
Create a password-protected .pfx file. This action bundles your public certificate, cert.pem, and private key, key.pem, into a single file for use during application setup. Run this command for Mac, Linux, or Windows with OpenSSL installed:
If a system asks for the private key, copy the text between -----BEGIN PRIVATE KEY----- and -----END PRIVATE KEY-----.
Save this private key because you need it later in the connection setup.
Tip: To copy the key easily, open the file in a text editor, such as VS Code, Notepad, or TextEdit.
Step 5 - Upload the Certificate to App Registration
Navigate to Azure Portal – App registrations.
Select your application.
Go to Certificates & secrets.
Under Certificates, click Upload certificate.
Upload the .cer (public certificate).
Save and confirm the certificate is listed.
Copy the Thumbprint.
Step 6 - Copy and Save the Certificate Thumbprint
On the Certificates & Secrets page, locate the uploaded certificate and copy its Thumbprint value.
Securely save the Thumbprint along with these items.
Client ID
Tenant ID
Private key, key.pem
You need the Thumbprint during the connector setup to identify the certificate.
Step 7 - Locate Your SharePoint Site Name
You need your SharePoint Site Name to construct the Base URI and create a data stream and connection. The Site Name is the identifier used in the SharePoint site URL. Ask your SharePoint administrator for this information, or locate it yourself:
Open the SharePoint site in your browser.
In the address bar, copy the value in the URL that appears after /sites/.