What gets indexed
You can configure Onyx to index your entire tenant or a specific list of sites. From each site, Onyx indexes:- Files in document libraries, including any images inside them.
- Pages published on the site (
.aspx).
What is not indexed
- SharePoint lists, their items, and their attachments
- Personal OneDrive sites, unless you explicitly list
/personal/URLs in Sites. Use the dedicated OneDrive connector for new setups. - Files with an unsupported extension, and files over the size limit
Supported file types
Supported file types
.doc, .xls, and .ppt are not supported.
Convert older files in SharePoint if you need them indexed.Onyx also skips the image formats .bmp, .tiff, .gif, .svg, and .avif.Before you begin
You need a Microsoft 365 tenant with SharePoint Online and the roles listed in Microsoft 365 Setup. Complete Microsoft 365 Setup with the SharePoint rows of its permission table. Indexing needs only Sites.Read.All, and a client secret is enough for it. The rest are for permission sync, which needs a certificate credential.Configure the connector in Onyx
Select or create an authentication account
Name the connector and choose sites
https://contoso.sharepoint.com/sites/support.
Leave the list empty to index every site in the tenant. The advanced settings hold the content, exclusion,
and national cloud settings described in Connector settings.Choose the document access
Set an indexing start date
Create and verify
Connector settings
Scoping to sites, libraries, and folders
An entry in Sites can name a site, a library within it, or a folder within that library. Onyx reads the path after the site name as a library, and anything after that as a folder:/teams/…) and personal OneDrive sites (/personal/…) work the same way.
Limiting the app to specific sites
With Sites.Selected instead of Sites.Read.All, the app reads only the sites you grant it, and Sites cannot be empty. Grantread for indexing and fullcontrol for permission sync.
See Limiting the app to specific
sites.
OneDrive
Permission sync
With permission sync on, each document keeps its SharePoint access. An Onyx user finds a document in search only if they can open it in SharePoint.SHAREPOINT_PERMISSION_DOC_SYNC_FREQUENCY and SHAREPOINT_PERMISSION_GROUP_SYNC_FREQUENCY (seconds)
to change the intervals on a self-hosted deployment.
What each Graph grant is for: GroupMember.Read.All works out who is in a group, nested groups included.
Group.Read.All tells security groups apart from Microsoft 365 groups.
Directory.Read.All reads how users and groups relate to each other.
User.Read.All matches the people in your directory to their Onyx accounts.
Member.Read.Hidden reads the membership of groups whose members are hidden in Entra ID.
Onyx treats items shared by link as private unless you turn on Treat Sharing Links as Public.
It ignores users and groups that hold only SharePoint’s Limited Access role,
because that role lets someone pass through a folder rather than open what is inside it.
Limits
Troubleshooting
See Microsoft 365 Setup for credential, consent and certificate problems every Microsoft 365 connector can show.missing the required Microsoft Graph permission to enumerate Azure AD group members
missing the required Microsoft Graph permission to enumerate Azure AD group members
At least one content type must be enabled
At least one content type must be enabled
Nothing is indexed, and Sites is empty
Nothing is indexed, and Sites is empty
Sites.Read.All. Under Sites.Selected, list your sites explicitly.Nothing is indexed, and Sites is populated
Nothing is indexed, and Sites is populated
Sites.Selected, check that each site was granted to the app. Consent alone grants nothing.
See Limiting the app to specific
sites.Some sites are missing from an otherwise healthy run
Some sites are missing from an otherwise healthy run
A OneDrive is not indexed
A OneDrive is not indexed
Sites.Selected,
grant the app a role on that personal site as well.A named library is not found
A named library is not found
A site page is indexed with only its title
A site page is indexed with only its title
Large files are missing
Large files are missing
Permission sync is not offered on the connector form
Permission sync is not offered on the connector form