I tried to use queries like

GET https://graph.microsoft.com/v1.0/sites/{siteID}/drives/ and I get all the document libraries/drives i have inside that site.

But when I try to do a POST at https://graph.microsoft.com/v1.0/sites/{siteID}/drives/ with request Body{ "name": "folderName", "folder": { "childCount": 0 }, "@microsoft.graph.conflictBehavior": "rename" } . I use this requestBody when i want to create a folder inside a drive with query https://graph.microsoft.com/v1.0/sites/{siteID}/drives/{driveId}/root/children and it works perfectly

i get Bad Request - 400

0

There are 0 best solutions below