Microsoft Graph · AZ-204: Developing Solutions for Microsoft Azure Implement Azure Security

A signed-in user uses an ASP.NET Core web application to read their own Microsoft Graph profile through the /me endpoint. Which permission and author…

Practice question from Microsoft Graph (AZ-204: Developing Solutions for Microsoft Azure Implement Azure Security), with the correct answer and a step-by-step solution.

easy · MCQ · Q-59C45D

A signed-in user uses an ASP.NET Core web application to read their own Microsoft Graph profile through the /me endpoint. Which permission and authorization approach is appropriate?

  1. A.Delegated User.Read permission obtained through an interactive sign-in flowCorrect answer
  2. B.Application User.Read.All permission obtained through the client credentials flow
  3. C.Delegated Mail.Read permission obtained through an interactive sign-in flow
  4. D.Application Directory.ReadWrite.All permission obtained through the client credentials flow

Solution

The /me endpoint operates in the context of the signed-in user, so the application should use delegated permissions. User.Read is the least-privileged permission needed to read the signed-in user's basic profile.

More from Microsoft Graph

All of Microsoft Graph

Practise more Implement Azure Security

Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.

Start practising free

Free to start · No credit card needed