MS Copilot expands with MS Graph connectors

NanddeepNachan1 301 views 26 slides May 04, 2024
Slide 1
Slide 1 of 26
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26

About This Presentation

MS Copilot expands with MS Graph connectors


Slide Content

Nanddeep Nachan M365 Consultant Speaker | Author | Blogger Speaker Bio Pune, India Twitter Handle: @NanddeepNachan LinkedIn: /in/ NanddeepNachan https://nanddeepnachanblogs.com https://www.youtube.com/c/NanddeepNachan Microsoft 365, Power Platform, Microsoft Azure

Smita Nachan M365 Consultant Speaker | Author Speaker Bio Pune, India Twitter Handle: @SmitaNachan LinkedIn: /in/ SmitaNachan Microsoft 365, Power Platform, Microsoft Azure

Agenda Copilot for Microsoft 365 and it’s architecture Extend Microsoft Copilot for Microsoft 365 Plugins and Graph Connectors Build Custom Graph Connector Make Graph connector work better with Copilot Securely bring external content into Microsoft 365

Microsoft Graph - Your Data - Large Language Models Natural Language The Internet Microsoft 365 Apps Microsoft 365 Copilot https://learn.microsoft.com/en-us/microsoft-365-copilot/microsoft-365-copilot-overview#copilot-integration-with-graph-and-microsoft-365-apps

https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/ecosystem

Extend Microsoft Copilot for Microsoft 365 https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/

Plug in your apps, connect your data https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/

https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/decision-guide

Comparison (Benefits and limitations) Graph connectors Message extension plugins Benefits Relevance based on user activities Semantic discovery of content without turning on a plugin Activities (such as view, modify, and shared) with help with ranking and relevance of search results Data stays within compliance boundary Discoverability in Store Enabling branded experience Better UX with Adaptive Cards Developer experience features Fast connect, register schema, and index items Teams Toolkit for Visual Studio & VS Code Sideloading for development & test Also work with Context IQ Viva Topics Enterprise Search in M365.com, Sharepoint , and Bing @ work Content recommendations in M365 apps Teams chat Outlook

https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/decision-guide Message Extension Plugin

https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/decision-guide Graph connectors

Graph Connector building blocks API Use Microsoft Graph API to create connection and to ingest external items and activities. Schema A JSON definition of metadata properties along with aliases, semantic labels, etc. Permissions Allow or deny list of users, groups, or everyone (in tenant) to define access to items. Applies to all experiences.

Build Custom Graph Connector Demo https://github.com/pnp/graph-connectors-samples/tree/main/samples/powershell-json-restcountries

Make Graph connector work better with Copilot

Before indexing external data…

Importing external content with correct permissions https://devblogs.microsoft.com/microsoft365dev/use-microsoft-graph-connectors-to-securely-bring-external-content-into-microsoft-365/

Anatomy of ACL (Access Control List) https://devblogs.microsoft.com/microsoft365dev/use-microsoft-graph-connectors-to-securely-bring-external-content-into-microsoft-365/

ACL Examples Importing content available to:

Create an external group POST /external/connections/{ connectionId }/groups {  "id": " contosoEscalations ",  " displayName ": "Contoso Escalations",  "description": "Tier-1 escalations within Contoso" } https://learn.microsoft.com/en-us/graph/connecting-external-content-external-groups

Add Another external group, including nested external groups POST https://graph.microsoft.com/beta/external/connections/{connectionId}/groups/{groupId}/members { "id": " contosoSupport ", "type": "group", " identitySource ": "external" } Add Microsoft Entra user POST https://graph.microsoft.com/beta/external/connections/{connectionId}/groups/{groupId}/members { "id": "25f143de-be82-4afb-8a57-e032b9315752", "type": "user", " identitySource ": " azureActiveDirectory " } https://learn.microsoft.com/en-us/graph/connecting-external-content-external-groups

Add Microsoft Entra group POST https://graph.microsoft.com/beta/external/connections/{connectionId}/groups/{groupId}/members { "id": "99a3b3d6-71ee-4d21-b08b-4b6f22e3ae4b", "type": "group", " identitySource ": " azureActiveDirectory " } https://learn.microsoft.com/en-us/graph/connecting-external-content-external-groups

Use external groups in the ACL PUT https://graph.microsoft.com/beta/external/connections/{id}/items/{id}  Content-type: application/ json   {    "@ odata.type ": " microsoft.graph.externalItem ",    " acl ": [      {        "type": "group",        "value": " contosEscalations ",        " accessType ": "grant",        " identitySource ": "External"      },  {        "type": "user",        "value": "87e9089a-08d5-4d9e-9524-b7bd6be580d5",        " accessType ": "grant",        " identitySource ": " azureActiveDirectory "      },  {        "type": "group",        "value": "96fbeb4f-f71c-4405-9f0b-1d6988eda2d2",        " accessType ": "deny",        " identitySource ": " azureActiveDirectory "      }    ],    "properties": {      "title": "Error in the payment gateway",      "priority": 1,      "assignee": "[email protected]"    },    "content": {      "value": "<h1>Error in payment gateway</h1><p>Error details...</p>",      "type": "html"    }  } https://learn.microsoft.com/en-us/graph/connecting-external-content-external-groups

Resources Extend Microsoft Copilot for Microsoft 365 https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/ Microsoft Graph connectors overview https://learn.microsoft.com/en-us/graph/connecting-external-content-connectors-overview Build your first custom Microsoft Graph connector https://learn.microsoft.com/en-us/graph/connecting-external-content-build-quickstart Use Microsoft Graph connectors to securely bring external content into Microsoft 365 https://devblogs.microsoft.com/microsoft365dev/use-microsoft-graph-connectors-to-securely-bring-external-content-into-microsoft-365/

Code Samples Ingest REST Countries content using PowerShell https://adoption.microsoft.com/en-us/sample-solution-gallery/sample/pnp-graph-connector-json-restcountries/ Graph Connector Samples https://github.com/pnp/graph-connectors-samples/

🙏 THANK YOU ! Nanddeep Nachan Microsoft MVP, MCT LinkedIn: https://www.linkedin.com/in/nanddeepnachan/ Blog: https://nanddeepnachanblogs.com/ Twitter: @NanddeepNachan Smita Nachan Microsoft MVP, MCT LinkedIn: https://www.linkedin.com/in/smitanachan/ Twitter: @SmitaNachan
Tags