Azure for Students: Entra ID returns 401 and app registration fails with insufficient privileges

Dorviene, Jems 0 Reputation points
2026-11-24T23:30:36.76+00:00

I am using Azure for Students with a school-managed Microsoft Entra tenant. My Azure resources work, but I cannot create an app registration for my project's sign-in.

Observed behavior:

  • Opening Microsoft Entra ID in the Azure portal shows “You don't have access” with error 401.
  • Running “az ad app create” returns “Insufficient privileges to complete the operation.”
  • Reading my own profile through Microsoft Graph succeeds.

I need a single-tenant web app registration for an Azure Container Apps dashboard.

What is the supported way to determine whether this is caused by directory restrictions or missing permissions? What minimum permission should I request from the tenant administrator?

If registration is not permitted in the school tenant, can an app registration in a separate tenant I control authenticate the dashboard without moving the Azure subscription?

My Basic support plan does not include technical support. Please advise on the appropriate resolution.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-11-24T23:32:03.38+00:00

    Ask the school tenant administrator to check Users can register applications and your effective Microsoft Entra role; if registration is disabled tenant-wide, the minimum built-in role to request is Application Developer.

    Determine which restriction applies

    Because the Entra administration portal is restricted for your account, these checks must be performed by a school tenant administrator:

    1. In the Microsoft Entra admin center, go to Entra ID → Users → User settings.
    2. Check Users can register applications:
      • Yes: ordinary member users can create registrations. The administrator should then verify that your account is a Member, that you are operating in the correct tenant, and whether another tenant policy or role restriction applies.
      • No: application creation is disabled for ordinary users. The administrator can either enable the setting tenant-wide or assign Application Developer specifically to you. Microsoft documents Application Developer as the role that restores registration capability when this setting is disabled.^1^
    3. In Entra ID → Roles and administrators, inspect your active role assignments. If app registration must remain restricted, assign Application Developer rather than a broader application or global administrator role.

    Application Developer permits creating registrations and service principals as owner and managing applications you own.^2^

    Your Azure subscription access does not grant this directory permission. Azure RBAC roles manage Azure resources, while Microsoft Entra roles manage directory objects such as app registrations.^3^

    The successful Microsoft Graph profile read only demonstrates permission to read that profile; it does not establish permission to create an application. Likewise, the portal’s 401 alone does not identify the exact app-registration policy. Entra can separately restrict access to commonly used administration pages, and Microsoft notes that this portal restriction is not itself a security control.^4^

    Use a registration from another tenant

    You can keep the Container App and Azure subscription in the school tenant while using an app registration from a tenant you control. Container Apps explicitly supports an existing registration from a different tenant.^5^

    In the tenant you control:

    1. Note the Container App’s Application URL.
    2. Create an app registration and use this Web redirect URI:
         https://<CONTAINER-APP-HOST>/.auth/login/aad/callback
      
    3. Under Manage → Authentication, enable ID tokens (used for implicit and hybrid flows) and save.
    4. Under Expose an API:
      • Add or accept the Application ID URI, normally api://<APPLICATION_CLIENT_ID> for a single-tenant app.
      • Add a scope named user_impersonation.
    5. Under Certificates & secrets, optionally create a client secret and copy its value immediately. The secret is optional; when supplied, Container Apps uses hybrid-flow behavior, whereas omitting it uses implicit flow with only an ID token. Avoid implicit grant when a more secure supported flow is viable.
    6. Record the client ID, tenant ID, optional secret, and Application ID URI.

    Then configure the existing registration on the Container App:

    1. Open Container App → Security → Authentication → Add provider → Microsoft.
    2. Select Provide the details of an existing app registration.
    3. Enter:
      • Application (client) ID
      • Optional client secret
      • Issuer URL using the registration tenant ID: https://login.microsoftonline.com/<TENANT-ID>/v2.0
      • Any required allowed token audiences
    4. Select Add and test an unauthenticated request.

    A registration configured as single-tenant accepts users from the tenant where that registration exists, including guests in that tenant—not automatically all school-tenant users.^6^ Invite the required school accounts as guests to the controlled tenant, or obtain school approval for an appropriate multitenant design.

    Resolution and escalation

    The preferred institutional resolution is for the school administrator to assign Application Developer or create and own the registration for you. If the administrator believes the configuration is correct but creation still fails, they can use Entra ID → Diagnose and solve problems → Self-Service Support. Opening an Entra support request requires at least Service Support Administrator, so the tenant administrator must submit it if your Basic plan or directory access does not permit a technical case.^7^


    References

    1. Delegate app registration permissions in Microsoft Entra ID
    2. Microsoft Entra built-in roles
    3. Azure roles, Microsoft Entra roles, and classic subscription administrator roles
    4. What are the default user permissions in Microsoft Entra ID?
    5. Enable authentication and authorization in Azure Container Apps with Microsoft Entra ID
    6. Register an application in Microsoft Entra ID
    7. Find help and get support for Microsoft Entra
    AI-generated content may be incorrect. Read our transparency notes for more information.

    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.