Issue when retrieve channel with File and folder ID

Amit Mishra 1 Reputation point


I see a strange issue when copying files in a new team. It doesn't retrieve all channels from the target Team by calling the API "<driveID>/root/children". It was working before and is working fine when we retrieve source channels.

But, when we click Channels->Files manually from "" it starts getting channels and also copies files. If we click only Channels but not files, it does not work.

Steps I follow:-
1> Create New team
2> Create the same channels as we have in source team template
3> Copying files and folders in newly created channels from the source channels. At this point, I face an issue that It does not retrieve all channels and fileFolderID using API "<driveID>/root/children".

I am using .net with c# to call this API

Could you please suggest how can I get it working?


Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,419 questions
{count} votes

3 answers

Sort by: Most helpful
  1. CarlZhao-MSFT 40,231 Reputation points

    I tested this api locally without any problems. If you want to list all items in OneDrive, can try this api to see how:

  2. SyncUser 6 Reputation points

    Hi Carl,

    Is there any update?


    0 comments No comments

  3. SyncUser 6 Reputation points

    Any update here guys??? We are struggling everyday.

    0 comments No comments