Skip to main content
NutanixCustomer feedback

A customer is unable to connect to the Nutanix Prism v3 REST API using PowerShell 5.1 in Constrained Language Mode, encountering a 401 authentication error.

What happened

Post: "Help needed: Connecting to Nutanix Prism API using PowerShell 5.1"

Source

RedditOct 3, 2026By u/Mcm_Sys

r/virtualization

Help needed: Connecting to Nutanix Prism API using PowerShell 5.1

upvotes
1
comments
1

Post

Highlighted: the lines this signal was extracted from

Hi everyone, I'm trying to connect to a Nutanix Prism environment using PowerShell in order to list the VMs through the Nutanix REST API. My environment: Windows PowerShell 5.1 PowerShell is running in Constrained Language Mode Nutanix Prism on https://<prism-server>:9440 I'm trying to use the Nutanix v3 API Endpoint: /api/nutanix/v3/vms/list Initially, I tried Invoke-RestMethod with -Credential, but I received: 401 AUTHENTICATION REQUIRED "Invalid cookies present in the request" I then tried to use Basic Authentication manually, but PowerShell's Constrained Language Mode blocks .NET methods such as: \[Convert\]::ToBase64String() \[System.Net.ServicePointManager\]::ServerCertificateValidationCallback I also have curl.exe available: curl 8.21.0 So I tried: curl.exe -k -u "USERNAME" \` "https://<prism-server>:9440/api/nutanix/v3/vms/list" \` -X POST \` -H "Content-Type: application/json" \` -d '{"kind":"vm"}' However, when running this from PowerShell ISE, it seems to hang after displaying: Connexion à Nutanix... My goal is simply to authenticate and retrieve a list of VMs (name + UUID). I don't need to perform any modification on the Nutanix environment. Has anyone successfully used the Nutanix v3 REST API from PowerShell 5.1 under Constrained Language Mode? What's the recommended authentication method in this situation? Thanks!

reddit.com/r/virtualization/comments/1wwrsjp/help_needed_connecting_t...Read the full source

Extracted by Autobound

From the Signal API record
Signal
Customer feedback

What this signalsUser posts often show product pain before it reaches reviews or churn.

Subreddit
r/virtualization
Event date
Oct 2026

The full record

From the Signal API record

Numbers

Mentions
1

Details

Timing
In progress
Category
Integration
Virality
Very low
Post kind
Text
Prominence
Core
Company's role
Vendor

Topics and mentions

Topics

  • integration
  • powershell
  • authentication
  • api
  • support

Products named

  • Nutanix Prism
  • Nutanix v3 API

Extraction

Sentiment
Negative
Detected
Oct 3, 2026
signal_type
reddit-company
signal_subtype
customerFeedback

Use this data

Get every Reddit signal for Nutanix and the companies you sell to, in the tools you already use.

  1. Ask Claude about it

    Connect Autobound to Claude, Claude Code or Cursor with MCP. Then ask: “What changed at Nutanix this week?”

  2. Send it to your own tools

    The Signal API returns Reddit signals for any list of companies as JSON, for your CRM, warehouse or app.

  3. Try it free

    Sign up and spend your free credits on the companies you sell to.

    Start Free1,000 free credits

The API returns more than this page shows

This page shows a preview. The full reddit-company record in the Signal API and MCP can also have these 8 fields. Some fields are empty for some signals.

Company

  • linkedin_urlValue in the API
  • industriesValue in the API
  • employee_count_lowValue in the API
  • employee_count_highValue in the API
  • revenueValue in the API
  • descriptionValue in the API

Signal

  • signal_nameValue in the API
  • associationValue in the API
Show the full JSONThe record on this page and the API request

GET /v1/signals/bb2514fd-17f9-57c6-aa15-6fa581d981b8 returns this record as JSON. POST /v1/companies/enrich returns every signal for nutanix.com.

