Connect Microsoft 365 Copilot

Connect Harmonize MCP to Microsoft 365 Copilot Chat as a custom connector.

Licensing requirement: each user needs a Microsoft 365 Copilot add-on license to use Harmonize's federated MCP connector in Microsoft 365 Copilot. Basic Copilot Chat isn't sufficient. Microsoft displays this entitlement as "M365 Copilot (Premium)". See Microsoft's licensing requirements.

Before you start: every user must first join their Harmonize organization. See MCP Setup Guide.

Register Harmonize in Teams Developer Portal

MICROSOFT 365 ADMIN, ONCE PER ORGANIZATION

  1. Go to dev.teams.microsoft.com with a Global Administrator or AI Administrator account.

  2. Open Tools › OAuth client registration › New OAuth client registration and enter the App settings:

    • Registration name: Harmonize

    • Base URL: https://mcp.optimizedpayments.com/mcp

    • Restrict usage by organization: My organization only

    • Restrict usage by Teams app: Any Teams app

  3. Enter the OAuth settings:

    • Client ID and client secret: Please refer to the Connection Guide in your onboarding email.

    • Authorization endpoint: https://auth.optimizedpayments.com/authorize

    • Token endpoint: https://auth.optimizedpayments.com/oauth/token

    • Refresh endpoint: https://auth.optimizedpayments.com/oauth/token

    • Scope: openid profile email offline_access (separated by spaces, not commas)

    • Enable PKCE: Off

    • Client password authentication method: Request body parameters

  4. Select Save and copy the OAuth client registration ID shown at the top of the page.

Important: type the client ID and secret by hand or paste them from plain text. A hidden trailing space breaks sign-in. The registration ID is generated by Microsoft and is not the client ID.

Create the connector in Microsoft 365 admin center

Microsoft 365 admin, once per organization

  1. Go to admin.microsoft.com › Copilot › Connectors.

  2. On the Gallery tab, scroll to Created by your org, select Add on Create a new connector, then choose Connect to MCP server.

  3. Fill in sections 1 to 4:

    • Display name: Harmonize

    • Description: Payments metrics and analytics from Harmonize

    • MCP endpoint URL: https://mcp.optimizedpayments.com/mcp

    • Developer name: Optimized Payments

    • Website URL: https://optimizedpayments.com/

    • Privacy policy URL: https://optimizedpayments.com/privacy-policy/

    • Terms of use URL: https://optimizedpayments.com/terms-of-use/

  4. In section 5, set Authentication type to OAuth 2.0 and paste the registration ID into Reference ID.

  5. Select Authorize and sign in with your Harmonize organization, then your email address and password. A green check next to the Reference ID means it worked.

  6. Tick Notice, then select Create. Allow up to 15 minutes for the connector to reach users. To roll out in stages, open Your Connections, select Harmonize, choose Staged rollout, add test users or groups, then Deploy to all users.

Connect your account

Every user

  1. Open Copilot Chat at copilot.cloud.microsoft or in the Copilot app.

  2. Open Settings from the profile menu, then Sources.

  3. Under Browse sources, search for Harmonize and select Connect.

  4. Enter your organization, then your Harmonize email address and password.

  5. Start each question with "Use Harmonize" so Copilot answers from Harmonize instead of your own files.

Test it: ask "Use Harmonize. How did Visa authorization approval rates trend last quarter?" More examples in MCP Example Questions and Troubleshooting.

If something goes wrong

  • "The request is malformed or incorrect" on Authorize: the Reference ID is wrong, usually the client ID pasted by mistake.

  • "Unknown client" on Authorize: the client ID in Teams Developer Portal has extra spaces. Retype it and save again.

  • Harmonize doesn't appear under Sources: wait up to 15 minutes after Create, or check that you're included in the rollout.

  • Your access changed: under Sources, open the menu next to Harmonize, disconnect, and connect again.

  • Anything else: email [email protected] with your organization name and the time of the attempt.