Support
 
PhoneGet Quote
 
Support
 
US Sales: +1 888 720 9500
US Support: +1 844 245 1108
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9890

 
 

How to create dynamic groups in Azure Active Directory B2B collaboration?

Steps to create a dynamic group with all users.

  1. Sign in to the Microsoft Entra admin center as at least a User Administrator.
  2. Browse to Identity > Groups > All groups , and select New group .
  3. On the New Group page, under Group type, select Security . Enter a Group name and Group description for the new group.
  4. Under Membership type, select Dynamic User , and then select Add dynamic query .
  5. Above the Rule syntax text box, select Edit . On the Edit rule syntax page, type the following expression in the text box:
  6. user.objectId -ne null	

    Click to copy entire script

  7. Select OK .
  8. Select Save . The new dynamic group will now include B2B guest users and member users.
  9. Select Create on the New group page to create the group.

If you want to include only members from your tenant but exclude the guest users, follow the same steps as mentioned above, but in the rule syntax box, enter the following expression:

(user.objectId -ne null) and (user.userType -eq "Member")
    

Click to copy entire script

To include only guest users in the group, follow the same steps as mentioned above, but in the rule syntax box, enter the following expression:

(user.objectId -ne null) and (user.userType -eq "Guest")
    

Click to copy entire script

Reporting, auditing, and management tool for Entra ID

M365 Manager Plus is an extensive Microsoft 365 tool used for reporting, managing, monitoring, auditing, and creating alerts for critical incidents. With M365 Manager Plus, you can:

  • Perform bulk operations like password resets and account unlock without using PowerShell scripts.
  • Report and audit with over 700pre-packaged reports to track changes and get better visibility on your services.
  • Automate routine tasks like user provisioning, stale group cleanup, and mailbox management operations.
  • Monitor the health of Microsoft 365 services and get notified on critical activities and outages.
  • Create custom granular roles to delegate Microsoft 365 administration to technicians.

One-stop solution for your Microsoft 365 management needs.

Try now for free

  • Streamline your Microsoft 365 governance and administration with M365 Manager Plus

Related Resources

A holistic Microsoft 365 administration and security solution
 
x