{
  "signal_id": "bb2514fd-17f9-57c6-aa15-6fa581d981b8",
  "signal_type": "reddit-company",
  "signal_subtype": "customerFeedback",
  "detected_at": "2026-10-03T16:44:23+00:00",
  "company": {
    "name": "Nutanix",
    "domain": "nutanix.com"
  },
  "data": {
    "nsfw": false,
    "stage": "none",
    "awards": 0,
    "timing": "in_progress",
    "topics": [
      "api",
      "integration",
      "powershell",
      "authentication",
      "support"
    ],
    "post_id": "1wwrsjp",
    "summary": "A customer is unable to connect to the Nutanix Prism v3 REST API using PowerShell 5.1 in Constrained Language Mode, encountering a 401 authentication error.",
    "category": "integration",
    "evidence": [
      "[post] I'm trying to connect to a Nutanix Prism environment using PowerShell in order to list the VMs through the Nutanix REST API.",
      "[post] Initially, I tried Invoke-RestMethod with -Credential, but I received: 401 AUTHENTICATION REQUIRED \"Invalid cookies present in the request\"",
      "[post] Has anyone successfully used the Nutanix v3 REST API from PowerShell 5.1 under Constrained Language Mode? What's the recommended authentication method in this situation?"
    ],
    "virality": "very_low",
    "post_date": "2026-10-03T16:44:23.000Z",
    "post_kind": "text",
    "post_text": "Hi everyone,\n\nI'm trying to connect to a Nutanix Prism environment using PowerShell in order to list the VMs through the Nutanix REST API.\n\nMy environment:\n\nWindows PowerShell 5.1\n\nPowerShell is running in Constrained Language Mode\n\nNutanix Prism on https://<prism-server>:9440\n\nI'm trying to use the Nutanix v3 API\n\nEndpoint: /api/nutanix/v3/vms/list\n\nInitially, I tried Invoke-RestMethod with -Credential, but I received:\n\n401 AUTHENTICATION REQUIRED \"Invalid cookies present in the request\"\n\nI then tried to use Basic Authentication manually, but PowerShell's Constrained Language Mode blocks .NET methods such as:\n\n\\[Convert\\]::ToBase64String() \\[System.Net.ServicePointManager\\]::ServerCertificateValidationCallback\n\nI also have curl.exe available:\n\ncurl 8.21.0\n\nSo I tried:\n\ncurl.exe -k -u \"USERNAME\" \\` \"https://<prism-server>:9440/api/nutanix/v3/vms/list\" \\` -X POST \\` -H \"Content-Type: application/json\" \\` -d '{\"kind\":\"vm\"}'\n\nHowever, when running this from PowerShell ISE, it seems to hang after displaying:\n\nConnexion à Nutanix...\n\nMy goal is simply to authenticate and retrieve a list of VMs (name + UUID). I don't need to perform any modification on the Nutanix environment.\n\nHas anyone successfully used the Nutanix v3 REST API from PowerShell 5.1 under Constrained Language Mode? What's the recommended authentication method in this situation?\n\nThanks!",
    "sentiment": "negative",
    "subreddit": "virtualization",
    "event_date": "2026-10",
    "post_title": "Help needed: Connecting to Nutanix Prism API using PowerShell 5.1",
    "prominence": "core",
    "source_url": "https://www.reddit.com/r/virtualization/comments/1wwrsjp/help_needed_connecting_to_nutanix_prism_api_using/",
    "entity_role": "vendor",
    "post_author": "Mcm_Sys",
    "upvote_ratio": 1,
    "mention_count": 1,
    "mention_surge": false,
    "subreddit_url": "https://www.reddit.com/r/virtualization/",
    "total_upvotes": 1,
    "comments_total": 1,
    "total_comments": 1,
    "post_author_url": "https://www.reddit.com/user/Mcm_Sys/",
    "signal_category": "feedback",
    "comments_included": 0,
    "products_mentioned": [
      "Nutanix Prism",
      "Nutanix v3 API"
    ]
  }
}

Long text fields are shortened on this page.

Looking up one signal by its id is free. Enrich costs 2 credits per signal returned; a call with no results is free.