Courseiva

AZ-204 Practice Question: Connect to and consume Azure services and third-party services

You are building an Azure Logic App that must send a confirmation email to users after a purchase. Your company uses Office 365 for email and you want to use the corporate email address. Which connector should you use?

⚠ Common exam trap

Many candidates confuse the Outlook.com connector (for personal accounts) with the Office 365 Outlook connector (for enterprise accounts), or they assume SMTP is always the simplest choice without considering authentication and security requirements in a cloud-native service.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Office 365 Outlook

The Office 365 Outlook connector is the correct choice because it provides direct, managed integration with Office 365 email services, allowing the Logic App to send emails using the corporate email address without needing to configure SMTP server details or handle authentication manually. This connector supports OAuth 2.0 authentication, which is the recommended and secure method for accessing Office 365 resources, and it is specifically designed for enterprise Office 365 accounts.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Office 365 Outlook

    Why this is correct

    This connector provides native and secure integration with Microsoft 365 (formerly Office 365) environments, leveraging OAuth 2.0 for authentication against a corporate Azure Active Directory tenant. It enables the Logic App to send emails directly from a user's or shared mailbox's corporate email account, ensuring compliance and proper sender identity. This is the recommended and most robust method for sending business-related confirmations within an organization's email infrastructure.

  • SMTP

    Why it's wrong here

    The SMTP connector requires explicit configuration of an SMTP server address, port, and authentication credentials, which can introduce security vulnerabilities if not managed carefully. While functional, it bypasses the managed API integration benefits and native security features offered by the Office 365 Outlook connector. For corporate Office 365 environments, relying on generic SMTP is less efficient and not the standard best practice for sending emails from Azure Logic Apps.

  • SendGrid

    Why it's wrong here

    SendGrid is a third-party cloud email delivery service designed for high-volume transactional and marketing emails, operating independently of a company's internal Office 365 infrastructure. Although Azure Logic Apps can integrate with SendGrid, emails sent via this service originate from SendGrid's platform, not directly from the corporate email account. This approach might not meet internal branding, compliance, or sender identity requirements for a direct company confirmation email.

  • Outlook.com

    Why it's wrong here

    The Outlook.com connector is specifically designed for personal Microsoft accounts, such as those ending in @outlook.com, @hotmail.com, or @live.com. It authenticates against the consumer Microsoft account platform rather than an organizational Azure Active Directory tenant. Consequently, it cannot be used to access or send emails from a corporate Office 365 email address, making it unsuitable for business confirmations originating from a company's domain.

About these practice questions

One of 881 original AZ-204 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.