{"schemaVersion":1,"source":{"repository":"microsoftgraph/msgraph-sdk-powershell","ref":"main","metadataPath":"src/Authentication/Authentication/custom/common/MgCommandMetadata.json","url":"https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/main/src/Authentication/Authentication/custom/common/MgCommandMetadata.json","generatedAt":"2026-09-14T11:56:53.5570520Z"},"records":[{"id":"f4ebbc7284b942f0cb71","original":{"Uri":"/deviceManagement/comanagedDevices/{managedDevice-id}/remoteLock","Command":"Lock-MgBetaDeviceManagementComanagedDeviceRemote","ApiVersion":"beta","Variants":["Lock","LockViaIdentity"],"Method":"POST","Permissions":[{"Name":"DeviceManagementManagedDevices.PrivilegedOperations.All","Description":"Perform user-impacting remote actions on Microsoft Intune devices","FullDescription":"Allows the app to perform remote high impact actions such as wiping the device or resetting the passcode on devices managed by Microsoft Intune.","IsAdmin":true,"PermissionType":"DelegatedWork","IsLeastPrivilege":true},{"Name":"DeviceManagementManagedDevices.PrivilegedOperations.All","Description":null,"FullDescription":null,"IsAdmin":true,"PermissionType":"Application","IsLeastPrivilege":true}],"CommandAlias":null,"Module":"Beta.DeviceManagement","OutputType":null,"ApiReferenceLink":null},"normalized":{"moduleName":"Microsoft.Graph.Beta.DeviceManagement"}},{"id":"278d60ef83988cd94253","original":{"Uri":"/deviceManagement/managedDevices/{managedDevice-id}/remoteLock","Command":"Lock-MgBetaDeviceManagementManagedDeviceRemote","ApiVersion":"beta","Variants":["Lock","LockViaIdentity"],"Method":"POST","Permissions":[{"Name":"DeviceManagementManagedDevices.PrivilegedOperations.All","Description":"Perform user-impacting remote actions on Microsoft Intune devices","FullDescription":"Allows the app to perform remote high impact actions such as wiping the device or resetting the passcode on devices managed by Microsoft Intune.","IsAdmin":true,"PermissionType":"DelegatedWork","IsLeastPrivilege":true},{"Name":"DeviceManagementManagedDevices.PrivilegedOperations.All","Description":null,"FullDescription":null,"IsAdmin":true,"PermissionType":"Application","IsLeastPrivilege":true}],"CommandAlias":null,"Module":"Beta.DeviceManagement","OutputType":null,"ApiReferenceLink":null},"normalized":{"moduleName":"Microsoft.Graph.Beta.DeviceManagement"}},{"id":"8fc88ad0d61ea83c49eb","original":{"Uri":"/drives/{drive-id}/items/{driveItem-id}/lock","Command":"Lock-MgBetaDriveItem","ApiVersion":"beta","Variants":["Lock","LockExpanded","LockViaIdentity","LockViaIdentityExpanded"],"Method":"POST","Permissions":[],"CommandAlias":null,"Module":"Beta.Files","OutputType":"IMicrosoftGraphLockInfo","ApiReferenceLink":"https://learn.microsoft.com/graph/api/driveitem-lock?view=graph-rest-beta"},"normalized":{"moduleName":"Microsoft.Graph.Beta.Files"}},{"id":"88c9276d751d9621723d","original":{"Uri":"/drives/{drive-id}/root/lock","Command":"Lock-MgBetaDriveRoot","ApiVersion":"beta","Variants":["Lock","LockExpanded","LockViaIdentity","LockViaIdentityExpanded"],"Method":"POST","Permissions":[],"CommandAlias":null,"Module":"Beta.Files","OutputType":"IMicrosoftGraphLockInfo","ApiReferenceLink":"https://learn.microsoft.com/graph/api/driveitem-lock?view=graph-rest-beta"},"normalized":{"moduleName":"Microsoft.Graph.Beta.Files"}},{"id":"8a0598791c580dc23cf7","original":{"Uri":"/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/lock","Command":"Lock-MgBetaGroupDriveItem","ApiVersion":"beta","Variants":["Lock","LockExpanded","LockViaIdentity","LockViaIdentityExpanded"],"Method":"POST","Permissions":[],"CommandAlias":null,"Module":"Beta.Files","OutputType":"IMicrosoftGraphLockInfo","ApiReferenceLink":"https://learn.microsoft.com/graph/api/driveitem-lock?view=graph-rest-beta"},"normalized":{"moduleName":"Microsoft.Graph.Beta.Files"}},{"id":"03be8d5164e7615dcfbf","original":{"Uri":"/groups/{group-id}/drives/{drive-id}/root/lock","Command":"Lock-MgBetaGroupDriveRoot","ApiVersion":"beta","Variants":["Lock","LockExpanded","LockViaIdentity","LockViaIdentityExpanded"],"Method":"POST","Permissions":[],"CommandAlias":null,"Module":"Beta.Files","OutputType":"IMicrosoftGraphLockInfo","ApiReferenceLink":"https://learn.microsoft.com/graph/api/driveitem-lock?view=graph-rest-beta"},"normalized":{"moduleName":"Microsoft.Graph.Beta.Files"}},{"id":"01f8376d3cc9a0286af0","original":{"Uri":"/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/lock","Command":"Lock-MgBetaUserDriveItem","ApiVersion":"beta","Variants":["Lock","LockExpanded","LockViaIdentity","LockViaIdentityExpanded"],"Method":"POST","Permissions":[],"CommandAlias":null,"Module":"Beta.Files","OutputType":"IMicrosoftGraphLockInfo","ApiReferenceLink":"https://learn.microsoft.com/graph/api/driveitem-lock?view=graph-rest-beta"},"normalized":{"moduleName":"Microsoft.Graph.Beta.Files"}},{"id":"24414b8b7e5d13c8eda4","original":{"Uri":"/users/{user-id}/drives/{drive-id}/root/lock","Command":"Lock-MgBetaUserDriveRoot","ApiVersion":"beta","Variants":["Lock","LockExpanded","LockViaIdentity","LockViaIdentityExpanded"],"Method":"POST","Permissions":[],"CommandAlias":null,"Module":"Beta.Files","OutputType":"IMicrosoftGraphLockInfo","ApiReferenceLink":"https://learn.microsoft.com/graph/api/driveitem-lock?view=graph-rest-beta"},"normalized":{"moduleName":"Microsoft.Graph.Beta.Files"}},{"id":"160d819469181fe9e1d9","original":{"Uri":"/users/{user-id}/managedDevices/{managedDevice-id}/remoteLock","Command":"Lock-MgBetaUserManagedDeviceRemote","ApiVersion":"beta","Variants":["Lock","LockViaIdentity"],"Method":"POST","Permissions":[],"CommandAlias":null,"Module":"Beta.Devices.CorporateManagement","OutputType":null,"ApiReferenceLink":null},"normalized":{"moduleName":"Microsoft.Graph.Beta.Devices.CorporateManagement"}},{"id":"05c88fd37dce7e22b5b2","original":{"Uri":"/deviceManagement/managedDevices/{managedDevice-id}/remoteLock","Command":"Lock-MgDeviceManagementManagedDeviceRemote","ApiVersion":"v1.0","Variants":["Lock","LockViaIdentity"],"Method":"POST","Permissions":[{"Name":"DeviceManagementManagedDevices.PrivilegedOperations.All","Description":"Perform user-impacting remote actions on Microsoft Intune devices","FullDescription":"Allows the app to perform remote high impact actions such as wiping the device or resetting the passcode on devices managed by Microsoft Intune.","IsAdmin":true,"PermissionType":"DelegatedWork","IsLeastPrivilege":true},{"Name":"DeviceManagementManagedDevices.PrivilegedOperations.All","Description":null,"FullDescription":null,"IsAdmin":true,"PermissionType":"Application","IsLeastPrivilege":true}],"CommandAlias":null,"Module":"DeviceManagement","OutputType":null,"ApiReferenceLink":null},"normalized":{"moduleName":"Microsoft.Graph.DeviceManagement"}},{"id":"5b5d1dc78a43d67eed8b","original":{"Uri":"/users/{user-id}/managedDevices/{managedDevice-id}/remoteLock","Command":"Lock-MgUserManagedDeviceRemote","ApiVersion":"v1.0","Variants":["Lock","LockViaIdentity"],"Method":"POST","Permissions":[],"CommandAlias":null,"Module":"Devices.CorporateManagement","OutputType":null,"ApiReferenceLink":null},"normalized":{"moduleName":"Microsoft.Graph.Devices.CorporateManagement"}}]}
|