Account Access Issue

91557984 0 Reputation points
2024-07-09T07:18:29.8933333+00:00

When I run Content Safety example, I meet the type of error.

Error

Your account does not have access to this resource, please contact your resource owner to get access.

How can I resolve it?

Azure AI Content Safety
Azure AI Content Safety
An Azure service that enables users to identify content that is potentially offensive, risky, or otherwise undesirable. Previously known as Azure Content Moderator.
21 questions
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 24,910 Reputation points Microsoft Employee
    2024-07-09T11:48:37.49+00:00

    @91557984 Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Please note that the content safety APIs/studio need Cognitive Services User role to be assigned.

    Action Plan:

    • Please check with the Subscription Owner to grant the "Cognitive Service User" RBAC role on the resource level for your user account.
    • Then wait for 30 minutes for the role to propagate.
    • Then clear the browser cache and access again.

    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.


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.