root.agentConnectors.toolSource.remoteMcpServer.authorization object

Authorization configuration for connecting to the local MCP server. The design mirrors that of API plugin manifests. For details, see Register MCP servers as agent connectors for Microsoft 365.

Properties that reference this object type:

Syntax

{
  "type": "None | OAuthPluginVault | ApiKeyPluginVault | DynamicClientRegistration | AzureKeyVault",
  "referenceId": "{string}"
}
{
  "type": "None | OAuthPluginVault | ApiKeyPluginVault | DynamicClientRegistration | AzureKeyVault",
  "referenceId": "{string}"
}
{
  "type": "None | OAuthPluginVault | ApiKeyPluginVault | DynamicClientRegistration",
  "referenceId": "{string}"
}

Properties

type

The type of authorization required to invoke the MCP server. Supported values include:

  • None: No authentication required (anonymous access).
  • OAuthPluginVault: OAuth 2.0 tokens stored inside Microsoft's secure vault.
  • ApiKeyPluginVault: API key stored in a vault and referenced by ID.
  • DynamicClientRegistration: Dynamic OAuth client creation.
  • AzureKeyVault: Secrets stored in your own Azure Key Vault instance.

Type
string

Required

Constraints

Supported values
Allowed values: None, OAuthPluginVault, ApiKeyPluginVault, DynamicClientRegistration, AzureKeyVault.

type

The type of authorization required to invoke the MCP server. Supported values include:

  • None: No authentication required (anonymous access).
  • OAuthPluginVault: OAuth 2.0 tokens stored inside Microsoft's secure vault.
  • ApiKeyPluginVault: API key stored in a vault and referenced by ID.
  • DynamicClientRegistration: Dynamic OAuth client creation.
  • AzureKeyVault: Secrets stored in your own Azure Key Vault instance.

Type
string

Required

Constraints

Supported values
Allowed values: None, OAuthPluginVault, ApiKeyPluginVault, DynamicClientRegistration.

referenceId

A reference identifier used when type is OAuthPluginVault, ApiKeyPluginVault, or DynamicClientRegistration. The referenceId value is acquired independently when providing the necessary authorization configuration values. This mechanism exists to prevent the need for storing secret values in the plugin manifest.

Type
string

Required

Constraints
Maximum string length: 128.

Supported values