From a44ec57153539d3b87c3d8fe819575574b2dee9e Mon Sep 17 00:00:00 2001 From: Nanddeep Nachan Date: Sun, 5 Apr 2026 11:50:39 +0000 Subject: [PATCH 1/2] Added Permissions section --- .../external/connection/connection-add.mdx | 21 +++++++++++++++++++ .../external/connection/connection-doctor.mdx | 19 +++++++++++++++++ .../external/connection/connection-get.mdx | 19 +++++++++++++++++ .../external/connection/connection-list.mdx | 19 +++++++++++++++++ .../external/connection/connection-remove.mdx | 21 +++++++++++++++++++ .../connection/connection-schema-add.mdx | 21 +++++++++++++++++++ .../connection-urltoitemresolver-add.mdx | 21 +++++++++++++++++++ docs/docs/cmd/external/item/item-add.mdx | 19 +++++++++++++++++ 8 files changed, 160 insertions(+) diff --git a/docs/docs/cmd/external/connection/connection-add.mdx b/docs/docs/cmd/external/connection/connection-add.mdx index d9f6ba06664..bffbfb67944 100644 --- a/docs/docs/cmd/external/connection/connection-add.mdx +++ b/docs/docs/cmd/external/connection/connection-add.mdx @@ -1,4 +1,6 @@ import Global from '../../_global.mdx'; +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; # external connection add @@ -38,6 +40,25 @@ m365 search externalconnection add The `id` must be at least 3 and no more than 32 characters long. It can contain only alphanumeric characters, can't begin with _Microsoft_ and can be any of the following values: *None, Directory, Exchange, ExchangeArchive, LinkedIn, Mailbox, OneDriveBusiness, SharePoint, Teams, Yammer, Connectors, TaskFabric, PowerBI, Assistant, TopicEngine, MSFT_All_Connectors*. +## Permissions + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + ## Examples Adds a new external connection with name and description of test app. diff --git a/docs/docs/cmd/external/connection/connection-doctor.mdx b/docs/docs/cmd/external/connection/connection-doctor.mdx index b6cc3a3b6bf..e9d38ae895e 100644 --- a/docs/docs/cmd/external/connection/connection-doctor.mdx +++ b/docs/docs/cmd/external/connection/connection-doctor.mdx @@ -49,6 +49,25 @@ Some checks must be done manually, because there are no APIs available to verify When you check the compatibility with all UXs, and there are multiple checks with the same ID, the command will use the first matching check, following the order listed above. +## Permissions + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + ## Examples Checks if the external connection with the specified ID is correctly configured for use with Copilot for Microsoft 365. diff --git a/docs/docs/cmd/external/connection/connection-get.mdx b/docs/docs/cmd/external/connection/connection-get.mdx index 14722c914ce..f9f02159ad3 100644 --- a/docs/docs/cmd/external/connection/connection-get.mdx +++ b/docs/docs/cmd/external/connection/connection-get.mdx @@ -30,6 +30,25 @@ m365 search externalconnection get +## Permissions + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + ## Examples Get the External Connection by its id. diff --git a/docs/docs/cmd/external/connection/connection-list.mdx b/docs/docs/cmd/external/connection/connection-list.mdx index 4f26c134754..2dd7fc5c2c9 100644 --- a/docs/docs/cmd/external/connection/connection-list.mdx +++ b/docs/docs/cmd/external/connection/connection-list.mdx @@ -22,6 +22,25 @@ m365 search externalconnection list +## Permissions + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + ## Examples List external connections. diff --git a/docs/docs/cmd/external/connection/connection-remove.mdx b/docs/docs/cmd/external/connection/connection-remove.mdx index 5f66fe1f708..5e8e97d8e35 100644 --- a/docs/docs/cmd/external/connection/connection-remove.mdx +++ b/docs/docs/cmd/external/connection/connection-remove.mdx @@ -1,4 +1,6 @@ import Global from '../../_global.mdx'; +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; # external connection remove @@ -35,6 +37,25 @@ m365 search externalconnection remove If the command finds multiple external connections with the specified name, it will prompt you to disambiguate which external connection it should remove, listing the discovered IDs. +## Permissions + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + ## Examples Removes external connection by its id. diff --git a/docs/docs/cmd/external/connection/connection-schema-add.mdx b/docs/docs/cmd/external/connection/connection-schema-add.mdx index 5db01cacaa2..42fcec6b97f 100644 --- a/docs/docs/cmd/external/connection/connection-schema-add.mdx +++ b/docs/docs/cmd/external/connection/connection-schema-add.mdx @@ -1,4 +1,6 @@ import Global from '../../_global.mdx'; +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; # external connection schema add @@ -31,6 +33,25 @@ m365 search externalconnection schema add +## Permissions + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + ## Examples Adds a new schema to a specific external connection. diff --git a/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx b/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx index 71cf01123aa..41fa4c00518 100644 --- a/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +++ b/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx @@ -1,4 +1,6 @@ import Global from '../../_global.mdx'; +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; # external connection urltoitemresolver add @@ -30,6 +32,25 @@ m365 external connection urltoitemresolver add [options] ``` +## Permissions + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + + | Resource | Permissions | + |-----------------|--------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + + + + ## Examples Adds a URL to item resolver to an existing connection diff --git a/docs/docs/cmd/external/item/item-add.mdx b/docs/docs/cmd/external/item/item-add.mdx index a79bb0f27d2..1bd15ebf168 100644 --- a/docs/docs/cmd/external/item/item-add.mdx +++ b/docs/docs/cmd/external/item/item-add.mdx @@ -58,6 +58,25 @@ You can use the following types: For more information about using these options, see the Microsoft Graph API documentation and documentation about Microsoft Graph connectors. +## Permissions + + + + + | Resource | Permissions | + |-----------------|--------------------------------| + | Microsoft Graph | ExternalItem.ReadWrite.OwnedBy | + + + + + | Resource | Permissions | + |-----------------|--------------------------------| + | Microsoft Graph | ExternalItem.ReadWrite.OwnedBy | + + + + ## Examples Creates an external item with simple properties that everyone is allowed to access From bfbad232e7bdb8161cb5295528faad46fa97a553 Mon Sep 17 00:00:00 2001 From: Nanddeep Nachan Date: Mon, 6 Apr 2026 15:12:24 +0000 Subject: [PATCH 2/2] Added missing permission --- .../cmd/external/connection/connection-doctor.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/docs/cmd/external/connection/connection-doctor.mdx b/docs/docs/cmd/external/connection/connection-doctor.mdx index e9d38ae895e..f04ccb2c624 100644 --- a/docs/docs/cmd/external/connection/connection-doctor.mdx +++ b/docs/docs/cmd/external/connection/connection-doctor.mdx @@ -54,16 +54,16 @@ When you check the compatibility with all UXs, and there are multiple checks wit - | Resource | Permissions | - |-----------------|--------------------------------------| - | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + | Resource | Permissions | + |-----------------|----------------------------------------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy, ExternalItem.ReadWrite.OwnedBy | - | Resource | Permissions | - |-----------------|--------------------------------------| - | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy | + | Resource | Permissions | + |-----------------|----------------------------------------------------------------------| + | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy, ExternalItem.ReadWrite.OwnedBy |