Unable to get rootFolder name of a list

Dhanusha Elangovan 0 Reputation points

In our code we are fetching rootfolder name from SchemaXml of a list as below. In the scheamXML, the root folder will be present. It was working fine. But recently the value is coming as empty. Any one knows the root cause for this?

ListCollection listCollection = context.Web.Lists;



lists => lists.Include(

list => list.Hidden,

list => list.Title,

list => list.BaseType,

list => list.BaseTemplate,

list => list.Id,

list => list.SchemaXml



A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,071 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 32,726 Reputation points Microsoft Vendor

    Hi @Dhanusha Elangovan,

    There is an issue in sharepoint online backend which will cause users receive the following error when attempting to access some SharePoint Online lists: "One or more field types are not installed properly. Go to list settings page to delete these fields."

    You could refer to the following reprot in admin center


    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.