Skip to content

Fix missing extensionAttributes structure in PowerShell Example 2 for… #3384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

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