exam questions

Exam MS-600 All Questions

View all questions & answers for the MS-600 exam

Exam MS-600 topic 2 question 14 discussion

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

HOTSPOT -
You are developing an Azure function to provision a team in Microsoft Teams.
You need to create a group named Project A, add a classification of Private to the group, and then convert Project A to a team group.
How should you complete the REST requests? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: post -
You need to create a group named Project A.
The following example creates an Office 365 group.
POST https://graph.microsoft.com/v1.0/groups

Content-type: application/json -

Content-length: 244 -
{
"description": "Self help community for library",
"displayName": "Library Assist",
"groupTypes": [
"Unified"
],
"mailEnabled": true,
"mailNickname": "library",
"securityEnabled": false
}

Box 2: PATCH -
Add a classification of Private to the group.
You can set the classification property in a PATCH request for the group, if do not set it in the initial POST request that creates the group.

Box 3: put -
Then convert Project A to a team group.

Syntax: PUT /groups/{id}/team -
Reference:
https://docs.microsoft.com/en-us/graph/api/group-post-groups
https://docs.microsoft.com/en-us/graph/api/resources/group
https://docs.microsoft.com/en-us/graph/api/team-put-teams

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
Hjghhgv
7 months, 2 weeks ago
post,patch and put 1.Create a Microsoft 365 group,So POST. Upon successful creation, this will return a response with the id of the group among other details. Capture the id for the next steps. 2.Add a classification of "Private" to the group -PATCH 3.Convert the group to a team hence PUT.If the team entity for the given group ID does not exist, it creates one.
upvoted 1 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 ...