QuestionQ37

Configure and manage Microsoft 365 tenants and workloads

You have a Microsoft 365 subscription containing a security group named Group1. Its object ID is stored in the PowerShell variable $groupId.

A CSV file named C:\Temp\members.csv contains a column called memberObjectId, which stores the directory object ID of every user to add to Group1.

You need to carry out a bulk membership update for Group1 by using Microsoft Graph PowerShell. How should you complete the script?

Community Discussion

No comments yet. Be the first to start the discussion!