Does this occur consistently?
Repro steps:
Action: foundry-api.listModels
Error type: AuthorizationFailed
Error Message: The client 'borislav.despotovic@portfoliobi.com' with object id '82e02736-90b7-4ef3-9e95-3fbc26f963cd' does not have authorization to perform action 'Microsoft.CognitiveServices/accounts/read' over scope '/subscriptions/2c0cfacc-c173-44bc-aa0f-3b4d160e30cb/resourceGroups/rg-ai-poc/providers/Microsoft.CognitiveServices/accounts/aifp-sdlc-resource' or the scope is invalid. If access was recently granted, please refresh your credentials.
Version: 1.6.8
OS: win32
OS Arch: x64
OS Release: 10.0.26200
Product: Visual Studio Code
Product Version: 1.133.0
Language: en
UTC time: Tue, 18 Aug 2026 10:12:43 GMT
Call Stack
extension.js:8:6059676extension.js:8:6059676
extension.js:8:6060486extension.js:8:6060486
Does this occur consistently?
Repro steps:
Action: foundry-api.listModels
Error type: AuthorizationFailed
Error Message: The client 'borislav.despotovic@portfoliobi.com' with object id '82e02736-90b7-4ef3-9e95-3fbc26f963cd' does not have authorization to perform action 'Microsoft.CognitiveServices/accounts/read' over scope '/subscriptions/2c0cfacc-c173-44bc-aa0f-3b4d160e30cb/resourceGroups/rg-ai-poc/providers/Microsoft.CognitiveServices/accounts/aifp-sdlc-resource' or the scope is invalid. If access was recently granted, please refresh your credentials.
Version: 1.6.8
OS: win32
OS Arch: x64
OS Release: 10.0.26200
Product: Visual Studio Code
Product Version: 1.133.0
Language: en
UTC time: Tue, 18 Aug 2026 10:12:43 GMT
Call Stack