diff --git a/docs/design/agent-and-add-in-overview.md b/docs/design/agent-and-add-in-overview.md index 1c6a6b4e5..16f15f280 100644 --- a/docs/design/agent-and-add-in-overview.md +++ b/docs/design/agent-and-add-in-overview.md @@ -1,7 +1,7 @@ --- title: Combine Copilot Agents with Office Add-ins (preview) description: Get an overview of why and how to combine a Copilot agent with an Office Add-in. -ms.date: 07/15/2025 +ms.date: 07/30/2025 ms.topic: overview ms.localizationpriority: medium --- @@ -141,6 +141,8 @@ The agent configuration file includes instructions for the agent and specifies o } ``` +[!INCLUDE [Validation warning about missing 'auth' property](../includes/auth-property-warning-note.md)] + The reference documentation for declarative agents is at [Declarative agent schema 1.4 for Microsoft 365 Copilot](/microsoft-365-copilot/extensibility/declarative-agent-manifest-1.4). ### Copilot API plug-in configuration diff --git a/docs/develop/agent-and-add-in.md b/docs/develop/agent-and-add-in.md index a9014a02c..3876eedf1 100644 --- a/docs/develop/agent-and-add-in.md +++ b/docs/develop/agent-and-add-in.md @@ -1,7 +1,7 @@ --- title: Add a Copilot agent to an add-in description: Learn how to add a Copilot agent to an add-in. -ms.date: 07/24/2025 +ms.date: 07/30/2025 ms.topic: how-to ms.service: microsoft-365 ms.localizationpriority: medium @@ -191,6 +191,8 @@ The runtime object should look similar to the following. There may be other prop } ``` + [!INCLUDE [Validation warning about missing 'auth' property](../includes/auth-property-warning-note.md)] + 1. *Replace the property values with new values that are appropriate for your add-in.* For more information about these properties, see [Declarative agent manifest object](/microsoft-365-copilot/extensibility/declarative-agent-manifest-1.2#declarative-agent-manifest-object). > [!NOTE] diff --git a/docs/includes/auth-property-warning-note.md b/docs/includes/auth-property-warning-note.md new file mode 100644 index 000000000..dd49e8c18 --- /dev/null +++ b/docs/includes/auth-property-warning-note.md @@ -0,0 +1,2 @@ +> [!NOTE] +> You may get a validation error from the plugin JSON that says you need an "auth" property. You should ignore this error. Your agent will work fine without that property. \ No newline at end of file diff --git a/docs/quickstarts/agent-and-add-in-quickstart.md b/docs/quickstarts/agent-and-add-in-quickstart.md index 9866dbcb2..32ef0f6f7 100644 --- a/docs/quickstarts/agent-and-add-in-quickstart.md +++ b/docs/quickstarts/agent-and-add-in-quickstart.md @@ -1,7 +1,7 @@ --- title: Build your first add-in as a Copilot skill description: Learn how to build a simple Copilot agent that has an Excel add-in as a skill. -ms.date: 07/24/2025 +ms.date: 07/30/2025 ms.topic: how-to ms.service: microsoft-365 ms.localizationpriority: high @@ -166,6 +166,8 @@ Add the agent with the following steps. } ``` + [!INCLUDE [Validation warning about missing 'auth' property](../includes/auth-property-warning-note.md)] + 1. Open the **\src\commands\commands.ts** file and add the following code the end of it. ```javascript