Microsoft.Graph Command missing

Mikael Östergren 1 Reputation point
2022-03-22T07:58:40.21+00:00

I have installed Microsoft.Graph.DeviceManagement.Enrolment version 1.9.3
But I am missing the command "Get-MgDeviceManagementDepOnboardingSetting"
There are alot of commands, but this I seem to be missing.
What am I missing ?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,836 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sreeju Nair 11,856 Reputation points
    2022-03-22T08:19:52.71+00:00

    The Get-MgDeviceManagementDepOnboardingSetting command is only available in the beta version, not in the 1.0 version. You may change your version by using the following command.

    Select-MgProfile -Name "beta"  
    

    Refer the command details below.

    https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.devicemanagement.enrolment/get-mgdevicemanagementdeponboardingsetting?view=graph-powershell-beta&viewFallbackFrom=graph-powershell-1.0

    Hope this helps.

    1 person found this answer helpful.
    0 comments No comments