Issue:20The FLUX.2-pro deployment is healthy and provisioned successfully.21The Playground loads but returns:22 23PermissionDenied24Principal does not have access to API/Operation

Will Schroeder 0 Reputation points
2026-07-23T23:58:55.2733333+00:00

Issue:

The FLUX.2-pro deployment is healthy and provisioned successfully.

The Playground loads but returns:

 

PermissionDenied

Principal does not have access to API/Operation

Azure OpenAI in Foundry Models

2 answers

Sort by: Most helpful
  1. Pavan Kumar Purilla 90 Reputation points Microsoft External Staff Moderator
    2026-07-24T01:59:03.35+00:00

    Hello Will Schroeder,
    Thank you for reaching out to Microsoft Q&A

    Based on the information provided, the FLUX.2-pro deployment has been successfully provisioned and is in a healthy state. The error "PermissionDenied: Principal does not have access to API/Operation" generally indicates that the authenticated user or service principal does not have sufficient permissions to invoke the deployed model.

    Please verify that the affected user has the appropriate Azure RBAC role assignments on the Azure AI Foundry project/resource and that the correct Microsoft Entra ID account is being used. If permissions were recently granted, please allow some time for propagation and try again.

    I hope this helps. Please let us know if you have any further questions. Thank you!

    Was this answer helpful?

    0 comments No comments

  2. Dio Xavier 292.7K Reputation points Volunteer Moderator
    2026-07-24T00:27:50.0033333+00:00

    Hello,

    Welcome to the Microsoft Azure Community.

    Good evening. Thank you for contacting us and detailing your scenario. The error message indicates that the identity used by the Playground lacks the permissions to execute the model API/operation. In this case, the recommendation is to check the IAM/RBAC settings for both the project and the inference resource to confirm that the Playground is using the correct identity, and to allow time for permission propagation after any changes.

    Let us know the result.

    Was this answer helpful?

    0 comments No comments

Your answer

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