How to Add Guest Users to Custom Roles in Microsoft 365 Defender
Question details
The user needs to know how to add guest users to custom roles in the Microsoft 365 Defender portal, particularly when those guest users are missing from user search results.

- Product
- Microsoft 365 Defender
- Device & OS
- not provided
- Scenario
- Assigning security permissions and custom roles to external guest users within a Microsoft 365 environment.
- Observed behavior
- Guest users occasionally do not appear in the user search results when administrators attempt to add them to custom roles in the Microsoft 365 Defender portal.
Ensure you have Global Administrator or Security Administrator privileges in the Microsoft 365 admin center before attempting to manage custom roles.
Verify Tenant Configuration and Open a Support Request
Guest users can be added through the portal in supported configurations. If they are missing, you must verify your settings or contact Microsoft Support to investigate your tenant.
Testing confirms that guest users can be successfully added to custom roles through the Microsoft 365 Defender portal. However, depending on your specific tenant configuration or propagation delays, these accounts may temporarily not appear in the search directory.
Navigate to Azure Active Directory (Entra ID) and confirm that the guest user has fully accepted your organization's invitation and is listed as an active guest user.
Log in to the Microsoft 365 Defender portal, navigate to the Roles section, and attempt to search for the guest user's exact email address rather than just their display name.
If the guest user is still unavailable, go to the Microsoft 365 admin center. Navigate to the 'Support' tab and select 'New service request'.
Detail your issue in the service request, specifically mentioning that guest accounts are missing from the Defender portal role search. Microsoft Support will investigate your tenant configuration and collect necessary diagnostic logs to resolve the issue.

Manage Your Documentation with a Free and Lightweight Office Suite
While resolving Microsoft 365 tenant and administration issues, you can manage your local documents, spreadsheets, and presentations using WPS Office. It provides a familiar, resource-friendly desktop experience perfectly suited for business and personal tasks.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the downloaded executable file and follow the straightforward on-screen prompts to install the suite.
- 3. Open Your Office Files: Launch WPS Office to immediately open, edit, and save your existing Microsoft Office format documents without losing formatting.

Frequently Asked Questions
Can guest users be assigned custom roles in Microsoft 365 Defender?
Yes, guest users can be assigned to custom roles within the Microsoft 365 Defender portal, provided that the Microsoft 365 tenant configuration supports it and the guest is properly added to the directory.
Why are my guest users not showing up in the Microsoft 365 Defender user search?
This usually occurs due to backend tenant configuration restrictions, directory synchronization delays, or insufficient administrative privileges. Searching by the exact email address can sometimes bypass display name search limitations.
What should I do if a guest account remains invisible in the role assignment menu?
You should navigate to the Microsoft 365 admin center and open a service request. Microsoft Support will need to review your tenant configuration and collect diagnostic logs to fix the missing guest search results.




