Capabilities
| Resource | Sync | Provision |
|---|---|---|
| Accounts | ℹ️ | |
| Sites | ||
| SharePoint groups | ||
| Security principals |
This connector must pull account information from another connector. You’ll configure this relationship when setting up the connector.
Gather SharePoint credentials
Each setup method requires you to pass in credentials generated in SharePoint. Gather these credentials before you move on.Create a new application
Give the application a name, such as “C1”, and select the relevant supported account type. You do not need to set a redirect URI.
The new app is created. Carefully copy and save the Application (client) ID and the Directory (tenant) ID shown on the application summary page.
Give the new application API permissions
Click + Add permissions > Microsoft SharePoint > Application permissions, then choose one of the following based on your security requirements:
-
Sites.FullControl.All(recommended) — lets the connector read the membership of every SharePoint group, including groups that restrict membership visibility. Choose this for complete access data. -
Sites.Read.All(least privilege) — use this if your security policy doesn’t allowSites.FullControl.All. With this permission the connector cannot read the membership of groups that restrict membership visibility, so you must also enable the skip-membership-restricted-groups flag. See the note below.
About groups that restrict membership visibilitySome SharePoint groups have “Who can view the membership of the group” set to Group Members instead of Everyone. Only members of such a group (or an administrator) can list its members.
- With
Sites.FullControl.All: the connector reads these groups normally. Leave skip-membership-restricted-groups off — turning it on would skip those groups unnecessarily and you’d lose memberships you could otherwise sync. - With
Sites.Read.All: the connector cannot read these groups. You must enable the skip-membership-restricted-groups flag (or setBATON_SKIP_MEMBERSHIP_RESTRICTED_GROUPS=true). The connector then skips those groups and the sync completes normally. Without the flag, the sync fails when it reaches the first such group.
Sites.FullControl.All), enabling the flag will remove those groups and their grants from C1 on the next sync, since they’re now excluded.Create and upload a self-signed certificate
Next, you’ll create a self-signed certificate and a private key in PEM format using OpenSSL. The commands to create the certificate are the same regardless of your operating system.Use the following command to create both a private key and a self-signed certificate. Be sure to replace
your_domain_name with your actual domain or a descriptive name.Next, you’ll be prompted to enter details for the certificate. The most crucial field here is the Common Name.For the Common Name, enter your domain (such as
example.com).Once the process is complete, two files will be created in your current directory:
your_domain_name.key: This is your private keyyour_domain_name.crt: This is your self-signed certificate in PEM format
Configure the SharePoint connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Done. Your SharePoint connector is now pulling access data into C1.
Search for SharePoint and click Add.Don’t see the SharePoint connector? Reach out to support@c1.ai to add SharePoint to your Connectors page.
Choose how to set up the new SharePoint connector:
- Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with C1)
- Add the connector to a managed app (select from the list of existing managed apps)
- Create a new managed app
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of C1 users. Setting multiple owners is allowed.If you choose someone else, C1 will notify the new connector owner by email that their help is needed to complete the setup process.
Enter your domain for the Microsoft Graph API in the Graph domain field. The default is
graph.microsoft.com.Enter your SharePoint subdomain in the SharePoint domain field. (For example, enter
subdomain if you access SharePoint at subdomain.sharepoint.com)Finally, tell the connector where to find the identities that will be used for this app in C1.
- In the Shared identity source area of the page, click Edit.
- Select the connector from which you want to pull identities.
- Optional. Limit the identities pulled from the connector you selected to only those with a certain entitlement by setting the entitlement.
- Click Save.