John Davies
asked on
Add users to an AAD group through Powershell
Need a quick answer so any help would be appreciated.
Does anyone have a powershell script to add ALL USERS and INDIVIDUAL USERS to AAD groups. We have a group in AZURE AD that I need to populate with several hundred users.
This is an Pure Cloud based solution of Office 365
Ta
Does anyone have a powershell script to add ALL USERS and INDIVIDUAL USERS to AAD groups. We have a group in AZURE AD that I need to populate with several hundred users.
This is an Pure Cloud based solution of Office 365
Ta
ASKER
Hi Gaurav, this has no on prem, it is purely cloud am trying to add users to an AZURE AD group, cant use the Import-Module ActiveDirectory
Import-Module : The specified module 'activedirectory' was not loaded because no valid module file was found in any module directory.
Import-Module : The specified module 'activedirectory' was not loaded because no valid module file was found in any module directory.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you, worked a treat.
https://gallery.technet.microsoft.com/scriptcenter/ffff189d-8ef1-4903-b19c-12dcd352c88e