Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Microsoft Defender portal: "No subscriptions found" or "You are not authorized to access the portal"

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

Someone signs in to the Microsoft Defender portal for Defender for Endpoint and, instead of the dashboard, gets a message. Two of the messages Microsoft documents look similar and have different causes. "No subscriptions found" is about the licence attached to the sign-in. "You are not authorized to access the portal" is about the permission of the person. Telling them apart takes a minute; fixing the wrong one wastes days.

What follows explains each message as Microsoft's page does, how to prove which one applies, and the ways Microsoft documents to grant access. Nothing before the Fix section changes anything.

What the error means

Microsoft's page "Troubleshoot subscription and portal access issues" says that if the Defender portal shows an error message, the portal "provides a detailed explanation on what the issue is and relevant links are supplied."

"No subscriptions found." Microsoft says this means "the Microsoft Entra ID used to sign into the Microsoft Defender portal doesn't have a license for Defender for Endpoint." It gives these potential reasons: "The Windows E5 and Office E5 licenses are separate licenses." "The license was purchased but not provisioned to this Microsoft Entra instance. It could be a license provisioning issue." And: "It could be you inadvertently provisioned the license to a different Microsoft Entra ID than the one used for authentication into the service." The page's instruction for these cases is to contact Microsoft support at General Microsoft Defender for Endpoint Support or Volume Licensing support.

"You are not authorized to access the portal." Microsoft's explanation for the message is that "it's most likely because you haven't been granted access to the Microsoft Defender portal." It explains that Defender for Endpoint is "a security monitoring, incident investigation and response product, and as such, access to it's restricted and controlled by your organization's security team." The page points to a separate page on assigning user access to the portal.

So the first message is about the tenant, which is the Microsoft Entra ID organisation, and its licensing. The second is about the individual inside a tenant that already has the product.

Likely causes

Microsoft names the causes in its own text; it does not give counts, so this is not an order of likelihood.

Message Cause named by Microsoft Where to look
No subscriptions found The Windows E5 and Office E5 licences are separate licences, so one does not imply the other The licences held by the tenant
No subscriptions found The licence was purchased but not provisioned to this Microsoft Entra instance The tenant the licence was provisioned to
No subscriptions found The licence was provisioned to a different Microsoft Entra ID from the one used to sign in Which tenant the sign-in lands in
Not authorized Microsoft: "most likely because you haven't been granted access" The user's roles in Microsoft Entra ID, and the permission model in use

For access, there are two models. Microsoft's overview page says Defender for Endpoint supports two ways to manage permissions: basic permissions management, which sets permissions to full access or read-only, and role-based access control (RBAC), which sets granular permissions by defining roles, assigning Microsoft Entra user groups to the roles, and granting the user groups access to device groups. It also says that starting February 16, 2025, new Defender for Endpoint customers only have access to the Unified Role-Based Access Control (URBAC), while existing customers keep their current roles and permissions.

Prove the cause before changing anything

Everything here reads only.

  1. Write down the exact message. The two messages above are different problems and the fix for one does nothing for the other.

  2. Write down which account and which tenant the sign-in used. Microsoft's licensing cause includes "a different Microsoft Entra ID than the one used for authentication", so the account name and the organisation it belongs to are the first facts to record. Microsoft describes no way to read the tenant before the portal opens, so this is general advice: the person who signs in can tell you the account name, and a Microsoft Entra administrator can look up that account in the tenant it belongs to.

  3. For "No subscriptions found", ask the tenant's licence administrator what Defender for Endpoint licences the tenant holds. In the Microsoft Defender portal itself, once someone with access is signed in, the licence screen is under Settings, then Endpoints, then Licenses; Microsoft's macOS licence page describes that route. The Windows E5 and Office E5 point means checking the right licence by name rather than assuming one covers the other.

  4. For "You are not authorized to access the portal", find out which permission model the organisation uses. Microsoft's basic-permissions page lists "Confirm that your organization still uses basic permissions management" as the first prerequisite, and notes that if the organisation switched to RBAC, "you can't switch back to basic permissions". Under basic permissions Microsoft defines two access levels: full access for the Microsoft Entra Security Administrator role, and read-only access for the Security Reader role. Under RBAC access comes through roles assigned to Microsoft Entra user groups.

  5. Check the browser side if the symptom is partial. Microsoft's page lists a related message, "Data currently isn't available", where the dashboard or other sections show an error. Its cause is that the security.windows.com domain and all subdomains must be allowed in the browser, for example *.security.windows.com. For missing data or restricted access to parts of the portal, the page lists URLs that must be reachable through the browser for authorised users: *.blob.core.windows.net, crl.microsoft.com, https://*.microsoftonline-p.com, https://*.security.microsoft.com, https://automatediracs-eus-prd.security.microsoft.com, https://login.microsoftonline.com, https://login.windows.net, https://onboardingpackagescusprd.blob.core.windows.net, https://secure.aadcdn.microsoftonline-p.com, https://security.microsoft.com and https://static2.sharepointonline.com.

