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 Application permissions and choose one of the following permission levels:Option A — Minimal permissions (recommended for most deployments)Select
Sites.Read.All. With this option, you must also enable the --skip-membership-restricted-groups flag (see Groups with restricted membership visibility below). SharePoint groups that restrict membership visibility (OnlyAllowMembersViewMembership) are excluded from the sync.Option B — Full permissionsSelect Sites.FullControl.All. This allows the connector to sync all SharePoint groups, including groups that restrict membership visibility. Choose this option if you need visibility into those groups in C1.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
Groups with restricted membership visibility
Some SharePoint groups haveOnlyAllowMembersViewMembership enabled, which prevents applications from listing group members unless the application has the Sites.FullControl.All permission. If the connector encounters one of these groups during sync with only Sites.Read.All, the sync fails with a 403 error.
To handle this, the connector provides the --skip-membership-restricted-groups flag:
| Flag | Environment variable | Default |
|---|---|---|
--skip-membership-restricted-groups | BATON_SKIP_MEMBERSHIP_RESTRICTED_GROUPS | false |
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.