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.