'GraphServiceClient' does not contain a definition for 'DeviceLocalCredentials' #2707
Labels
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
Describe the bug
Microsoft.Graph.Beta.GraphServiceClient contains "DeviceLocalCredentials" but Microsoft.Graph.GraphServiceClient does not although it should be available in MS Graph v1.
https://learn.microsoft.com/en-us/graph/api/devicelocalcredentialinfo-get?view=graph-rest-1.0
Expected behavior
DeviceLocalCredentials should be available in Microsoft.Graph (v1) SDK
How to reproduce
Microsoft.Graph.Models.DeviceLocalCredentialInfo? cred = await graphClient.DeviceLocalCredentials[device.DeviceId].GetAsync(requestConfiguration => { requestConfiguration.QueryParameters.Select = ["credentials"]; });
SDK Version
5.60.0
Latest version known to work for scenario above?
No response
Known Workarounds
Using Beta SDK instead:
Microsoft.Graph.Beta.Models.DeviceLocalCredentialInfo? cred = await graphClientBeta.DeviceLocalCredentials[device.DeviceId].GetAsync(requestConfiguration => { requestConfiguration.QueryParameters.Select = ["credentials"]; });
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: