Unlock the power of secure email connection with our tutorial on setting up authenticated SMTP, IMAP, and POP connections using OAuth 2.0! In this video, we walk you through the entire process step-by-step, ensuring you have everything you need to effectively register your application in Entra App, configure app secrets, and grant the necessary API permissions with admin consent. 📌 What's Covered in This Video: App Registration in Entra App: A detailed guide to setting up your application correctly. Certificates and Secrets: Learn how to generate and manage your application secrets. API Permissions: Understand how to grant admin consent for your application. PowerShell Commands: Execute commands for registering apps using Tenant ID and Object ID in Azure AD and Exchange Online. Setting Up Multiple Mailboxes: Step-by-step assistance for configuring single or multiple email boxes. 🚨 Important Note: Microsoft has deprecated the old process of SMTP and application registration, so it’s crucial to follow this new method for a secured connection. 📖 Further Resources: For detailed documentation from Microsoft on this topic, visit: Microsoft Documentation on OAuth 2.0: https://learn.microsoft.com/en-us/exc... 🎁 Special Offer – Tools I Use 👉 https://www.gamsgo.com/partner/TCugP 🤑 Promo Code: BQFRC for an exclusive discount! 📬 Business & Paid Promotions ✉️ [email protected] 💼 Affiliate Disclosure Some links are affiliate links. I may earn a small commission at no extra cost to you — it helps support this channel 🙌 PowerShell Commands Below: Install-Module -Name AzureAD Install-Module -Name ExchangeOnlineManagement $AppId = "Paste Azure APP ID Here" $TenantId = "Paste Tenant ID Here" Import-module AzureAD Connect-AzureAd -Tenant $TenantId ($Principal = Get-AzureADServicePrincipal -filter "AppId eq '$AppId'") $PrincipalId = $Principal.ObjectId $DisplayName = "principal for IMAP/POP3" Import-module ExchangeOnlineManagement Connect-ExchangeOnline -Organization $TenantId New-ServicePrincipal -AppId $AppId -ServiceId $PrincipalId -DisplayName $DisplayName Add-MailboxPermission -User $PrincipalId -AccessRights FullAccess -Identity "Paste Your Mailbox Here" 📺 Watch More Helpful Videos! Latest SMTP Configuration and Verification: • Office 365 SMTP Setup | O365 SMTP Settings... Limit Microsoft Outlook to the Browser (Web-Only) and restrict attachments Download on unmanaged Devices: • How to limit Office 365 Mailbox access to ... Limit Sharepoint (OneDrive, Teams) to Browser (Web-Only) and restrict Download and Sync on unmanaged Devices: • Limit access to Web-Only for SharePoint, T... Different ways to deploy and enforce Multi-Factor Authentication: • Different ways to deploy and enforce MFA |... How to configure Microsoft intune Compliance Policies: • How to configure Microsoft intune complian... Microsoft Threat Protection Policies Guide: • Master Microsoft 365 Threat Protection Pol... How to add a Domain in Office 365: • Step-by-Step Guide: Adding a Domain in Off... 🔔 Don't forget to subscribe for more videos on Azure, PowerShell, and IT solutions!