SharePoint: Custom column default value set by graph API will be disappeared after a couple hours
The default value for the custom column which set by the Microsoft Graph API will be disappeared after a couple of hours.
Here is the steps to reproduce the issue:
1. Create a new Modern team site collection not connected to M365 group by using PowerShell command ( New-PnPSite -Type TeamSiteWithoutMicrosoft365Group).
2. Create a new list in the new site and open list settings. Advanced settings -> Select Yes to Allow management of content types and OK.
3. At the settings page, select Add from existing site content types from Content Types.
4. Add a custom content type and select OK. This will add custom columns in the Columns section at the settings page.
5. Set the default value for the column by using graph API.
6. It will set the default value; however, the default value will be disappeared after a couple of hours. When upload a file to the document library which has the custom column, the default value does not show.
Is there anything I need to set in order to keep the default value for the column permanently?
The default value for the custom column which set by the Microsoft Graph API will be disappeared after a couple of hours. Here is the steps to reproduce the issue:1. Create a new Modern team site collection not connected to M365 group by using PowerShell command ( New-PnPSite -Type TeamSiteWithoutMicrosoft365Group).2. Create a new list in the new site and open list settings. Advanced settings -> Select Yes to Allow management of content types and OK.3. At the settings page, select Add from existing site content types from Content Types.4. Add a custom content type and select OK. This will add custom columns in the Columns section at the settings page.5. Set the default value for the column by using graph API.6. It will set the default value; however, the default value will be disappeared after a couple of hours. When upload a file to the document library which has the custom column, the default value does not show. Is there anything I need to set in order to keep the default value for the column permanently? Read More