none
How to Create Azure AD Groups from CSV file ? RRS feed

  • Question

  • Hello Team

    Hope you are doing well 
    I m not that much familier with PowerShell that why i m looking for some help here as it's a bit complected in google directly -_- 

    I m my new job role, we have repetitive requests to create :
    1- Azure AD group (almost 10 groups)
    2- Affect only Owners to One Group
    3- Create One Administrative unit 
    4- Add the the groups created to the administrative unit created.

    i can do manually the 3 and 4 tasks if necessary but is there any options to create PowerShell script to create groups automatically ?

    PS : The CSV file will be include only 2 colons ( |Groups| Owner "only for one group|" 

    Optional : if we can add the creation of Adminitrative unit in the script  = + Colon in csv file :  |Groups|Owners|Administrative unit|    
    Can you please assist for this needs ?

    Best Regards
    Younes  
    Tuesday, June 28, 2022 3:22 PM

All replies

  • Maybe This Can Help You out...

    1. Sign in to your Azure Portal using a Global Admin account for the directory.
    2. Search for and select Azure Active Directory.
    3. On the Active Directory page, select Groups > + New group.
    4. Fill out the New Group form
    5. Click Create. Your Group is created and ready for you to add members.

    Add Members 
    1. From your Group, under Manage, select Members.
    2. Click + Add members, and search for members to add to your Group.
    3. When you have finished adding members, click Select.

    Sunday, July 3, 2022 6:11 PM
  • In Azure AD, select Groups > All groups. Open the group to which you're adding members and then select Members. On the Members page, select Import members. On the Bulk import group members page, select Download to get the CSV file template with required group member properties.

    I hope this will helps.

    Regards,

    Willjoe

    Tuesday, July 5, 2022 7:13 AM
  • Thanks For Your Infor
    Wednesday, July 13, 2022 10:01 AM
  • Hi

    I have created a script for you here. It reads from a CSV file and creates the group, sets the owner and makes the administrative unit. Had to create an image, wouldnt let me post the code here.


    • Edited by Johnny Hauan Wednesday, July 13, 2022 11:35 AM
    • Proposed as answer by Johnny Hauan Wednesday, July 13, 2022 11:36 AM
    Wednesday, July 13, 2022 11:33 AM
    1. On the Bulk create user page, under Upload your CSV file, browse to the file. When you select the file and click Submit, validation of the CSV file starts.

    2. After the file contents are validated, you’ll see File uploaded successfully. If there are errors, you must fix them before you can submit the job.

    3. When your file passes validation, select Submit to start the Azure bulk operation that imports the new users.

    4. When the import operation completes, you'll see a notification of the bulk operation job status.

    5. On the Bulk create user page, under Upload your CSV file, browse to the file. When you select the file and click Submit, validation of the CSV file starts.

    6. After the file contents are validated, you’ll see File uploaded successfully. If there are errors, you must fix them before you can submit the job.

    7. When your file passes validation, select Submit to start the Azure bulk operation that imports the new users.

    8. When the import operation completes, you'll see a notification of the bulk operation job status.

    Friday, July 15, 2022 10:21 AM
  • It's a daunting challenge for IT students to go for Microsoft Azure because of boosting competition within the field. AZ-900 Dumps Study Material has come as a solution to pass their IT exam easily in the first attempt. No one can pass this exam without seeking help from a good source of learning. Many students have met success with this short guide. Now you don't need only passing marks in this competitive scenario, but you need to stand out of the rush. Microsoft Azure Fundamentals Questions Answers can show you the best way to achieve your destination and achieve your desired position. Dumpsgroup is providing its services at cheap rates so that every candidate can easily hire them. With the AZ-900 Practice Test's help, the journey has become easier and sure-fire. It allows you to modify your learning and assurances your success with money back surety. 
    Friday, July 15, 2022 11:37 AM
  • bes loan service in delhi , content now :- instaloanservices.com
    Saturday, July 16, 2022 11:02 AM
  • To bulk import group members

    1. Sign in to the Azure portal with a User administrator account in the organization. Group owners can also bulk import members of groups they own.

    2. In Azure AD, select Groups > All groups.

    3. Open the group to which you're adding members and then select Members.

    4. On the Members page, select Import members.

    5. On the Bulk import group members page, select Download to get the CSV file template with required group member properties.

    6. Open the CSV file and add a line for each group member you want to import into the group (required values are either Member object ID or User principal name). Then save the file.

    7. On the Bulk import group members page, under Upload your csv file, browse to the file. When you select the file, validation of the CSV file starts.

    8. When the file contents are validated, the bulk import page displays File uploaded successfully. If there are errors, you must fix them before you can submit the job.

    9. When your file passes validation, select Submit to start the Azure bulk operation that imports the group members to the group.

    10. When the import operation completes, you'll see a notification that the bulk operation succeeded.

    Thursday, July 21, 2022 1:12 PM
  • Thanks for the info.
    Wednesday, July 27, 2022 2:50 PM
  • How do I create AD groups in Azure?
    Azure portal
    Sign in to the Azure portal or Azure AD admin center.
    Select Azure Active Directory > Groups > All groups > New group.
    On the New Group tab, provide group type, name and description.
    Turn on Azure AD roles can be assigned to the group.
    Select the members and owners for the group.

    Regards,

    Will

    Monday, August 1, 2022 7:18 AM
  • I had the same problem...

    But your advice was really helpful!

    Thanks a lot!

    Thursday, August 4, 2022 8:12 AM