I can create an AI agent in the Azure AI Foundry but can not use it even in the playground.

Yang Jun 0 Reputation points
2025-05-10T08:11:01.1966667+00:00

Error

403: Service invocation failed!

Request: POST obotoken.vienna-swedencentral.svc/obotoken/v1.0/saveusertoken/v2

Status Code: 403 Forbidden

Error Code: UserError/ForbiddenError

Reason Phrase: Forbidden

Response Body: { "error": { "code": "UserError", "severity": null, "message": "AADSTS53003: Access has been blocked by Conditional Access policies. The access policy does not allow token issuance. Trace ID: Correlation ID: Timestamp: 2025-05-10 07:57:28Z The returned error contains a claims challenge. For additional info on how to handle claims related to multifactor authentication, Conditional Access, and incremental consent, see https://aka.ms/msal-conditional-access-claims. If you are using the On-Behalf-Of flow, see https://aka.ms/msal-conditional-access-claims-obo for details.", "messageFormat": null, "messageParameters": null, "referenceCode": null, "detailsUri": null, "target": null, "details": [], "innerError": { "code": "ForbiddenError", "innerError": null }, "debugInfo": null, "additionalInfo": null }, "correlation": { "operation": "", "request": "" }, "environment": "swedencentral", "location": "swedencentral", "time": "2025-05-10T07:57:28.4850896+00:00", "componentName": "obotoken", "statusCode": 403 }

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,974 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.