/v1.0/sites/{siteId},uuid1,uuid2/drives?top=1000 empty value

Carles Pina Estany 21 Reputation points
2021-05-10T16:51:45.713+00:00

Hi Microsoft Graph,

We are making a request like:

https://graph.microsoft.com/v1.0/sites/our.domain.com,42d0a016-7e0b-4b84-9bc1-817199c8b028,5748ccc6-4430-4e64-a304-495fc99f26d7/drives?top=1000
Authorization: Bearer THE_TOKEN

For about two months this didn't cause any problem. Just today, for the majority of the users we were getting (note the empty value):

{
   "@odata.context" : "https://graph.microsoft.com/v1.0/$metadata#drives",
   "value" : []
}

Until today all the users (or today but only for some of the tokens) we were getting:

{
   "value" : [
      {
         "id" : "b!edited_for_the_forum",
         "lastModifiedDateTime" : "2021-04-13T10:26:41Z",
         "driveType" : "documentLibrary",
         "createdDateTime" : "2021-03-20T23:39:47Z",
         "owner" : {
            "group" : {
               "email" : "edited_for_the_forum@domain.com",
               "id" : "uuid_edited",
               "displayName" : "correct_edited"
            }
         },
         "name" : "Documents",
         "webUrl" : "https://domain.sharepoint.com/sites/X/X",
         "lastModifiedBy" : {
            "user" : {
               "displayName" : "A Name",
               "email" : "a_name@domain.com",
               "id" : "edited"
            }
         },
         "createdBy" : {
            "user" : {
               "displayName" : "System Account"
            }
         },
         "description" : "",
         "quota" : {
            "deleted" : 0,
            "used" : 0,
            "total" : 0,
            "remaining" : 0
         }
      }
   ],
   "@odata.context" : "https://graph.microsoft.com/v1.0/$metadata#drives"
}

Is this a known problem?

Is there are internal Microsoft ticket to fix and how can we know if it's fixed?

The SharePoint site URL and the drive URL has been edited using the panel (months ago). Some people have suggested that this might have been a problem but we don't know for sure. The SharePoint site and library names have not been edited (only the URLs)

Please let me know if I could send more information of any type.

Thank you for reading all of this,

Carles

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,761 questions
0 comments No comments
{count} votes

Accepted answer
  1. MichaelHan-MSFT 18,021 Reputation points
    2021-05-11T07:49:19.41+00:00

    Hi @Carles Pina Estany ,

    Per my test, the request works fine on my end. Usually, we could add search query parameter in the end of the request to avoid getting empty value, like the below. Check if works for you.

    https://graph.microsoft.com/v1.0/sites/our.domain.com,42d0a016-7e0b-4b84-9bc1-817199c8b028,5748ccc6-4430-4e64-a304-495fc99f26d7/drives?search=*  
    

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.


0 additional answers

Sort by: Most helpful