Skip to main content

Agave AI in Copilot

Connect Agave to Microsoft 365 Copilot to ask questions about your Project Management and ERP data directly in Copilot. Your company sets up the connector once, then each person connects their own Agave account.

Use Think deeper for better results

For better results with Agave, open the response-mode dropdown next to Work IQ in Copilot and select Think deeper before sending your question.

For even more advanced results, switch to Opus 5.5 from the Anthropic model submenu.

Select Think deeper before asking Copilot to work with your Agave data.

Select Think deeper before asking Copilot to work with your Agave data.

Copilot response-mode menu with Think deeper selected
For more advanced results, select Opus 5.5 from the Anthropic model submenu.

For more advanced results, select Opus 5.5 from the Anthropic model submenu.

Copilot Anthropic model submenu with Opus 5.5 selected

Who sets this up?​

PartWho completes itWhat you'll have when you're done
1. Generate credentials in AgaveAn Agave adminAn Agave client ID and client secret
2. Register OAuth in MicrosoftYour Microsoft adminA Microsoft OAuth client registration ID
3. Enable the company connectorYour Microsoft adminAn Agave connector available to your company
4. Connect your own accountEach user, including admins who want to use CopilotCopilot connected with that user's Agave permissions

Already set up for your company? Skip to Connect as an end user.

The written steps include every value you need. Screenshots appear below each step; select an image to enlarge it in a viewer without leaving the guide. Close the viewer or press Escape to return to your place. The examples use a demo account; generate your own credentials rather than copying values from the images.

Before you start​

  • Agave: an admin who can open AI Analytics settings and generate the credentials. Each person who will use the connector also needs their own Agave account with access to the relevant data.
  • Microsoft administration: an AI Administrator or Global Administrator with access to the Microsoft 365 admin center and Teams Developer Portal. See Microsoft's custom connector prerequisites.
  • Copilot access: a work or school account with a license eligible for federated connectors. Microsoft lists a Microsoft 365 Copilot add-on license or Microsoft 365 E7; check its current licensing requirements for your users.

Use the same Microsoft 365 organization in Teams Developer Portal, the admin center, and Copilot. This applies whether your company uses a custom email domain or an onmicrosoft.com domain. The Agave URLs below stay the same.

Microsoft sign-in and Agave sign-in are separate

Choose OAuth 2.0 for this setup, even if your company uses Microsoft accounts or Microsoft SSO. Users authorize access through Agave and use their organization's usual Agave sign-in process. A Microsoft email domain alone does not make Microsoft Entra SSO the correct connector authentication option.

1. Generate credentials in Agave​

Who: an Agave admin.

  1. Sign in to the Agave admin portal.
  2. Open AI Analytics → Settings → Report Customization and scroll to MCP.
  3. Review Configurations shown in MCP and save any changes. This setting controls which configuration types are available through the connector; see MCP settings.
  4. On the Microsoft Copilot card, select Set up Copilot.
  5. Select Generate OAuth client.
  6. Copy both the Client ID and Client secret. Keep them available for your Microsoft admin to enter in the next part.
Save the client secret before closing

The secret is shown only once. Save it securely before selecting Done. Individual users do not need this secret; they connect with their own Agave accounts in Part 4.

Open the Microsoft Copilot setup card in Agave's MCP settings.

Open the Microsoft Copilot setup card in Agave's MCP settings.

Agave AI Analytics settings with the Microsoft Copilot setup card in the MCP section
Generate the OAuth client.

Generate the OAuth client.

Agave Copilot setup dialog with the Generate OAuth client button
Copy your client ID and the one-time client secret.

Copy your client ID and the one-time client secret.

Generated demo client ID and client secret in the Agave setup dialog

Agave creates the client with Microsoft's callback URL already configured: https://teams.microsoft.com/api/platform/v1.0/oAuthRedirect. You do not need to register that callback separately.

2. Register OAuth in Microsoft​

Who: your Microsoft admin, using the credentials from Part 1.

This saves Agave's credentials in Microsoft and produces a registration ID for the connector. Microsoft's OAuth configuration documentation explains the portal fields and organization/app restrictions.

Open a new registration​

  1. Open Teams Developer Portal.
  2. Select Tools → OAuth client registration.
  3. Select New OAuth client registration.
