A cloud-based identity and access management service for securing user authentication and resource access
The error AADSTS5000228: Access to tenant is denied means the tenant is blocked and sign-in to that tenant isn’t allowed, so the subscription can’t be canceled directly by signing in.
For this situation, the supported path is to contact Microsoft support so the tenant and subscription can be handled by the Microsoft data protection/support teams:
- Use the global support phone numbers for Microsoft to reach customer service (see “Customer service phone numbers - Microsoft Support” referenced in the context).
- When the automated system asks for the problem, indicate that the issue is with “Authenticator”/sign-in and that this is for “Office 365 for business” or an Azure/Microsoft 365 business tenant.
- Clearly state:
- This is a business/organization tenant created for a trial.
- The only administrator account for the tenant is locked out and cannot sign in due to
AADSTS5000228. - There is an active trial subscription that needs to be canceled before billing starts.
- The Microsoft data protection team has processes to verify identity and regain access to administrator accounts or assist with tenant/subscription handling when the only admin is locked out.
If direct support creation from the locked tenant is impossible, another documented workaround is:
- Create a separate, new Microsoft 365 trial tenant (different account) as described in the context.
- In that new tenant, go to the Microsoft 365 admin center (
https://admin.microsoft.com) and open a support request. - In the ticket, specify that support is needed for a different, pre-existing tenant where the admin is locked out, and provide:
- The admin UPN of the locked tenant.
- The tenant’s
onmicrosoft.comdomain. - The error code
AADSTS5000228and that access to the tenant is denied. - The fact that there is a trial subscription that must be canceled before the billing date.
If the subscription was purchased through a third-party (for example, Apple App Store, Google Play, Amazon, Best Buy), cancellation must be done through that retailer’s billing support rather than via Microsoft sign-in.
If none of the above paths work in time and the charge posts, cancellation of future renewals can still be handled once access is restored or via support, and refund eligibility is determined according to Microsoft’s subscription refund policies.
References:
- Delete a tenant in Microsoft Entra ID
- Microsoft Entra ID Free
- Cancel and delete your Azure subscription
- Unable to cancel your Microsoft subscription
- How to get a refund on a Microsoft subscription
- I have a Micrsoft business account and I am the admin and the only user registered under this account. I can't log in because i have replaced my phone and the authenticator doesn't work. - Microsoft Q&A
- 7 Day Old Azure Account: AADSTS5000225: This tenant has been blocked due to inactivity. - Microsoft Q&A
- Error message: interaction_required: AADSTS5000225: This tenant has been blocked due to inactivity - Microsoft Q&A
- How to Cancel Microsoft 365 subscription if you do not have account info? Or get anyone to help? - Microsoft Q&A
- How to connect with Help and Support - Microsoft Q&A