Skip to content

[All Hosts] (copilot) misleading 'auth' property warning #5307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/design/agent-and-add-in-overview.md
Original file line number Diff line number Diff line change
@@ -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
---
Expand Down Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion docs/develop/agent-and-add-in.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 2 additions & 0 deletions docs/includes/auth-property-warning-note.md
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 3 additions & 1 deletion docs/quickstarts/agent-and-add-in-quickstart.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down