Choose OAuth client registration under Tools.

Choose OAuth client registration under Tools.

Teams Developer Portal Tools page with OAuth client registration selected
Start a new registration.

Start a new registration.

OAuth client registration list with the New OAuth client registration button

Enter the registration settings​

Use these values, replacing only the client ID and secret with the pair generated for your company:

FieldValue
Registration nameAgave
Base URLhttps://app.agaveapi.com
Restrict usage by organizationMy organization only
Restrict usage by Teams appAny Teams app (for testing and store validation only), as shown for this custom connector setup
Client IDThe Client ID from Agave, generated in Part 1
Client secretThe Client secret from Agave, generated in Part 1
Authorization endpointhttps://app.agaveapi.com/oauth/authorize
Token endpointhttps://app.agaveapi.com/oauth/token
Refresh endpointhttps://app.agaveapi.com/oauth/token
Scopemcp:use
Enable Proof Key for Code Exchange (PKCE)On
Client password authentication methodRequest body parameters (default)

The Base URL here is the Agave host. You'll enter the full /mcp/erp-sync endpoint when creating the connector in Part 3. Keep My organization only selected for a connector used within your company.

Enter the app settings and Agave credentials.

Enter the app settings and Agave credentials.

OAuth registration app settings with the Agave base URL, organization restriction, and client credentials
Enter the endpoints and scope, enable PKCE, and use request body parameters.

Enter the endpoints and scope, enable PKCE, and use request body parameters.

OAuth endpoints, mcp:use scope, enabled PKCE, and request body authentication

Save and copy Microsoft's registration ID​

Select Save, then copy the OAuth client registration ID displayed at the top of the page.

Two different IDs

The Agave client ID identifies the client you generated in Agave. The Microsoft OAuth client registration ID identifies the configuration you just saved in Teams Developer Portal. Use the Microsoft registration ID in the connector's Reference ID field in Part 3.

Copy the Microsoft OAuth client registration ID.

Copy the Microsoft OAuth client registration ID.

Saved OAuth registration with the Microsoft OAuth client registration ID and copy button

3. Enable the company connector​

Who: your Microsoft admin.

This uses Microsoft's custom federated connector setup in the Microsoft 365 admin center.

Add an MCP connector​

  1. Open the Microsoft 365 admin center.
  2. Go to Copilot → Connectors → Gallery.
  3. Under Created by your org, select Add on Create a new connector.
  4. On the Custom connector panel, select Add under Connect to MCP server.
Start from the connector gallery.

Start from the connector gallery.

Microsoft 365 admin center connector gallery with Create a new connector
Choose Connect to MCP server.

Choose Connect to MCP server.

Custom connector panel with Connect to MCP server selected

Enter the connector details​

FieldValue
Display nameAgave
DescriptionConnect to your company's Project Management and ERP data in Agave.
MCP endpoint URLhttps://app.agaveapi.com/mcp/erp-sync
Developer nameAgave
Website URLhttps://www.agaveapi.com
Privacy policy URLhttps://www.agaveapi.com/privacy
Terms of use URLhttps://www.agaveapi.com/terms
Authentication typeOAuth 2.0
Reference IDThe Microsoft OAuth client registration ID copied at the end of Part 2
Enter the connector details and Microsoft registration ID.

Enter the connector details and Microsoft registration ID.

Agave MCP connector form with production endpoint, developer details, OAuth 2.0, and Reference ID

Authorize with the admin's Agave account​

  1. Select Authorize.
  2. If your browser blocks the sign-in window, allow popups and redirects for the Microsoft admin center, then select Authorize again.
  3. In the Agave window, sign in with your Agave account. If you're already signed in, you may go straight to the authorization screen.
  4. Confirm the displayed Agave account and team, then select Approve for Microsoft Copilot (Your Team Name).
Each user must connect separately

The admin signs in here to authorize and validate the setup. Every individual user must also connect their own Agave account in Copilot. They do NOT inherit the permissions of the admin who created the connection. Agave applies the permissions of the user who is signed in, together with your team's MCP settings.

Allow the admin center's popup if the browser blocks it.

Allow the admin center's popup if the browser blocks it.

Browser popup blocker preventing Agave authorization and the option to allow popups from the Microsoft admin center
Confirm your Agave identity and approve the request.

