Getting UserError for Codespaces for Evaluation for Risk Safety under the Azure Open AI Leaning Path for Evaluations.

Shourya Addepalli 1 Reputation point
2024-12-26T21:06:07.5866667+00:00

EvaluationException: (UserError) RAI service is unavailable in this region, or you lack the necessary permissions to access the AI project. Status Code: 530 Visit https://aka.ms/azsdk/python/evaluation/safetyevaluator/troubleshoot to troubleshoot this issue.

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

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 35,766 Reputation points
    2024-12-26T23:57:33.58+00:00

    Shourya Addepalli Greetings!

    EvaluationException: (UserError) RAI service is unavailable in this region, or you lack the necessary permissions to access the AI project. Status Code: 530 Visit https://aka.ms/azsdk/python/evaluation/safetyevaluator/troubleshoot to troubleshoot this issue.

    As error suggests that, did you check the available regions?

    In which region you are trying?
    Currently AI-assisted risk and safety metrics are only available in the following regions:User's image

    Also, make sure that you have necessary role permissions assigned yourself.
    AFAIK, Contributor role is currently required to run safety evaluations.
    See Role-based access control in Azure AI Foundry portal for the available roles.

    Do let me know if that helps or have any further queries.

    0 comments No comments

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.