Share via

Error - No Access to this subscription

Vaibhav 0 Reputation points
2026-04-30T07:26:40.0266667+00:00

I am trying to create a Azure search index for my project but getting an error: 'No access to this subscription, or no Azure OpenAI service available under it'.. I have already opted for 'Pay as you do' so cost should not be the issue.. How do I solve this since creating Azure Search Index is important for my project

Azure Advisor
Azure Advisor

An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.


2 answers

Sort by: Most helpful
  1. Bharath Y P 9,730 Reputation points Microsoft External Staff Moderator
    2026-04-30T07:41:53.26+00:00

    Hello Vaibhav, it sounds like the “No access to this subscription, or no Azure OpenAI service available under it” error is telling us that your account either doesn’t have the right permissions at the subscription level or you’re pointed at the wrong subscription/tenant context. Here are the most common fixes:

    1. Verify your RBAC role at the subscription scope
      • In Azure CLI run: az role assignment list --scope /subscriptions/<your-subscription-ID>
      • Check that you (or the service principal you’re using) are listed as Owner or Contributor.
      • If you’re missing those roles, have your subscription admin assign you Owner/Contributor at the subscription level (not just a resource group).
    2. Ensure you’re signed into the correct subscription and directory
      • az account show • Confirms which subscription and tenant you’re targeting.
      • If it’s not the right one: az account set --subscription <your-subscription-ID>
    3. Wait for role-assignment propagation
      • After a new role is granted, it can take 5–10 minutes before you can perform high-privilege actions.

    Reference links

    • Troubleshoot Azure RBAC roles and permissions: https://aka.ms/role-rbac-troubleshoot

    • Assign Azure roles via CLI: https://aka.ms/role-assign-cli

    • Reinstate admin privileges for CSP subscriptions: https://aka.ms/reinstate-csp

    Was this answer helpful?


  2. Alex Burlachenko 22,120 Reputation points MVP Volunteer Moderator
    2026-04-30T07:31:41.5566667+00:00

    Vaibhav hi & thx for join me here at Q&A portal,

    this error is usually not about billing. Pay as you go only means the subscription can be charged, it dsnt mean u have permissions or Azure OpenAI access.

    For Azure AI Search index with OpenAI integration, u need two things access to the subscription/resource group and an Azure OpenAI resource/deployment in that subscription. check u are in the right directory + subscription first, then confirm ur account has at least Contributor on the resource group.

    after that look if Azure OpenAI exists in same subscription and region supported by your flow. if there is no Azure OpenAI resource, create one first... deploy a model, then come back to index creation. if OpenAI resource creation is not available, request Azure OpenAI access / quota or use a supported region. other words payment is fine but RBAC or Azure OpenAI resource/access is missing

    rgds, Alex

    &

    if my answer helps pls accept it.
    

    Was this answer helpful?


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.