You are building a web application that signs in users with their Microsoft work accounts and reads their calendar events from Microsoft Graph. During sign-in, you need to request permission to read calendars. Which OAuth 2.0 flow and permission type is correct for a server-side web app?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Authorization Code flow with Delegated permission 'Calendars.Read'

Authorization Code flow is the recommended flow for server-side web apps. Delegated permissions act on behalf of the signed-in user, so 'Calendars.Read' grants the app access to th...

๐Ÿ“‹Part of Microsoft Certified: Azure Developer Associate (AZ-204) ยท Azure Certification Practice
Real Exam ScenarioMicrosoft Graph

You are building a web application that signs in users with their Microsoft work accounts and reads their calendar events from Microsoft Graph. During sign-in, you need to request permission to read calendars. Which OAuth 2.0 flow and permission type is correct for a server-side web app?

โœ“ Correct Answer & ExplanationMicrosoft Graph

Correct Answer

Authorization Code flow with Delegated permission 'Calendars.Read'

Why This Answer Is Correct

Authorization Code flow is the recommended flow for server-side web apps. Delegated permissions act on behalf of the signed-in user, so 'Calendars.Read' grants the app access to that specific user's calendar only. Client Credentials with Application permissions would give access to all users' calendars โ€” inappropriate here.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Microsoft Graph โ€” a core concept tested in Microsoft Certified: Azure Developer Associate (AZ-204). Understanding Microsoft Graph is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.