Skip to content

Get-IntersightManagedObject is returning a (401) Unauthorized error. #198

@tbrock47

Description

@tbrock47

Describe the bug
Get-IntersightManagedObject is returning a (401) Unauthorized error.
The message includes text mentioning "Invalid API Key".
This happens when piping an object to the cmdlet.

To Reproduce
Steps to reproduce the behavior
$ServerProfile = Get-IntersightServerProfile -Name 'PROFILENAME'
$ServerProfile.AssociatedServer.ActualInstance | Get-IntersightManagedObject

Version used

  • PS Core: 7.5.2
  • Module: 1.0.11.2025062323

Expected behavior
Return the appropriate JSON object like how it used to work in the past.

Screenshots
Unfortunately, my organization has blocked non-enterprise accounts from logging into github, so a screenshot would be difficult to provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions