--- title: "Connecting SharePoint to GovEagle" slug: "connecting-sharepoint" updated: 2026-10-29T18:36:58Z published: 2026-10-29T18:36:58Z canonical: "help.goveagle.com/connecting-sharepoint" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.goveagle.com/llms.txt > Use this file to discover all available pages before exploring further. # Connecting SharePoint to GovEagle One of GovEagle's core capabilities is using your past content to influence and draft new proposals. Teams can bring content into GovEagle by uploading files manually, connecting to SharePoint, or connecting to other knowledge management solutions. This guide covers how to connect SharePoint to GovEagle from an IT perspective. Before getting started, here are a few things to know: - GovEagle supports **Commercial**, **GCC**, and **GCC High** SharePoint tenants. - You can connect to multiple SharePoint sites or document libraries within the same tenant, or even across different tenants. - GovEagle can connect to both commercial and government tenants within the same instance. - Connecting gives GovEagle permission to read. It does not add anything to your Content Library by itself. Admins choose which sites and document libraries to add under **Manage Content Library Sync**, and users can link individual folders to an opportunity through [Opportunity Assets](/v1/docs/opportunity-assets). See [Where your documents live](/v1/docs/content-library-overview#where-your-documents-live). - Content Library sites sync every night. Folders linked through Opportunity Assets update in near real time. --- GovEagle connects to SharePoint using a **Service Principal** managed by your IT team. During setup, your team registers an application in Microsoft Entra ID, grants Microsoft Graph application permissions, and provides the tenant ID, client ID, and either a client secret or a certificate and private key to GovEagle. GovEagle uses application permissions rather than delegated user permissions. This allows GovEagle to sync SharePoint content automatically each night without depending on an individual user's login session. > [!NOTE] > Connected earlier through GovEagle's admin-consent app? > > Some tenants were connected before this method existed by granting admin consent to GovEagle's own application. Those connections keep syncing and nothing needs to change for day-to-day use. That method is no longer offered for new tenants, and it cannot enable inherited permissions or write-back for Opportunity Assets. To use either, connect your own app registration by following the steps below. --- ## Service Principal Setup The Service Principal method involves two parts: registering an app in Microsoft Azure, then connecting that app to GovEagle. During setup, you'll choose one of two permission levels depending on how much control your IT team wants. ### Requirements - You must have access to **Azure Portal** and the ability to create app registrations. - You must be able to grant admin consent for API permissions in your Azure tenant. - You must have a **GovEagle Admin** account. ### Part 1: Create an App Registration in Azure #### Step 1: Register the Application 1. Go to the [Azure Portal](https://portal.azure.com/) (or [portal.azure.us](https://portal.azure.us/) for GCC High tenants) and navigate to **Microsoft Entra ID** → **App registrations** → **New registration**. 2. Give the application a name (e.g., "GovEagle SharePoint Integration"). 3. Select the appropriate supported account type for your organization. 4. Click **Register**. ![](https://cdn.document360.io/4913773d-4d09-45cd-a985-8413b178b1ac/Images/Documentation/image(13).png) #### Step 2: Create Client Credentials Choose how GovEagle will authenticate to SharePoint: a **client secret** (default) or a **certificate** (required for Inherited permissions). **Option A: Client secret** 1. In your new app registration, navigate to **Certificates & secrets**. 2. Click **New client secret**. 3. Add a description and set an expiration period. 4. Click **Add**, then **immediately copy and save the secret value** — you will not be able to see it again. **Option B: Certificate (required for Inherited permissions)** You will create two files on your computer. Upload **only** `certificate.crt` **to Azure**. Later, upload **both** `certificate.crt` **and** `privatekey.key` **to GovEagle**. Keep the private key confidential; do not upload it to Azure or send it in email or chat. **1. Choose where to save the files** Open Terminal on macOS or Linux, or PowerShell on Windows, on your own computer with OpenSSL installed. Do not use Azure Cloud Shell. Run `openssl version` to confirm it is available. Create an empty folder for this connection, then make it your terminal's current folder. For example: macOS or Linux: ```bash mkdir "$HOME/goveagle-sharepoint" cd "$HOME/goveagle-sharepoint" pwd ``` Windows PowerShell: ```powershell New-Item -ItemType Directory -Path "$HOME\goveagle-sharepoint" Set-Location "$HOME\goveagle-sharepoint" Get-Location ``` If that folder already contains certificate files, choose a new empty folder before continuing. The generation commands use fixed filenames and can overwrite existing files. Check that the printed folder is the one you intend to use. **2. Generate the private key and certificate** Run these commands one at a time in the same terminal. Wait for each to finish before running the next: ```plaintext openssl genrsa -out temp.key 2048 openssl pkcs8 -topk8 -inform PEM -outform PEM -in temp.key -out privatekey.key -nocrypt openssl req -new -key privatekey.key -out request.csr ``` The last command asks for certificate details. These describe the certificate; they are not your Azure or GovEagle sign-in credentials. | Prompt | What to enter | | --- | --- | | Country Name | Your two-letter country code, such as `US`. | | State or Province Name | Your full state or province name, such as `New York`. | | Locality Name | Your city. | | Organization Name | Your organization's name. | | Organizational Unit Name | Your department or team, or leave it blank. | | Common Name | A descriptive label, such as `GovEagle SharePoint Integration`. | | Email Address | Your IT contact email, or leave it blank. | | A challenge password | Press **Enter** to leave this blank. This is not your account password and is not needed for this flow. | | An optional company name | Press **Enter** to leave this blank. | For the certificate identity fields, pressing Enter accepts any default shown in brackets. Enter a single period (`.`) if you want to leave a field blank instead of accepting its default. After the prompts finish, create the self-signed certificate: ```plaintext openssl x509 -req -days 365 -in request.csr -signkey privatekey.key -out certificate.crt ``` `Certificate request self-signature ok` followed by the subject details is a success message. This command creates a certificate valid for 365 days. **3. Find and verify the generated files** The files are saved in the terminal's **current folder**, not automatically in Downloads. If you used the example folder above, they are in `goveagle-sharepoint` inside your home folder. macOS or Linux: ```bash pwd ls -l certificate.crt privatekey.key ``` On a Mac, run `open .` to open that folder in Finder. You can also press **Command+Shift+G** in Finder or an upload dialog and enter `~/goveagle-sharepoint`. Windows PowerShell: ```powershell Get-Location Get-Item .\certificate.crt, .\privatekey.key explorer . ``` If you already ran the generation commands elsewhere, run `pwd` (macOS/Linux) or `Get-Location` (PowerShell) in that same terminal, provided you have not changed folders. For example, if the terminal was in your home folder, the files will be there. You do not need to generate them again just to move or upload them. Confirm that both files exist and are not empty. You can check the certificate's subject and expiration without displaying the private key: ```plaintext openssl x509 -in certificate.crt -noout -subject -dates ``` Once both files are present and the certificate check succeeds, remove the intermediate files. Keep `certificate.crt` and `privatekey.key`: macOS or Linux: ```bash rm temp.key request.csr ``` Windows PowerShell: ```powershell Remove-Item .\temp.key, .\request.csr ``` **4. Upload the public certificate to Azure** In the app registration, go to **Certificates & secrets → Certificates → Upload certificate**. Select `certificate.crt`, then click **Add**. Do not select `privatekey.key`. Confirm that the certificate appears in the app registration's certificate list, then continue to Step 3 to configure API permissions. Keep both files for Part 2. The private key generated above is unencrypted so GovEagle can use it for authentication; store it in a location accessible only to authorized administrators. Replace the certificate in Azure and update the GovEagle connection before it expires. ![](https://cdn.document360.io/4913773d-4d09-45cd-a985-8413b178b1ac/Images/Documentation/image(14).png) #### Step 3: Configure API Permissions 1. Navigate to **API permissions** in your app registration, then click **Add a permission** → **Microsoft Graph** → **Application permissions**. 2. Select the application permission for the level of access you want to grant. Every option except `Sites.Selected` lets GovEagle list your SharePoint sites so admins can browse, select sites, and choose individual document libraries for the Content Library. | Permission | What it enables | | --- | --- | | `Sites.Read.All` | Content Library sync from the sites you choose. Folders linked through Opportunity Assets are read-only mirrors of SharePoint. | | `Sites.ReadWrite.All` (recommended) | Everything above, plus write-back for Opportunity Assets: when a SharePoint folder is linked to an opportunity, GovEagle can create subfolders and save generated or templated files into it. Write-back applies to Opportunity Assets only. The Content Library is always read-only. | | Inherited permissions set | Everything above, plus mirroring each user's SharePoint access inside GovEagle. See [Permission Modes](/v1/docs/connecting-sharepoint#permission-modes) for the full list. | | `Sites.Selected` | Access only to the sites your IT team approves one at a time. Sites don't appear automatically, and synced content refreshes nightly or when you click **Resync Files and Folders**. After adding this permission, follow [Granting Per-Site Permissions in SharePoint](/v1/docs/granting-per-site-permissions-in-sharepoint). | 3. Click **Add permissions**. 4. Click **Grant admin consent** for your organization and confirm. ![](https://cdn.document360.io/4913773d-4d09-45cd-a985-8413b178b1ac/Images/Documentation/image(15).png) Once approved by an administrator, GovEagle can list your SharePoint sites so admins can choose which ones to add to the Content Library, and users can link folders to opportunities, without additional IT involvement. You're done with Azure setup — skip ahead to [**Part 2**](/v1/docs/connecting-sharepoint#part-2-connect-in-goveagle). > [!NOTE] > Need inherited permissions? > > To mirror each user's existing SharePoint access (**Inherited from SharePoint** mode), grant these additional Microsoft Graph application permissions: `Sites.FullControl.All`, `Files.ReadWrite.All`, `User.Read.All`, `GroupMember.Read.All`, `Member.Read.Hidden`, and `Reports.Read.All`. This also requires certificate authentication and SSO. See [Permission Modes](/v1/docs/connecting-sharepoint#permission-modes) below. > [!NOTE] > Need fewer permissions? > > See [FAQ](/v1/docs/connecting-sharepoint#faq) below. --- ### Part 2: Connect in GovEagle 1. Log in to GovEagle at **app.goveagle.com**. 2. Click on the **Profile icon** at the bottom left → **Settings** → **Integrations**. 3. Click **Add Integration** at the top right, then select **Microsoft SharePoint**. 4. Enter your **Azure Tenant ID** (Directory/tenant ID from the app registration overview). If connecting to an Azure Government (.gov) tenant, toggle **Government Cloud** on. 5. Enter your **Client ID** (Application/client ID). 6. Choose an **Authentication Method**: - **Client Secret**: paste the secret value you saved earlier. - **Certificate** (required for Inherited permissions): upload `certificate.crt` into **Certificate (.crt)** and the matching `privatekey.key` into **Private Key (.key)**. Use the same pair created in Step 2; Azure receives only the certificate, but GovEagle needs both files. Find them in the terminal folder used during generation (for the example above, `goveagle-sharepoint` in your home folder). If you paste PEM text instead, include the complete BEGIN and END lines for each file. Do not paste the terminal's success message, certificate subject, or file path into these fields. 7. Optionally, enter a **Tenant Name** (e.g., "Main Tenant" or "Production") to help identify this connection. 8. Under **Permissions Mode**, choose **GovEagle-managed** or **Inherited from SharePoint** (see [Permission Modes](/v1/docs/connecting-sharepoint#permission-modes)). 9. Optionally, under **Advanced settings**, turn on **Read-only mode** if GovEagle must never write to this tenant (see [Read-only Mode](/v1/docs/connecting-sharepoint#read-only-mode)). It is off by default. ![](https://cdn.document360.io/4913773d-4d09-45cd-a985-8413b178b1ac/Images/Documentation/CleanShot 2026-03-24 at 13.32.17@2x.png) 1. Click **Connect**. 2. Click **Manage Content Library Sync** to choose which sites and document libraries to add to the Content Library. 3. ![](https://cdn.document360.io/4913773d-4d09-45cd-a985-8413b178b1ac/Images/Documentation/image(16).png) 4. Select the sites you want to add to the Content Library. You can click the arrow at the end of each row to select individual document libraries rather than entire sites. Sites you leave unchecked stay out of the Content Library, but users can still link a folder from them to an individual opportunity through [Opportunity Assets](/v1/docs/opportunity-assets). 5. To configure SharePoint metadata tags, see [SharePoint Metadata Tags](/v1/docs/sharepoint-tags). 6. Click **Resync Files and Folders** to begin your first SharePoint sync or to resync your content at any time. --- ## Managing Your Connection Use **Manage Content Library Sync** to change which SharePoint content syncs to your Content Library. You can add or remove entire sites, individual document libraries, or selected folders within a library. You need a GovEagle Admin account or a role with permission to manage integrations. If you have multiple SharePoint connections, make these changes on the connection that contains the content you want to update. ### 1. Open your existing connection 1. Click your profile icon at the bottom left, then go to **Settings → Integrations**. 2. Find the Microsoft SharePoint connection you want to change and click **Manage Content Library Sync**. The management page shows your current selections. Use **Manage Content Library Sync** for content selection. **Edit Connection** is for changing the connection's permission mode and [Read-only mode](/v1/docs/connecting-sharepoint#read-only-mode). ![A SharePoint connection in Settings, with Manage Content Library Sync and Resync Files and Folders controls.](https://cdn.document360.io/4913773d-4d09-45cd-a985-8413b178b1ac/Images/Documentation/cx-193-integration-card.jpg) Open the existing connection with Manage Content Library Sync. ### 2. Add or remove sites and document libraries 1. Find the site you want to change. Use the search field if needed. 2. Click the arrow on the site row to show its document libraries. GovEagle also refers to a document library as a *drive*. 3. Select the checkbox beside a library to include it in the sync. Clear its checkbox to stop syncing that library. Use the site checkbox to select or clear the site's libraries together. 4. Keep the checkboxes selected for any content you still want to sync, then click **Update SharePoint** at the top right to save your changes. ![SharePoint management page with an expanded site, document-library checkboxes, Select Folders, and Update SharePoint.](https://cdn.document360.io/4913773d-4d09-45cd-a985-8413b178b1ac/Images/Documentation/cx-193-site-library-selection.jpg) Expand a site to add or remove individual libraries, then save with Update SharePoint. **Sites.Selected connections:** If you see **Add a SharePoint Site** instead of a site search, enter the site URL and click **Add Site**. Your IT team must first grant the app access to that site. When you remove a configured site, GovEagle asks you to confirm. To restore it later, add it again by URL. ### 3. Choose specific folders within a library To sync only part of a document library, leave the library selected and click **Select Folders** beside it. 1. Select the folders you want to include. Use the arrow beside a folder to browse its subfolders, and **Back** or **Drive Root** to return. 2. To add content, select another folder. To remove content, clear that folder's checkbox and keep the folders you still need selected. 3. Click **Sync [number] Folders** to save the folder selection. The dialog closes. 4. Click **Update SharePoint** to save any remaining changes on the management page. ![Select Folders dialog showing selected and unselected folders and the Sync Folders button.](https://cdn.document360.io/4913773d-4d09-45cd-a985-8413b178b1ac/Images/Documentation/cx-193-folder-selection.jpg) Keep only the folders you want to sync selected. The button shows how many folders you are saving. **No folders selected means the entire library.** When no folders are selected, the button changes to **Sync Entire Drive**. To stop syncing the library altogether, cancel the dialog and clear the library's checkbox on the management page. Clearing all folder checkboxes does not stop the sync. Folder selections save when you click **Sync [number] Folders** or **Sync Entire Drive**. Use **Cancel** to leave the dialog without saving its changes. ### 4. Refresh and check your content 1. After saving, return to **Settings → Integrations**. 2. Click **Resync Files and Folders** on the same SharePoint connection to apply the new selection now. Otherwise, the Content Library refreshes during the nightly sync. 3. Wait for the sync to finish, then open the **Content Library** and check the content you added or removed. Removing a site, library, or folder from the sync removes its synced content from GovEagle when the sync processes the change. It does not delete the original files in SharePoint. These settings control the Content Library. To manage a folder linked to a specific opportunity, use that opportunity's **Assets** tab. See [Opportunity Assets](/docs/opportunity-assets). --- ## Permission Modes When you connect SharePoint, you choose how document access is controlled after syncing. **GovEagle-managed.** You control who can access synced documents by configuring permissions in GovEagle. All SharePoint-synced content is shared org-wide unless you restrict it. **Inherited from SharePoint.** Permissions are synced from SharePoint automatically. Users see exactly the content they already have access to in SharePoint, with no manual setup. GovEagle resolves SharePoint site groups and user membership to mirror access. **Inherited mode requires all three:** 1. **Microsoft Entra ID (formerly Azure Active Directory) SSO** configured for the same tenant. See [Setting up Single Sign-On (SSO)](/v1/docs/setting-up-single-sign-on-sso). 2. **Certificate authentication** (not client secret). 3. The **expanded permission scopes** listed in Step 3. --- ## Read-only Mode Each SharePoint connection has a **Read-only mode** setting. When it is on, GovEagle never writes to SharePoint through that connection, whatever Microsoft Graph permissions the app registration has. Use it when your app registration needs broad permissions (for example the `Sites.FullControl.All` and `Files.ReadWrite.All` scopes that [Inherited from SharePoint](/v1/docs/connecting-sharepoint#permission-modes) mode requires) but your organization does not want GovEagle changing anything in SharePoint. With Read-only mode on: - Uploads, new folders, renames, deletes, moves and sync write-back to SharePoint are all blocked for this connection. - Files and folders keep syncing from SharePoint into GovEagle as usual, for both the Content Library and Opportunity Assets. - Features that save to SharePoint stop working for this connection. On an opportunity's **Assets** tab, folders from this connection can't be added to or changed, and hovering over the disabled controls explains that the connection is read-only. Make those changes directly in SharePoint. - The connection shows a **Read-only** badge under **Settings → Integrations**. - The setting applies only to this connection. Other SharePoint connections in your organization are not affected. ### Turn Read-only mode on or off You need a GovEagle Admin account or a role with permission to manage integrations. ![](https://cdn.document360.io/4913773d-4d09-45cd-a985-8413b178b1ac/Images/Documentation/CleanShot 2026-10-22 at 3.43.16 PM@2x.png) 1. Click your profile icon at the bottom left, then go to **Settings → Integrations**. 2. On the Microsoft SharePoint connection, click **Edit Connection**. 3. Under **Advanced settings**, switch **Read-only mode** on or off. 4. Review the summary of what will change, type the connection's name to confirm, and click **Confirm Change**. You can also turn it on when you first add the connection, under **Advanced settings** in the **Add Integration** dialog. > [!NOTE] > Need Microsoft to block writes too? > > Read-only mode is enforced by GovEagle, not by Microsoft. If your security policy requires Microsoft to block writes as well, grant the app registration read-only Graph permissions instead (for example `Sites.Read.All`). Inherited from SharePoint mode is not available with read-only Graph permissions. --- ## FAQ **Can I use more restrictive permissions to setup SharePoint?** 1. **Option 1: Sites.Read.All** 1. Allows GovEagle to list available SharePoint sites in the UI so admins can browse, select sites, and choose individual document libraries to sync. 2. GovEagle will function normally but opportunity asset connections will be read-only. 2. **Option 2: Sites.Selected** 1. Limits GovEagle to only the SharePoint sites your IT team explicitly approves. 2. Sites will not automatically appear in GovEagle. Instead, your IT team must grant the app access to each site and new sites must be approved individually before they can be connected. 3. Only choose this option if your organization requires site-by-site approval and tighter control over what your application can access. 4. For the content library sync into GovEagle, read access is sufficient. If your organization plans to use [Opportunity Assets](/v1/docs/opportunity-assets) with write-back, use the corresponding write permission model instead. 5. To learn more about the **Sites.Selected** option, please see [Granting Per-Site Permissions in SharePoint](/v1/docs/granting-per-site-permissions-in-sharepoint). > [!WARNING] > Note: > > With Sites.Selected, an IT admin grants GovEagle access to each SharePoint site individually. Inherited permissions are not available with this option, and the Assets tab works only for the sites you have granted. **What's the difference between Sites.Read.All and Sites.Selected in the Service Principal method?** With `Sites.Read.All` (or `Sites.ReadWrite.All`), GovEagle can automatically list all your SharePoint sites in the UI so users can browse and select which ones to sync. With `Sites.Selected`, sites don't appear automatically — an IT admin must manually grant access to each site through Microsoft Graph Explorer before it becomes available in GovEagle. `Sites.Read.All` is easier to set up; `Sites.Selected` offers tighter control. **Can I connect to both Commercial and Government tenants?** Yes. GovEagle supports connecting to both commercial and government tenants within the same instance. **How often does GovEagle sync with SharePoint?** Content Library sites sync every night to pull the latest content. Folders linked to an opportunity through Opportunity Assets update in near real time using change notifications from SharePoint. With `Sites.Selected`, all content refreshes nightly or when you click **Resync Files and Folders**. **How long do SharePoint permission changes take to show up in GovEagle?** This applies only to connections using **Inherited from SharePoint** permissions mode. With **GovEagle-managed** permissions, changes you make in SharePoint don't change who can see content in GovEagle. Manage access in GovEagle instead. When you grant or remove access to a file or folder in SharePoint, the change usually shows up in GovEagle within a few minutes. Any change that isn't picked up right away is applied during the nightly sync. Changes to a parent folder that its files and subfolders inherit can take up to 72 hours to apply to everything inside it. Changes to Microsoft Entra ID (formerly Azure AD) group membership are applied at the next nightly sync. **Can I select individual document libraries instead of full sites?** Yes. When selecting content to sync, click the arrow at the end of any site row to expand it and select individual document libraries. **Does connecting SharePoint put everything GovEagle can see into the Content Library?** No. The permission grants access. The Content Library only contains the sites and document libraries an admin checks under **Manage Content Library Sync**. Folders linked to an opportunity through Opportunity Assets are available to that opportunity only and never enter the Content Library. See [Where your documents live](/v1/docs/content-library-overview#where-your-documents-live). **Can GovEagle mirror SharePoint permissions so users can only access content they're already authorized to see in SharePoint?** Yes. Use **Inherited from SharePoint** permissions mode, which mirrors each user's existing SharePoint access. See [Permission Modes](/v1/docs/connecting-sharepoint#permission-modes) for setup and prerequisites. **Can GovEagle mirror SharePoint permissions without being able to write to SharePoint?** Yes. Inherited from SharePoint mode needs write-capable Graph permissions, but you can turn on [Read-only mode](/v1/docs/connecting-sharepoint#read-only-mode) for the connection so GovEagle never writes to that tenant.