Skip to main content
Glama

Dataverse MCP Server

by mwhesse

convert_to_autonumber

Convert text columns to AutoNumber format in Microsoft Dataverse, generating sequential identifiers using customizable patterns like PREFIX-{SEQNUM:4}-{RANDSTRING:3} for consistent record numbering.

Instructions

Converts an existing text column to an AutoNumber column by adding an AutoNumberFormat. The column must be a String type with Text format and should be empty or contain compatible data.

Input Schema

NameRequiredDescriptionDefault
autoNumberFormatYesAutoNumber format to apply using placeholders like "PREFIX-{SEQNUM:4}-{RANDSTRING:3}"
columnLogicalNameYesLogical name of the existing text column to convert
entityLogicalNameYesLogical name of the table containing the column
maxLengthNoNew maximum length if needed (ensure enough room for format expansion)

Input Schema (JSON Schema)

{ "properties": { "autoNumberFormat": { "description": "AutoNumber format to apply using placeholders like \"PREFIX-{SEQNUM:4}-{RANDSTRING:3}\"", "type": "string" }, "columnLogicalName": { "description": "Logical name of the existing text column to convert", "type": "string" }, "entityLogicalName": { "description": "Logical name of the table containing the column", "type": "string" }, "maxLength": { "description": "New maximum length if needed (ensure enough room for format expansion)", "maximum": 4000, "minimum": 1, "type": "number" } }, "required": [ "entityLogicalName", "columnLogicalName", "autoNumberFormat" ], "type": "object" }

Other Tools from Dataverse MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/mwhesse/mcp-dataverse'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server