Skip to content

[Doc Issue] Quickstart: Deploy your first hosted agent - Microsoft Foundry | Microsoft Learn needs to be updated #6935

@puicchan

Description

@puicchan

azd version 1.23.6 (commit 16c72e7)

Walking through Quickstart: Deploy your first hosted agent - Microsoft Foundry | Microsoft Learn

  1. Pre-req - "Microsoft Foundry project" should be removed. I assumed I need to create a project manually before I start but a new project is actually created for me.
  2. PowerShell Invoke-RestMethod hides nested response content — It displayed System.Object[] instead of the actual agent output. Fix: pipe through .output.content | ConvertTo-Json -Depth 5 to expand the nested objects and see the full text response. Recommend using this instead:
    (Invoke-RestMethod -Method Post -Uri "http://localhost:8088/responses" -ContentType "application/json" -Body '{"input":"What is Microsoft Foundry?"}').output.content | ConvertTo-Json -Depth 5
    

Metadata

Metadata

Assignees

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