Hello,
Thank you for posting in Q&A forum.
Based on your description, here are some steps you can take to troubleshoot and possibly resolve the issue:
- Check user account status: Make sure the user account in Azure AD is active and not blocked.
Go to the Azure AD admin center, navigate to Users > All users, and find the specific user to make sure the account is not disabled or blocked.
- Verify licensing: Make sure the user has the appropriate licenses for accessing SharePoint and other Microsoft 365 services.
In the Microsoft 365 admin center, select the relevant user and verify that they have the necessary licenses, such as SharePoint Online and Office apps.
- Check user permissions in SharePoint: Make sure the user has the appropriate permissions to access the SharePoint site.
Go to the SharePoint admin center, navigate to the specific site collection, check permissions and make sure the user is granted access.
- Clear browser cache and cookies: Sometimes, cached credentials can cause problems. Have the user clear their browser cache and cookies, and then try to access the service again.
- Check Azure AD Connect sync health: Make sure Azure AD Connect sync is healthy.
Go to the Azure AD admin center and make sure the synchronization status is normal in Azure AD Connect and no errors or issues are reported.
- Reset password: If you still cannot access SharePoint and accounts.microsoft.com, you can try to reset your password directly in Azure AD.
At the same time, you can refer to Microsoft's official documentation: Unable to access SharePoint Online - SharePoint | Microsoft Learn
Best Regards,
Yanhong Liu
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.