Hey Bablu, it sounds like the Azure portal is rejecting your sign-in with an unexpected error. You’ve already covered the basic cache/browser steps, so let’s dig a bit deeper:
What to try next
- Verify Directory & Subscription • After you click Sign in, open the directory/subscription dropdown in the top-right corner. • Make sure you’re in the correct Azure AD tenant and that your account is assigned at least one subscription (Owner/Contributor/Reader). If no subscription is found, you’ll see a “No subscriptions found” or similar error.
- Check Admin Consent for the Portal App • The Azure portal itself is an Entra-registered application. If your tenant blocks user consent, you’ll need an Azure AD admin to grant consent for “Microsoft Azure Management” in Enterprise applications. • Admins can follow the steps here:
https://docs.microsoft.com/azure/active-directory/manage-apps/grant-admin-consent
```3. Inspect the Error Code
• On the login error page (login.microsoftonline.com/.../login.srf), view the page source and search for “HR=” to capture the numeric error code.
• Once you have that code, you can look it up in the Microsoft 365/Azure sign-in troubleshooting guide to get more details.
- Review Conditional Access Policies • Some tenants use Conditional Access rules that block sign-ins by location, device or user risk. Ask an Azure AD admin to check any CA policies that might apply to you. • See an overview here:
https://docs.microsoft.com/azure/active-directory/conditional-access/overview
```5. Check UPN & Federation Settings (if applicable)
• If your organization is federated with on-prem AD FS or you’ve recently changed your UPN, there can be mismatches causing sign-in failures.
• Admins can validate UPN settings or re-federate as needed.
Follow-up questions
• What’s the exact error message or error code you’re seeing?
• Are you signing in with a work/school (Entra ID) account or a personal Microsoft account?
• Does your account currently have any Azure role assignments on a subscription?
• Is there an Entra admin who can check application consent and Conditional Access policies for you?
Hope this helps point you in the right direction!
Reference list
- Troubleshoot sign-in issues (cache, private mode) https://docs.microsoft.com/azure/cost-management-billing/manage/troubleshoot-sign-in-issue
- Grant admin consent for Azure portal app https://docs.microsoft.com/azure/active-directory/manage-apps/grant-admin-consent
- Conditional Access overview https://docs.microsoft.com/azure/active-directory/conditional-access/overview
- No subscriptions found error https://docs.microsoft.com/azure/cost-management-billing/manage/no-subscriptions-found
- Identify login error codes (HR=) https://learn.microsoft.com/troubleshoot/microsoft-365/admin/sign-in/office-365-azure-intune-sign-in-issue
Note: This content was drafted with the help of an AI system. Please verify the information before relying on it for decision-making.