Replies: 2 comments
-
UPDATE - same behavior with 2.0.0-preview8 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm going to submit a bug, so perhaps this discussion is moot at this point. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello folks,
I'm very new to Graph, so I hope I'm not being too obtuse here
I'm trying to convert this API call to the equivalent Powershell Mg command:
GET https://graph.microsoft.com/v1.0/drives/{drive id}/root/search(q='proposed_vm_decoms')
I'm fairly certain the command equivalent is something like this:
Search-MgDrive -driveid "{drive id}" -Q q='proposed_vm_decoms'
However, when I attempt this, or any variation, I get errors such as the following:
Search-MgDrive_Search: General exception while processing
I'm using Microsoft.Graph 1.25.0 Powershell module.
My end goal is to find the ID for a file to download, since I'm not aware of way to download a file using only the file name. (Get-MgDriveItemContent seems to require a file ID)
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions