Get filesFolder

Namespace: microsoft.graph

Get the metadata for the location where the files of a channel are stored.


Some special characters in the channel name will cause this API to return an error. For details, see Known issues.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Files.Read.All, Files.ReadWrite.All, Group.Read.All**, Group.ReadWrite.All**
Delegated (personal Microsoft account) Not supported.
Application Files.Read.All, Files.ReadWrite.All, Group.Read.All**, Group.ReadWrite.All**

Note: Permissions marked with ** are supported only for backward compatibility. We recommend that you update your solutions to use an alternative permission listed in the previous table and avoid using these permissions going forward.

HTTP request

GET /teams/{id}/channels/{id}/filesFolder

Optional query parameters

This method does not support the OData query parameters to customize the response.

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.


If successful, this method returns a 200 OK response code and a driveItem object in the response body.



The following is an example of the request.



The following is an example of the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-type: application/json

    "@odata.context": "$metadata#teams('32e3b156-66b2-4135-9aeb-73295a35a55b')/channels('')/filesFolder/$entity",
    "createdDateTime": "0001-01-01T00:00:00Z",
    "lastModifiedDateTime": "2020-01-23T18:47:13Z",
    "name": "Documentation Planning",
    "webUrl": "",
    "size": 2374080,
    "parentReference": {
        "driveId": "b!2SInBlQrN0K8-GXMy9qNsPtI5ScW8C5IlZtycoy6ZpJZRRtgE4qVTrE8wrvL0-hd",
        "driveType": "documentLibrary"
    "fileSystemInfo": {
        "createdDateTime": "2020-01-23T18:47:12Z",
        "lastModifiedDateTime": "2020-01-23T18:47:13Z"
    "folder": {
        "childCount": 7