You receive the following JSON document when you use Microsoft Graph to query the current signed-in user

Posted by: Pdfprep Category: MS-600 Tags: , ,

HOTSPOT

You receive the following JSON document when you use Microsoft Graph to query the current signed-in user.

For each of the following statements, select Yes if the statement is true. Otherwise, select

No. NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Box 1: Yes

Syntax: GET /me/photo/$value

Get the specified profilePhoto or its metadata (profilePhoto properties).

Example: Get the photo for the signed-in user in the largest available size GET https://graph.microsoft.com/v1.0/me/photo/$value

Box 2: Yes

Syntax: GET /users/{id | userPrincipalName}/photo/$value

Get the specified profilePhoto or its metadata (profilePhoto properties).

Box 3: Yes

Syntax: GET /users/{id | userPrincipalName}/photo/$value

Get the specified profilePhoto or its metadata (profilePhoto properties).

Reference: https://docs.microsoft.com/en-us/graph/api/profilephoto-get

Leave a Reply

Your email address will not be published.