Microsoft Graph · AZ-204: Developing Solutions for Microsoft Azure Implement Azure Security
A mobile application allows a signed-in employee to view the employee's upcoming calendar events. The application does not need to access calendars w…
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-C2F296
A mobile application allows a signed-in employee to view the employee's upcoming calendar events. The application does not need to access calendars when no user is signed in. Which Microsoft Graph permission should the application request?
- A.Delegated Calendars.ReadCorrect answer
- B.Application Calendars.Read
- C.Delegated Calendars.ReadWrite
- D.Application Calendars.ReadWrite
Solution
Because the application accesses calendar data in the context of a signed-in user, it should use a delegated permission. Calendars.Read provides read-only access and follows the principle of least privilege.
More from Microsoft Graph
- A signed-in user uses an ASP.NET Core web application to read their own Microsoft Graph profile through the /me endpoint. Which permission…
- A background .NET worker uses Microsoft Graph to list all users in a tenant. It runs without a signed-in user and uses the client credentia…
- A single-page application calls a protected middle-tier API with an access token. The middle tier must call the Microsoft Graph /me endpoin…
- An Azure Function runs nightly without a signed-in user and uses the Microsoft Graph .NET SDK with a service principal. The required Micros…
Practise more Implement Azure Security
Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.
Start practising freeFree to start · No credit card needed