Confirm your Agave identity and approve the request.

Agave authorization screen for Microsoft Copilot with the signed-in demo user and Approve button

Create and make it available​

  1. Return to the admin center and confirm the Reference ID shows a green check.
  2. Review Microsoft's Notice and terms, and check the box when you're ready to accept them for your organization.
  3. Select Create.
  4. Wait for Success, with both Created connection and Linking data source checked, then select Done.
Create the connection after authorization succeeds.

Create the connection after authorization succeeds.

Authorized Agave connector with a green check on Reference ID and an enabled Create button
Confirm that the connection was created and the data source was linked.

Confirm that the connection was created and the data source was linked.

Microsoft admin center Success screen for the Agave connection

In Copilot → Connectors → Your Connections, open Agave and check that it is enabled for the intended users. If using Staged rollout, assign your pilot users or groups; use Deploy to all users when you're ready for company-wide access. See Microsoft's rollout instructions. Changes can take up to 15 minutes to appear.

If your tenant restricts connectors or agent types, your Microsoft admin must also allow this connector for its intended audience. Microsoft's connector availability guidance explains how tenant policies and allowed-user scopes interact.

Send your users the next section. They don't need access to Teams Developer Portal or the OAuth client secret.

4. Connect as an end user​

Who: everyone who wants to use Agave in Copilot, after their admin completes Parts 1–3.

Connect your Agave account​

  1. Open Microsoft 365 Copilot and sign in with your company's Microsoft work or school account.
  2. Open Settings using the gear icon near your profile, then select Sources.
  3. Find the Agave connection your admin created and select Connect. If several Agave connections are listed, choose the one your admin enabled for you; the screenshots also show separate Local and Alpha test connections.
  4. Select Continue to Agave.
  5. Sign in with your own Agave account, confirm the account and team on the authorization screen, and select Approve. Allow the sign-in popup if your browser blocks it.
  6. Return to Copilot. Agave's source details should now show Disconnect and the available tools.

An existing Agave session or a previous authorization can mean you aren't asked to type your password again. Your connection still uses your own Agave account and permissions.

Open Settings from Copilot.

Open Settings from Copilot.

Microsoft 365 Copilot with the profile settings menu open
Find the correct Agave connection under Sources and select Connect.

Find the correct Agave connection under Sources and select Connect.

Copilot Sources settings listing Agave and separate Local and Alpha test connections
Continue to Agave to sign in and authorize your own account.

Continue to Agave to sign in and authorize your own account.

Copilot Connect to Agave dialog with Continue to Agave button
Check that the connected source shows Disconnect and its available tools.

Check that the connected source shows Disconnect and its available tools.

Connected Agave source details in Copilot showing Disconnect and available tools

Ask your first question​

  1. Refresh Copilot and start a new chat.
  2. If needed, use the composer's + → Change data sources (or Sources) menu and enable Agave. See Microsoft's guide to controlling Copilot's sources.
  3. Try: “Use Agave to list my data sources.”
  4. Look for Connecting to Agave… and an answer with Agave source citations. Your results depend on the data and configurations you can access.
Copilot calls the Agave connector.

Copilot calls the Agave connector.

Copilot displaying Connecting to Agave after a request to list data sources
The answer includes Agave source citations.

The answer includes Agave source citations.

Copilot listing the demo account's data sources with Agave citations

Troubleshooting​

What you seeWhat to check
The authorization window never opensAllow popups for the Microsoft site you're using and retry Authorize or Connect.
The connector's Reference ID fails validationUse the Microsoft registration ID, not the Agave client ID. Check that both the registration and connector belong to the same Microsoft 365 organization.
Agave is missing from Copilot's SourcesAsk your admin to check your license, the connector's enabled status, and its allowed users/groups. Refresh Copilot after rollout changes have propagated.
Agave shows as connected, but Copilot cannot use itConfirm you selected the correct Agave connection, enable it in the chat's sources, then refresh and start a new chat.
Expected configurations or data are missingCheck your own Agave permissions and the team's MCP settings. Connecting through an admin-created connector does not expand your access.

If you still need help, contact your Agave admin with the step that failed and the error message. Keep client secrets and tokens out of support screenshots.