exam questions

Exam MS-700 All Questions

View all questions & answers for the MS-700 exam

Exam MS-700 topic 2 question 80 discussion

Actual exam question from Microsoft's MS-700
Question #: 80
Topic #: 2
[All MS-700 Questions]

DRAG DROP
-

You have a Microsoft 365 E5 subscription that contains a Microsoft Teams team named Confidential.

You need to ensure that guest users cannot be added to the Confidential team.

How should you complete the PowerShell script? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
carlos_40
Highly Voted 2 years, 7 months ago
Get-AzureADDirectorySettingTemplate and Get-AzureADGroup: $GroupName = "<GroupName>" Connect-AzureAD $template = Get-AzureADDirectorySettingTemplate | ? {$_.displayname -eq "group.unified.guest"} $settingsCopy = $template.CreateDirectorySetting() $settingsCopy["AllowToAddGuests"]=$False $groupID= (Get-AzureADGroup -SearchString $GroupName).ObjectId New-AzureADObjectSetting -TargetType Groups -TargetObjectId $groupID -DirectorySetting $settingsCopy https://learn.microsoft.com/en-us/microsoft-365/solutions/per-group-guest-access?view=o365-worldwide
upvoted 22 times
...
Jo696
Highly Voted 2 years, 6 months ago
Second answer is wrong, should be Get-AzureADGroups (as shown below and confirmed in link)
upvoted 6 times
...
UWSFish
Most Recent 9 months, 1 week ago
The answer should be, this is an absurd question, which I'm looking up on the internet if I ever need to do it, and will never remember a month after I've passed. But thx for the answer Carlos.
upvoted 2 times
...
idioteque
2 years, 5 months ago
The answer should be "Get-AzureADDirectorySettingTemplate" and "Get-AzureADGroup"
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...