Skip to content

Conversation

KonstantinMSFT
Copy link

@KonstantinMSFT KonstantinMSFT commented Aug 19, 2025

… Update-MgDevice.md

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.



Fixes #

Changes proposed in this pull request

  • Adding parameters for $params in Example 2
  • Import-Module Microsoft.Graph.Identity.DirectoryManagement
    $params = @{
    "extensionAttribute1" = "Value1"
    "extensionAttribute2" = "Value2"
    }
    Update-MgDevice -DeviceId $deviceId -BodyParameter $params

Other links

… Update-MgDevice.md

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.
@KonstantinMSFT KonstantinMSFT requested a review from a team as a code owner August 19, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant