estruyf / vscode-msgraph-autocomplete

This VSCode extension allows you to auto-complete the Microsoft Graph API URLs you are writing. You get the most useful Microsoft Graph Explorer functionality in your favorite editor.
https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-msgraph-autocomplete
MIT License
12 stars 1 forks source link

managedDevices is missing under /beta/deviceManagement/ #2

Closed jhochwald closed 3 years ago

jhochwald commented 3 years ago

Just started to test the extension, found that the managedDevices completion isn't there under the following URL: https://graph.microsoft.com/beta/deviceManagement/managedDevices/

estruyf commented 3 years ago

Thanks for creating the issue @jhochwald! It can be that for some of the beta endpoints all API paths are not yet available. Now I have checked for the one you specified and this requires you to add the managed device ID. I will add support for this, that it is more clear.

estruyf commented 3 years ago

@jhochwald this is now supported in 0.0.6.

Screenshot 2021-03-25 at 13 26 55

Screenshot 2021-03-25 at 13 27 07

jhochwald commented 3 years ago

Awesome! It works fine.

Hint: Parameters? Is it an option? Like these: https://graph.microsoft.com/beta/deviceManagement/managedDevices/?$select=iccid,phoneNumber

estruyf commented 3 years ago

@jhochwald sorry, missed the question as you closed the issue. This is not an option. It seems that not all APIs have this information available. So if it is not shown, it is simply not returned.