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
To find your organization's My Domain name, go to Setup >> Quick Find: My Domain (see below).

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
If you are installing into a sandbox, then you will need the name of the sandbox as well. To find your sandbox name, (while logged into the sandbox) look at the top of any page (see below).

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).