Home » Microsoft » MS-600 » How should you complete the REST requests To answer, select the appropriate options in the answer area.
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:
Correct Answer:
Explanation/Reference: Explanation:
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",
"displayName": "Library Assist", "groupTypes": [
"Unified"
],
"mailEnabled": true, "mailNickname": "library",
"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
References: 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