Bring your data into Microsoft 365 with Microsoft Graph connectors

Dorine Rassaian

Mounika Narayanan

Renima Malhotra

There’s no question – productivity is heightened when users find the right answers, people, and content to complete their tasks in the app they’re already working in. Bringing third-party data into Microsoft Graph via Microsoft Graph connectors is an essential part of this experience for users in Microsoft 365 apps – helping users get relevant results from all your data in the context of the app they search from.

What is a Microsoft Graph connector?

Microsoft Graph connectors are the connection between your company data in external data sources and Microsoft Graph, enabling a way to surface external content in various Microsoft 365 experiences.

When you index Microsoft Graph connector items, you can specify external groups with associated permissions to the content in your external data source. Define the access control list (ACL) for each item to specify whether the given roles are granted or denied access to view items in the Microsoft experiences. The ACL is an array of access control entries, each representing an Azure Entra user or group (formerly Azure Active Directory). A third access control entry type Everyone represents all the users in the tenant.

How do I build a custom Microsoft Graph connector?

Existing Microsoft Graph connectors may help you connect to many popular services (review the connectors gallery). You can also apply your own customizations to determine the types of items that are indexed and the capabilities associated with your connector.

You can use the Microsoft Graph connectors API to build custom connectors to bring your external data into Microsoft 365 experiences within your organization. To get started, see the following:

What’s new with Microsoft Graph connectors?

Simplified admin experience in the Teams admin center

Screenshot example of Simplified Admin Experience in the Teams admin center.

To simplify the administrative process, you can now build a Microsoft Graph connector and deploy it in the Teams admin center.

Both Teams admins and Global admins can enable or disable your Microsoft Graph connector in the Teams admin center. Here are the steps to enable the one-click admin experience in Teams:

  1. Update the Teams app manifest
  2. Update Azure Entra (formerly Azure Active Directory) permissions
  3. Handle Microsoft Graph webhook notifications
  4. Create or delete Microsoft Graph connections
  5. Validate the experience by enabling the Microsoft Graph connector in the Teams admin center

Activities endpoint and Activity settings, now generally available

The activities endpoint is now generally available on Microsoft Graph. This endpoint allows you to send recent activities that users performed on items that you ingest into Microsoft Graph. Review a list of supported activity types here.

Activity settings (part of connection settings) which contains urlToItemResolvers is also now generally available. A urlToItemResolver enables the platform to detect when users share URLs from your external content with each other.

Integration with the Microsoft 365 app

Screenshot of an example of the Fabrikam Purchase agreement from the Adobe Sign Graph connector appearing under ‘Quick Access’ within Microsoft 365.

The Microsoft 365 app is home to all your favorite productivity apps and provides a secure, integrated, experience built on Microsoft Graph. With the addition of content from Microsoft Graph connectors, users can now discover third- party content across the Microsoft 365 ecosystem with the Microsoft 365 app.

Users can discover this content by navigating to https://microsoft365.com to see content appear at any time under ‘Quick Access’ or the ‘My Content’ section, or as you type in the search box.

Microsoft 365 Copilot extensibility

We announced during Build 2023 that developers could extend Microsoft 365 Copilot by bringing data from third-party data sources into Microsoft Graph, contextualizing relevant and actionable information with the Semantic Index for Copilot.

We are excited for this opportunity we have together with developers and partners to shape the future of work with AI.

Next steps

There’s no need to wait for Microsoft 365 Copilot to get started with building your custom Microsoft Graph connector to bring your company data into Microsoft 365.

Follow these best practices to make sure that the Microsoft 365 web application and Microsoft 365 Copilot will use content from your connector effectively:

  • Add a urlToItemResolver in activitySettings when you create your connection. A urlToItemResolver enables the platform to detect when users share URLs from your external content with each other.
  • Apply semantic labels. Semantic labels will help Microsoft 365 Copilot interpret the semantic meaning of your schema. Apply as many of them to your schema as applicable.
  • Add user activities on your items. For a list of supported activity types, see externalactivity. Items that have more activities are boosted in importance.

Resources

Also, review this blog post for IT administrators about these new Microsoft Graph connectors features.

If you have questions, please post them in our Stack Overflow community. Visit the Microsoft 365 Dev Center for more resources.  Follow us on Twitter (@Microsoft365Dev) to stay up to date on news and announcements.

Happy coding!

Feedback usabilla icon