Set up SPF for Microsoft 365
Authorise Exchange Online in the sending domain’s SPF policy.
Reviewed by Mira John Updated
Get the Microsoft value
Open Microsoft 365 Domains, select the domain and view its DNS records. Copy the SPF include for your Microsoft cloud.
Update the existing TXT policy
At the envelope domain’s DNS host, merge include:spf.protection.outlook.com for the worldwide service with the other active senders. Publish one v=spf1 record.
Verify an outbound message
Recheck SPF and send through Exchange Online to an independent mailbox. Confirm spf=pass for the expected smtp.mailfrom domain.
Check the published record
Replace example.com with your domain.
nslookup -type=TXT example.com