Exchange Online PowerShell
17 articles tagged Exchange Online PowerShell.
Calendar permissions in Exchange Online: Add-MailboxFolderPermission guide
Share calendars, change the organization-wide Default permission and add calendar delegates in Exchange Online with Add-, Set- and Remove-MailboxFolderPermission, including localized folder names.
Convert a user mailbox to a shared mailbox and remove the license safely
Keep a leaver's email and calendar in Exchange Online without paying for a license: secure the account, convert the mailbox, grant access, then remove the license in the right order.
EWS retirement in Exchange Online: find EWS apps and set EWSAllowedAppIDs
Find every app that still calls Exchange Web Services, build an EWSAllowedAppIDs allow list and set EWSEnabled so critical apps keep working while EWS is switched off from October 2026.
Exchange hybrid remote move migration: endpoints, batches and completion
Move mailboxes from on-premises Exchange to Exchange Online with remote move migration: enable MRS Proxy, test the endpoint, build batches, schedule completion and clean up.
Exchange Online connectors explained: inbound, outbound and partner setups
Know when Exchange Online needs a connector, then build partner, gateway and on-premises connectors with forced TLS, IP or certificate restrictions and validation.
Exchange Online migration batch stuck on Syncing: causes and fixes
Find out why an Exchange Online migration batch sits on Syncing, read the per-user stall reasons in PowerShell, and apply the right fix for concurrency, throttling, source health or skipped items.
Fix Connect-ExchangeOnline errors: module versions, MFA, WAM and proxies
Get Exchange Online PowerShell connecting again: match the module to your PowerShell version, fix WAM, MFA and Conditional Access failures, and handle proxies and blocked accounts.
Fix DKIM CnameMissing in Microsoft 365 and enable signing for your domain
Why Microsoft 365 reports CnameMissing when you enable DKIM, how to publish the exact selector CNAME records, and how to confirm the domain signs mail.
Fix TooManyBadItemsPermanentException in Exchange Online mailbox moves
Find out why a mailbox move fails with TooManyBadItemsPermanentException, read the bad items in the move report, and complete it with skipped-item approval or a permissions cleanup.
Full Access, Send As and Send on Behalf in Exchange Online with PowerShell
Grant, remove and audit the three mailbox delegation permissions in Exchange Online with PowerShell, control Outlook automapping, and fix the errors delegates hit most often.
High Volume Email for Microsoft 365: set up HVE for app and device mail
Create High Volume Email accounts, connect pay-as-you-go billing, choose basic auth or OAuth, and point printers and line-of-business apps at the HVE endpoint for internal mail.
Message trace in Exchange Online: the new EAC and Get-MessageTraceV2
Trace a missing email with the new message trace in the Exchange admin center, Get-MessageTraceV2, the Graph message trace API and historical searches.
Quarantine policies in Defender for Office 365: release, notify, review
Create quarantine policies that decide who can release quarantined email, turn on quarantine notifications, and handle user release requests as an admin.
Reject Direct Send in Exchange Online without breaking printers and apps
Block spoofed Direct Send mail with RejectDirectSend while keeping approved printers, apps and SaaS senders working through partner inbound connectors.
Run unattended Exchange Online PowerShell with app-only certificate auth
Set up certificate-based app-only authentication for Exchange Online PowerShell: app registration, Exchange.ManageAsApp, a CSP certificate, least-privilege roles and Azure Automation runbooks.
Tenant Allow/Block List: allow spoofed senders and block domains safely
Use the Tenant Allow/Block List in Microsoft Defender to allow legitimate spoofed senders with domain pairs and block domains without side effects.
Tenant External Recipient Rate Limit (TERRL): monitor it and fix 5.7.233
How the Exchange Online tenant-wide external recipient limit is calculated after the 2026 changes, how to monitor it in the EAC and PowerShell, and what to do when users get 550 5.7.233.