Example (illustrative): at contoso.com.au a new IT contractor signs in to the portal and is told "You are not authorized to access the portal". The organisation has used Defender for Endpoint for two years and other staff reach the dashboard. That points to the second message's cause, a user who has not been granted access, and not to a licence problem.

Fix

"No subscriptions found"

This is Microsoft's instruction, described and not a step to run: contact Microsoft support at General Microsoft Defender for Endpoint Support or Volume Licensing support. The page gives no self-service fix, so what you bring to that contact matters. Bring the exact message, the account that signed in, the tenant that account belongs to, and the licence that was purchased, because the page names purchased-but-not-provisioned and provisioned-to-another-tenant as the two licensing causes.

"You are not authorized to access the portal"

Microsoft's guidance is to grant the user access. Which route depends on the permission model the proof found. These are descriptions of Microsoft's pages, not steps, because every one of them changes who can see security data. Microsoft recommends roles with the fewest permissions, and that Global Administrator "is a highly privileged role that should be limited to emergency scenarios when you can't use an existing role."

Under basic permissions. Microsoft's page says to use Microsoft Graph PowerShell to assign the Security Administrator role for full access or the Security Reader role for read-only access. Full access lets users "sign in, view system information, resolve alerts, submit files for deep analysis, and download the onboarding package"; read-only access lets users "sign in and view alerts and related information" and not change alert states or submit files. The page's prerequisites include an account with the Privileged Role Administrator role, which it calls the least-privileged built-in role supported for the operation, and a connection with Connect-MgGraph using the RoleManagement.ReadWrite.Directory and User.ReadBasic.All permissions. The command the page prints for both levels uses New-MgDirectoryRoleMemberByRef with the role's display name and the user's principal name. Microsoft's page does not print a command to remove the role again; its related content points to its general page on assigning Microsoft Entra roles to users. Because the page gives no removal command, treat the assignment as something that has to be reversed by hand if it was a mistake.

Under RBAC. Access comes from roles assigned to Microsoft Entra user groups, not to individual users, and only users with the Defender for Endpoint administrator role can manage permissions in RBAC. As general advice, not a statement on Microsoft's pages, the change is to add the user to a group that already holds a suitable role; Microsoft gives no command for it.

Switching from basic permissions to RBAC is a one-way change

This is not a fix for the message, but it is the step a stuck administrator might reach for, so Microsoft's warning belongs here.

Risk: switching from basic permissions to RBAC cannot be reversed. Microsoft says: "Switching to RBAC is irreversible. After you switch, you can't return to basic permissions management." It also says users who have read-only access, the Security Readers, "lose access to the portal until they're assigned a role", and that only Microsoft Entra user groups can be assigned a role under RBAC. Before enabling RBAC Microsoft warns that you need an appropriate role such as Security Administrator in Microsoft Entra ID and your Microsoft Entra groups ready, "to reduce the risk of being locked out of the Microsoft Defender portal". Do not use the switch as a way to fix one user's access.

The switch is described here and not walked through, because Microsoft gives no way back. Plan it as its own change if your organisation needs granular roles.

Confirm the fix

  • The user signs in and reaches the portal without the message.
  • For "No subscriptions found", the licence screen lists a Defender for Endpoint licence on the tenant the account signs in to.
  • For "not authorized", the user can do what their role allows: Microsoft's description of read-only access is to sign in and view alerts and related information, and full access adds changing alert states and submitting files.
  • The sections that showed "Data currently isn't available" now load.

What to watch afterwards

  • Staff changes. As general advice, a new security contact needs a role and a departing one should lose it.
  • Accounts in more than one tenant. Microsoft names a licence provisioned to a different Microsoft Entra ID as a cause.
  • "Your subscription has expired." Microsoft documents this as a third portal message: the online service subscription has expired, the portal offers a device offboarding package, and, as a security measure, that package expires seven days after it was downloaded and an expired package sent to a device is rejected. It is separate from the two messages above.
  • Roles with more rights than the person needs, in line with Microsoft's advice on fewest permissions.

Risks and limits

These steps have not been run or lab-tested.

Microsoft's troubleshooting page for the licensing message gives only the three causes and a support contact; it gives no check a customer can run before the portal opens, and it names no version range. The assignment commands on Microsoft's pages have no removal counterpart on the same pages. The role names, the licence names and the portal's wording can change, so check the current pages before acting. Licence terms and prices are Microsoft's to state: check Microsoft's current licensing pages for what a licence includes.

Sources