Issue with API endpoints error when managing deployments in Microsoft Machine Learning Services workspace

Rajiv Jain 30 Reputation points
2024-09-18T23:27:16.3233333+00:00

I am facing an issue where the workspace MSI doesn't have permissions to access online endpoints for my Microsoft Machine Learning Services workspace. The service invocation failed, and I received 403 Forbidden error when trying to access the API endpoints. The error message shows that S2S invocation to arm failed when calling the API endpoint. How can I resolve this issue? Please see the attached images for more details.

The workspace MSI does not have permissions to access online endpoints for this workspace. Service invocation failed! Request: GET management.azure.com/subscriptions/465c-9ccd-29efd226045c/resourceGroups/rgi/providers/Microsoft.MachineLearningServices/workspaces/rajiv-6421/onlineEndpoints Status Code: 403 Forbidden Reason Phrase: Forbidden Response Body: S2S invocation to arm failed when calling: https://management.azure.com/subscriptions/34e22a1e-0c5c-465c-9ccd5c/resourceGroups/r/providers/Microsoft.MachineLearningServices/workspaces/rajiv-6421/onlineEndpoints?api-version=2023-10-01&$skipToken=

User's image

You can still deploy the model under all projects, shared resources but cannot use the model...

User's image

User's image

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,029 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,832 questions
{count} votes

3 answers

Sort by: Most helpful
  1. YutongTie-MSFT 51,611 Reputation points
    2024-09-19T15:12:20.4833333+00:00

    Hello everyone and Rajiv,

    Thanks for reporting this issue, product team just release a hotfix for this issue. For all new projects, you should see no issue.

    For existing projects which are under this error, please first check on your top right to know which service you are using for your AI studio, then go to Azure Portal, search the service, and click on the Access Control button on the left panel, add the Azure AI Administrator role as below -

    Please wait for at lease 15 mins.User's image

    I hope this helps!

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    0 comments No comments

  2. Rajiv Jain 30 Reputation points
    2024-09-19T15:51:14.3133333+00:00

    As per Microsoft suggestion I added Azure AI Administrator role and it worked.


  3. Pablo Ariel Di Loreto 1 Reputation point MVP
    2024-09-25T01:27:31.13+00:00

    Hello people! Same error when trying to add a Hub in Azure AI Studio. The operation (adding a hub in a Azure AI Service resource) finish fine, but the association between Hub & AI Resource never happen. When I try to add a manual linkn between Hub & AI Resource, an error 403 appear.

    User's image

    User's image

    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.