You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Get-MgDrive -Search doesn't appear to do anything #133
No matter what I search unless it throws an error due to . being invalid character it returns the same 2 document libraries for the root SharePoint Site Collection (Shared Documents and PreservationHoldLibrary) AB#7436
I searched the term IS and through Graph explorer I receive more then 20 results - the command just returns the Documents and Preservation Hold Libraries.
Activity
darrelmiller commentedon Mar 15, 2020
Do you have the same problem if you try making the query in Graph Explorer?
Here is a sample query in Graph Explorer:
https://developer.microsoft.com/en-us/graph/graph-explorer/preview?request=me/drive/root/search(q='finance')?select=name,id,webUrl&method=GET&version=v1.0&GraphUrl=https://graph.microsoft.com&requestBody=e30=
mattgrif commentedon Mar 16, 2020
I searched the term IS and through Graph explorer I receive more then 20 results - the command just returns the Documents and Preservation Hold Libraries.
peombwa commentedon Mar 17, 2021
This is an SDK bug. We are missing the following paths in our OpenAPI docs:
'/drives/{drive-id}/root/microsoft.graph.search(q='{q}')'=>Search-MgDrive.'/groups/{group-id}/drive/root/microsoft.graph.search(q='{q}')'=>Search-MgGroupDrive.'/sites/{site-id}/drive/root/microsoft.graph.search(q='{q}')'=>Search-MgSiteDrive.'/users/{user-id}/drive/root/microsoft.graph.search(q='{q}')'=>Search-MguserDrive.