You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The function name is incorrect: Get-MgDeviceManagementDeviceCustomAttributeShellScriptUserRunStateDeviceRunStateManagedDeviceCloudPcRemoteActionResult #133
changed the title [-]The function name is incorrect: Get-MgDeviceManagementDeviceCustomAttributeShellScriptUserRunStateGet-MgDeviceManagementDeviceCustomAttributeShellScriptUserRunStateDeviceRunStateManagedDeviceCloudPcRemoteActionResultDeviceRunStateManagedDeviceCloudPcRemoteActionResult[/-][+]The function name is incorrect: Get-MgDeviceManagementDeviceCustomAttributeShellScriptUserRunStateDeviceRunStateManagedDeviceCloudPcRemoteActionResult[/+]on Mar 20, 2022
Unfortunately, Get-MgDeviceManagementDeviceCustomAttributeShellScriptUserRunStateDeviceRunStateManagedDeviceCloudPcRemoteActionResult is defined as a valid API path in the CSDL metadata, our single source of truth. Get-MgDeviceManagementManagedDeviceCloudPcRemoteActionResult already exists and is mapped to the right API, i.e.,
The workload owner should provide a fix by removing the ContainsTarget="true" from deviceRunStates navigation properties on deviceManagementScriptUserState entity. Alternatively, we can apply an XSLT transform to remove the ContainsTarget="true" as a temporary fix.
Hi Peter Ombwa (@peombwa) Thanks for you explanation, since I'm not the owner of the two metadata, could we move forward with the second option? _Alternatively, we can apply an XSLT transform to remove the ContainsTarget="true" as a temporary fix firstly?
Activity
[-]The function name is incorrect: Get-MgDeviceManagementDeviceCustomAttributeShellScriptUserRunStateGet-MgDeviceManagementDeviceCustomAttributeShellScriptUserRunStateDeviceRunStateManagedDeviceCloudPcRemoteActionResultDeviceRunStateManagedDeviceCloudPcRemoteActionResult[/-][+]The function name is incorrect: Get-MgDeviceManagementDeviceCustomAttributeShellScriptUserRunStateDeviceRunStateManagedDeviceCloudPcRemoteActionResult[/+]peombwa commentedon Apr 1, 2022
Thanks for bringing this to our attention.
Unfortunately,
Get-MgDeviceManagementDeviceCustomAttributeShellScriptUserRunStateDeviceRunStateManagedDeviceCloudPcRemoteActionResultis defined as a valid API path in the CSDL metadata, our single source of truth.Get-MgDeviceManagementManagedDeviceCloudPcRemoteActionResultalready exists and is mapped to the right API, i.e.,Get-MgDeviceManagementDeviceCustomAttributeShellScriptUserRunStateDeviceRunStateManagedDeviceCloudPcRemoteActionResult->/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript-id}/userRunStates/{deviceManagementScriptUserState-id}/deviceRunStates/{deviceManagementScriptDeviceState-id}/managedDevice/getCloudPcRemoteActionResults.Get-MgDeviceManagementManagedDeviceCloudPcRemoteActionResult->/deviceManagement/managedDevices/{managedDevice-id}/getCloudPcRemoteActionResults.Current metadata definition
.../deviceCustomAttributeShellScripts/{id}/userRunStates/{id}/deviceRunStates.../deviceCustomAttributeShellScripts/{id}/userRunStates/{id}/deviceRunStates/managedDevice.../deviceCustomAttributeShellScripts/{id}/userRunStates/{id}/deviceRunStates/managedDevice/getCloudPcRemoteActionResultsThe workload owner should provide a fix by removing the
ContainsTarget="true"fromdeviceRunStatesnavigation properties ondeviceManagementScriptUserStateentity. Alternatively, we can apply an XSLT transform to remove theContainsTarget="true"as a temporary fix.AshleyYangSZ commentedon May 18, 2022
Hi Peter Ombwa (@peombwa) Thanks for you explanation, since I'm not the owner of the two metadata, could we move forward with the second option? _Alternatively, we can apply an XSLT transform to remove the ContainsTarget="true" as a temporary fix firstly?

peombwa commentedon May 18, 2022
AshleyYangSZ. Awesome! I'll remove them.
peombwa commentedon May 18, 2022
We should also remove the following unsupported paths/commands:


Only the commands highlighted in yellow are supported.
Related to microsoftgraph/msgraph-sdk-powershell#1221 (comment).
peombwa commentedon Jun 21, 2022
The workload has already fixed the issue in the metadata:
The refreshed commands will be available as part of microsoftgraph/msgraph-sdk-powershell#1330.
peombwa commentedon Jun 22, 2022
Closed by https://github.com/microsoftgraph/msgraph-sdk-powershell/releases/tag/1.10.0