New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeviceManagement_ManagedDevices OS language missing #12
Comments
Is your # Set the schema version to "beta"
Update-MSGraphEnvironment -SchemaVersion 'beta'
# Craft a custom call (the Get-MSGraphAllPages will automatically do paging and unwrap the values in all pages)
$result = Invoke-MSGraphRequest -Url 'deviceManagement/managedDevices?$select=hardwareInformation' | Get-MSGraphAllPages |
Hi Rohit, Right, $graphApiVersion is set to 'beta'. After changing SDK schema ver. to 'beta' and calling via custom call everything works fine and I get what I need. Thanks. P.S. some additional feedback.
But it returns nothing (same as via raw HTTP call which is expected) so ?$select=hardwareInformation is used in HTTP call which does the trick. Would be good if 'beta' stuff would be available to Intune PS SDK so it would be possible to do : |
Thanks for the feedback Maksim. We are actually not generating the SDK for "beta" exactly for that reason: "beta" should not be used in production code. |
Hello-hello,
Using API operatingSystemLanguage is under hardware information property:
Using InPS there is no hardwareInformation property to select or operatingSystemLanguage property itself:
Thanks.
/Maksim
The text was updated successfully, but these errors were encountered: