AI Features Are Unavailable or Return Errors

Fix missing AI menu options or AI error messages.

Symptom A: “Explain with AI” does not appear in the context menu

Cause Resolution
AI features disabled for the tenant Admin: enable AI features in the Admin Center for this tenant. See Set up AI integration.
API key not configured Admin: add an OpenAI or Azure OpenAI API key in the Admin Center.
Role does not have access Check the user’s role and resource permissions.

Symptom B: AI error messages

Error message Cause Resolution
“There is no internet connection” The server cannot reach the AI provider Check outbound internet access; whitelist api.openai.com (OpenAI) or <app>.openai.azure.com (Azure) on port 443
“Invalid GPT key” The API key is wrong or has been revoked Admin: replace the API key in the Admin Center
“GPT engine is overloaded” The AI provider is under high load Wait a few minutes and try again
“Source code is too large to explain” The object has too many lines of code Use the Explain on a portion of the source code instead
API key expired or disabled Key was revoked by the AI provider Admin: generate a new key and update it in the Admin Center

Next steps