POST https://graph.microsoft.com/v1.0/me/drive/root/children Content-Type: application/json Prefer: respond-async
Is for creating folder or item in a drive. I don't think it supports the file upload using url or attachment yet and am sure it is ignoring "@microsoft.graph.fileAttachment" in your request. I see a feature request for this here and I suggest you upvote that so that engineering team may implement it in future.