update_model_column_settings
Updates settings for existing unmanaged custom columns in Dynamics 365/Dataverse—length, precision, required level, auditing, search, defaults, and date format—using a previewed, hash-bound write.
Instructions
Default preview of existing ordinary unmanaged custom column settings; nine supported base types. Allows length/range/precision expansion, requirement level, auditing/search managed values, Boolean/existing Picklist defaults and DateTime display format. Preserves full definition, labels, choices and date behavior. Rejects narrowing, primary/derived/calculated/rollup/autonumber columns and type/schema changes. Execute with preview planHash as expected_hash plus allow_unprotected_write=true; full native PUT then readback, no automatic publication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | No | ||
| dryRun | No | Default true performs reads/eligibility checks and returns a native request preview. Set false to execute. | |
| dry_run | No | Default true performs reads/eligibility checks and returns a native request preview. Set false to execute. | |
| logicalName | No | ||
| expectedHash | No | Current preview planHash (binds target, patch and environment), required for execution. | |
| logical_name | No | ||
| attributeName | No | ||
| expected_hash | No | Current preview planHash (binds target, patch and environment), required for execution. | |
| attribute_name | No | ||
| solutionUniqueName | No | Existing unmanaged solution; its publisher prefix is validated for new schemas. | |
| environment_profile | No | Optional named environment profile for this call; omit to use the configured default. | |
| solution_unique_name | No | Existing unmanaged solution; its publisher prefix is validated for new schemas. | |
| allowUnprotectedWrite | No | Explicitly permit the native PUT/Action without atomic concurrency protection. A preview fingerprint is still required. | |
| allow_unprotected_write | No | Explicitly permit the native PUT/Action without atomic concurrency protection. A preview fingerprint is still required. |