The error message "Access denied for the resource" when users are trying to access the network externally can be caused by several factors. Here are some steps you can take to troubleshoot the issue:
- Check User Permissions: Ensure that the users have the necessary permissions to access the resources they are trying to reach. This includes verifying that they are part of the correct groups and roles within Microsoft 365.
- Role Assignment Policy: If this issue is related to Outlook Web App, make sure that the MyBaseOptions user role is enabled in the Default Role Assignment Policy. You can check this by signing into the Microsoft 365 portal, going to the Exchange admin center, and reviewing the permissions under user roles.
- Security Defaults: If security defaults are enabled in your tenant, they might restrict access for certain accounts. You may need to adjust these settings or add users to the appropriate role groups to grant them access.
- Network Policies: Review any network policies that might restrict access based on the user's location. Ensure that external access is allowed for the users trying to connect.
- Firewall and ACLs: Check if there are any firewall rules or Access Control Lists (ACLs) that might be blocking access to the resources from external networks.
If the issue persists after checking these areas, consider running the Troubleshoot Microsoft 365 Mailbox Migration tool or consulting the Microsoft Community for further assistance.
References: