Does this occur consistently?
Repro steps:
Action: ClassicAgentRootTreeNode.getChildren
Error type: 401
Error Message: 401: The principal 0ddfecd4-9501-4449-88b3-aad6139d36f4 lacks the required data action Microsoft.CognitiveServices/accounts/AIServices/agents/read to perform GET /api/projects/{projectName}/assistants operation. For instructions on granting the necessary permissions, see https://aka.ms/FoundryPermissions.
Version: 1.6.8
OS: win32
OS Arch: x64
OS Release: 10.0.22621
Product: Visual Studio Code
Product Version: 1.133.0
Language: en
UTC time: Tue, 18 Aug 2026 22:12:05 GMT
Call Stack
z.handleResponse extension.js:8:1088198
z.listPagedAgents extension.js:8:1101034
extension.js:8:1100744extension.js:8:1100744
t.iteratePages extension.js:8:1211552
z.listAgents extension.js:8:1100711
m.getChildren extension.js:8:1864968
extension.js:8:1304093extension.js:8:1304093
t.callWithTelemetryAndErrorHandling extension.js:2:1565554
m.<anonymous> extension.js:8:1304037
i._fetchChildrenNodes extensionHostProcess.js:674:107531
i.getChildren extensionHostProcess.js:674:102989
p_.$getChildren extensionHostProcess.js:674:97404
Does this occur consistently?
Repro steps:
Action: ClassicAgentRootTreeNode.getChildren
Error type: 401
Error Message: 401: The principal
0ddfecd4-9501-4449-88b3-aad6139d36f4lacks the required data actionMicrosoft.CognitiveServices/accounts/AIServices/agents/readto performGET /api/projects/{projectName}/assistantsoperation. For instructions on granting the necessary permissions, see https://aka.ms/FoundryPermissions.Version: 1.6.8
OS: win32
OS Arch: x64
OS Release: 10.0.22621
Product: Visual Studio Code
Product Version: 1.133.0
Language: en
UTC time: Tue, 18 Aug 2026 22:12:05 GMT
Call Stack