To set up the SharePoint integration, you will need to assemble a redirect url with the instructions below.
Assemble the URL for a Production Org
The URL structure will look like this:
https://[my domain name]--shpoint.vf.force.com/apex/ConnectSharePoint
Assemble the URL for a Sandbox
The URL structure will look like this:
https://[my domain name]--[sandbox name]--shpoint.sandbox.vf.force.com/apex/ConnectSharePoint
Assemble the URL for Other Org Types
The URL structure will look like this:
https://[your salesforce my domain]--shpoint.[domain partition value].vf.force.com/apex/ConnectSharePoint
| Org Type | Domain Partition Value |
|---|---|
| Scratch Org | scratch |
| Developer Org | develop |
The Redirect URL assembled above should be added within the SharePoint Admin Portal (SharePoint add-in/Azure-AD) and SharePoint Setup (within Salesforce).

