Cannot see columnValidation property when enumerating columns in a SharePoint list

Data Wizard 26 Reputation points
2021-11-27T21:39:32.85+00:00

According to the information here columndefinition the list of properties returned from a get of columns in a SharePoint list include a property named "validation" of type columnValidation. However when I tried this in Graph Explorer I get all the other properties returned, but not "validation" (and I am 100% sure that some columns do have a validation).

The query I am using is in the format https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/columns

Is there something I need to include in the request to get this property returned?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,569 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,607 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,664 questions
{count} votes

Accepted answer
  1. CarlZhao-MSFT 36,891 Reputation points
    2021-11-30T09:37:56.89+00:00

    Hi @Data Wizard

    After many tests, I can come to the conclusion that returning the validation attribute is not supported. Before this, I have set columnValidation for column in SharePoint. I suggest you submit a user voice to add a support request for the columnValidation attribute, and I will vote for you.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful