Skip to content

Commit 351e577

Browse files
Fix missing extensionAttributes structure in PowerShell Example 2 for Update-MgDevice.md (#3384)
Example 2 is missing the actual structure or syntax for how to pass extensionAttributes. Please include a working PowerShell snippet with the correct object structure. Co-authored-by: Ramses Sanchez-Hernandez <[email protected]>
1 parent 79dc52f commit 351e577

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Identity.DirectoryManagement/v1.0/examples/Update-MgDevice.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ This example will update the accountenabled property of a device
2020
Import-Module Microsoft.Graph.Identity.DirectoryManagement
2121
2222
$params = @{
23+
"extensionAttribute1" = "Value1"
24+
"extensionAttribute2" = "Value2"
2325
}
2426
2527
Update-MgDevice -DeviceId $deviceId -BodyParameter $params

0 commit comments

Comments
 (0)