Requirements
- Must have graph 365 PowerShell module installed
- Must have proper permissions
Create the email group
Use the PowerShell script to create the group
\\mckimcreed.com\Installs\Scripts\AdminTasks\Add-Microsoft365Group.ps1 -Name "Group Name" -Description "Description for the group" -Email "groupname@mckimcreed.com"
If authentication gives you an issue try
\\mckimcreed.com\Installs\Scripts\AdminTasks\Add-Microsoft365Group.ps1 -Name "Group Name" -Description "Description for the group" -Email "groupname@mckimcreed.com" -UseDeviceCode
You will get an output with some data you will need for the next part:
Edit The Mapping File
The mapping file is a CSV file that lives on HDCWeb03.
Find the alt-org-mapping.csv in \\\hdcweb03\c$\ScheduledTasks\UserManagment\EmployeeDistributionSync\Data
Add the altorg code from BST, the group id from office 365 (output as part of script), the group name (output as part of script) and the office name
Save the file and the next time the user management app runs it will populate the group.
Comments
0 comments
Please sign in to leave a comment.