Set up Microsoft 365 Cloud Office document Integration
This article will help you set up the Microsoft 365 part of the integration between Microsoft 365 and SuperOffice CRM Online.
Setting up Microsoft 365 SharePoint Integration has 2 parts:
- How to setup Microsoft 365 to integrate into CRM Online:
- Check if your SuperOffice CRM Online tenant is ready (pre-requisite step).
- Configure the integration in your Microsoft 365 SharePoint (steps 1 - 3).
- Enable the integration for your CRM Online site (step 4).
- Configure your templates in SuperOffice Admin (in this article).
If you would like to get assistance configuring the integration, sign up for Microsoft 365 Integration in the SuperOffice App Store (unpublished).
Before you begin
Ensure you meet the prerequisites and read the security considerations.
During set-up, some details must be collected. These details will be used as parameters for setting the new configurations for your SuperOffice CRM Online site.
- Your SuperOffice Online customer-specific URL, Cust ID (found in the browser URL while logged into SuperOffice Online), for instance,
http://online.superoffice.com/cust8123/
.
Note
Write down the number of the "cust"-part of the URL as "Cust ID".
- Your SuperOffice Online customer-specific URL, Cust ID (found in the browser URL while logged into SuperOffice Online), for instance,
To create new content types (see step 2), you need the SharePoint settings to allow user to run custom scripts activated < 24 h. before setup. You may perform the other steps in the meantime or create new content types at a later time.
How to activate Custom Script:
- Go to SharePoint admin center > settings tab > Custom Script section.
- Set settings to "Allow users to run custom script on self-service created sites".
For more information:
Step 1 - Create a document library in your Microsoft 365 SharePoint library
Note
The SuperOffice Archive folder needs to be a document library, and this document library needs to be located on the root of the SharePoint site, and not as a sub-site or a virtual site. See troubleshooting tips for more information.
Open Microsoft 365 and log in as an admin user, go to Microsoft 365 "Admin".
Go to SharePoint under "Microsoft 365 admin center" -> Admin centers.
Open the root area of your SharePoint tenant – by choosing 'Sites' -> 'Active sites' from the left-hand menu.
Note
Write down this URL as "SharePoint domain name URL=".
Example:
SharePoint domain name URL=https://[your_domain_name].sharepoint.com
Click the root address (
https://[your_domain_name].sharepoint.com
) from the Active sites list.Open Site contents from the menu.
Create a document library (used for SuperOffice documents) in the root area:
- Click New and choose Document library.
- Enter a name for your document library. Example:
SuperOffice_Archive
Note
Write down this name as "SO Archive Document Library Name="
This is the name of the document library. It will be the relative path of your document library to the root folder:
https://[your_domain_name].sharepoint.com/SuperOffice_Archive/
Example: "SO Archive Document Library Name=/SuperOffice_Archive/"
Make sure the document library exists on Root of SharePoint, and have correct access rights (minimum "Edit" ) for your users before continuing.
Create a 'template' folder (used for SuperOffice templates) in the SuperOffice Document library:
- Click New and choose Folder.
- Enter a name for your template folder. For example, Template
Note
Write down this name as "Template Folder Name="
Folder for templates, created inside the SuperOffice Document library. For example, Template Folder Name=Template
Make sure the folder exists, and have correct access rights for your users before continuing.
Step 2 – Setting up Document Content types in Microsoft 365 SharePoint
For creating new blank documents, spreadsheets, and presentations in SuperOffice CRM Admin (from a SharePoint template), we need to define several content types in SharePoint.
To create new content types, you need the SharePoint settings to "allow user to run custom scripts" activated < 24 h. before setup. You may perform the next steps in the meantime or create content types at a later time if you prefer.
This selection will fail if SuperOffice 'content types' are not set up in SharePoint:
Open Microsoft 365, and log in as an admin user, go to "Microsoft 365 admin center".
Go to Sharepoint under "Admin centers".
Open "Active sites", and open the root area – by clicking the link
https://[your_domain_name].sharepoint.com
from the list.Click the settings wheel-> Site Settings -> Site Content Types.
Click Create.
Set:
- Enter 'SuperOffice Blank Document' as name.
- Choose "Documents Content Types" / "Content types for documents" under 'Select parent content type from:'.
- Choose "Document" under 'Parent Content Type'.
- Enter SuperOffice as Group (Create the group if it's non-existing).
Click OK.
Navigate the list to your newly created content type and open it. Click Advanced settings.
Select 'Upload a new document template:'. Choose a blank document from your computer. (Either download a pre-created blank document or create a blank document from Office and stored locally).
Click OK.
Repeat step 6 - 13 for:
- SuperOffice Blank Spreadsheet (download .xlsx)
- SuperOffice Blank Presentation (download .pptx)
If you get an access error
For new UI:
Go to the Settings page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization. At the bottom of the page, select classic settings page. Confirm whether the settings are configured to "Allow users from running custom script".
For old UI:
Go to SharePoint admin center > settings tab > Custom Script section > confirm whether the settings are configured to "Allow users from running custom script".
- Set them to "Allow users to run custom script" to see the outcome. The SharePoint settings "Allow user to run custom scripts" can take < 24 h. before activated. You may perform the other steps in the meantime or create the content types at a later time.
Step 3 – Adding the SuperOffice Integrator App in Microsoft 365 SharePoint
1. Add or upload the app manually
Since we’re not in Office Store, we have to do this manually:
In "SharePoint admin center" - click "apps" from the menu.
Open "Customer apps" from the "Active sites" page (click URL) or go via "Advanced" and choose "Apps" -> "Apps catalog".
If you don’t have an App Catalog from before – choose to create a new one, for example:
* Title: Custom apps * Web Site Address: `https://[your_domain_name].sharepoint.com/sites/apps/` * Administrator: [any admin/currently logged-in user] * Server Resource Quota: 20
The App Catalog is now being created – and available to be used within about 5 minutes.
Download the SuperOffice SharePoint App SuperOffice.Microsoft 365.Integrator.app locally.
Choose "Apps for SharePoint" in the menu.
Click upload and choose the local file SuperOffice.Microsoft 365.Integrator.app.
Click OK. The App is now Uploaded – and available to be used on your SharePoint site within about 10 minutes.
To use the App on your SharePoint site - Add the App to the site
Go back to Grup Area: Open the Root area – by opening the link
https://[your_domain_name].sharepoint.com
from the Sharepoint admin centre menu by clicking the linkhttps://[your_domain_name].sharepoint.com
from the listClick Site contents in the menu:
Click New from the dropdown inside the Grup Area, and choose App.
Inside "Your Apps" – Apps you can add – you should now see "SuperOffice Online Integration" (if it is not in the list yet - it might take a few minutes before it is available. Try again in a few minutes).
Click on it to open the app details.
(if you are not able to add it yet - it might take a few minutes before it is available to add. Try again in a few minutes).
Add it by clicking Trust It to approve.
Once added - the SuperOffice Integration app should now be in the Group Area.
SharePoint users who will use this app for logging in to CRM Online will need "read" access to the root folder of SharePoint (see Troubleshooting tips for more information and options on how to enable it).
Step 4 – Notify SuperOffice to activate Microsoft 365 document integration
To turn on the Microsoft 365 SharePoint integration for your CRMOnline tenant, submit the following details:
- "Cust ID"
- "SharePoint domain name URL"
- "SO Archive Document Library Name"
- "SO Template Folder Name"
Note
Once we receive the form submission, we will activate the feature as soon as possible, and the feature will then be ready to use the following day. (Your site must be recycled to get the new configurations.)
Use this form for submitting the details to us.
You will get a notification from SuperOffice R&D Services when the Microsoft 365 SharePoint integration is activated.
When it is ready to use, you may continue to set up the templates, to make use of the Microsoft 365 SharePoint integration.