How to Create Security Groups in Microsoft Entra ID Using Graph API

Опубликовано: 20 Июль 2026
на канале: I am Tech Arch
699
5

📚 Expand Your Knowledge:
For a more comprehensive guide on performing user-related operations and advanced search using the Graph API, check out our detailed videos:
Part 1: Master User Management in Microsoft Entra ID using Graph API: Complete Tutorial:    • Part 1: Mastering Microsoft Entra ID User ...  
Part 2: Mastering Advanced Filters in Microsoft Graph API | Tutorial on Enhancing Data Retrieval:    • Part 2: Mastering Advanced Filters in Micr...  
Part 3: Mastering Microsoft Entra ID Group Management with Graph API: Full Tutorial
   • Part 3: Mastering Microsoft Entra ID Group...  
How to Generate Access Tokens in Azure Entra Using the Graph API:    • How to Generate Access Tokens in Azure Ent...  

🎥 In This Video:
Learn how to create security groups in Microsoft Entra ID using the Graph API:

🆕 Creating a Security Group:

Initiate a POST request to https://graph.microsoft.com/v1.0/groups.
Include necessary headers: Content-Type: application/json and Authorization: Bearer Token.
Add parameters like displayName, description, and mailNickname.
Set mailEnabled: false and securityEnabled: true. Leave groupTypes blank.
Include owners and members by adding their Object IDs in [email protected] and [email protected] arrays.
Obtain Object IDs from the Azure portal for users "achal.preethi", "adam.wong" as owners, and "alexander.chan", "alice.smith" as members.

🔍 Verify Your Groups:

🖥️ Check the Azure Portal: Navigate to portal.azure.com to verify the creation of the security group.

👤 Owners and Members: Ensure the correct owners and members are added as specified.

👍 If you find this tutorial helpful, please like, share, and subscribe for more tech tutorials!
💬 Got questions or feedback? Drop them in the comments below!