{"id":17212,"date":"2024-11-21T11:33:00","date_gmt":"2024-11-21T11:33:00","guid":{"rendered":"https:\/\/easydmarc.com\/blog\/?p=17212"},"modified":"2025-09-22T14:59:55","modified_gmt":"2025-09-22T14:59:55","slug":"microsoft-365-spf-and-dkim-configuration-step-by-step","status":"publish","type":"post","link":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/","title":{"rendered":"Microsoft 365 SPF and DKIM Configuration: Step by Step"},"content":{"rendered":"\n<p><span style=\"font-weight: 400;\">Our informative post will help you find out how you can setup <\/span><a href=\"https:\/\/easydmarc.com\/blog\/understanding-spf-sender-policy-framework-to-improve-email-delivery\/\"><span style=\"font-weight: 400;\">Sender Policy Framework (SPF)<\/span><\/a><span style=\"font-weight: 400;\">, DomainKeys Identified Mail (DKIM) Signatures on your Microsoft 365 email to eliminate spam from your domain and increase security.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Microsoft requires you to configure the following DNS records for your domain: Microsoft 365 SPF(previously called o365 spf record) and DKIM.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/easydmarc.com\/tools\/spf-lookup\">SPF records<\/a> allow receiving servers to check whether an email with the specified source domain was actually sent from a server authorized by the owner of this domain.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">DKIM adds a digital signature to each message. This allows the receiving server to check if the message has been sent from an authorized sender, faked or changed upon delivery.<\/span><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" id=\"spf-yes\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-microsoft-365-o365-spf-record-configuration\"><b>Microsoft 365 (o365) SPF Record Configuration<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">In order to authorize Microsoft 365 to send emails on your domain behalf, you will need to create or update your SPF Record which includes the following mechanism: include:spf.protection.outlook.com&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">You can achieve this easily with our <\/span><a href=\"https:\/\/easydmarc.com\/tools\/spf-record-generator\"><span style=\"font-weight: 400;\">SPF Record Generator<\/span><\/a><span style=\"font-weight: 400;\"> tool; here are the steps:<\/span><\/p>\n\n\n\n<p><b>Step 1:<\/b><span style=\"font-weight: 400;\"> Generate a new Microsoft <\/span><b>office 365 SPF Record<\/b><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" width=\"941\" height=\"619\" src=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC.png\" alt=\"SPF-For-Microsoft365-Office365-EasyDMARC\" class=\"wp-image-17213\" srcset=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC.png 941w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-300x197.png 300w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-768x505.png 768w\" sizes=\"(max-width: 941px) 100vw, 941px\" \/><\/figure>\n<\/div>\n\n\n\n\n\n\n<p><b>Step 2: <\/b><span style=\"font-weight: 400;\">Copy the newly generated <\/span><b>office 365 SPF Record<\/b><\/p>\n\n\n\n<p><b>Step 3:<\/b><span style=\"font-weight: 400;\"> Update your DNS TXT Record for SPF at your domain provider (We will show examples with GoDaddy and Cloudflare)<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">E.g GoDaddy<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"326\" src=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-GoDaddy-TXT-1024x326.png\" alt=\"SPF-For-Microsoft365-Office365-EasyDMARC-GoDaddy-TXT\" class=\"wp-image-17214\" srcset=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-GoDaddy-TXT-1024x326.png 1024w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-GoDaddy-TXT-300x96.png 300w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-GoDaddy-TXT-768x245.png 768w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-GoDaddy-TXT.png 1077w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n\n\n\n\n<p><span style=\"font-weight: 400;\">E.g Cloudflare<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"363\" src=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-Cloudflare-TXT-1024x363.png\" alt=\"SPF-For-Microsoft365-Office365-EasyDMARC-Cloudflare-TXT\" class=\"wp-image-17215\" srcset=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-Cloudflare-TXT-1024x363.png 1024w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-Cloudflare-TXT-300x106.png 300w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-Cloudflare-TXT-768x272.png 768w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/SPF-For-Microsoft365-Office365-EasyDMARC-Cloudflare-TXT.png 1227w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n\n\n\n\n<p><b>Step 4: <\/b><span style=\"font-weight: 400;\">Click Save<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Important Note: Make sure you don\u2019t create <\/span><b>multiple SPF TXT records for office 365<\/b><span style=\"font-weight: 400;\"> on one domain. If you do, SPF will return a PermError.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">If you are using multiple IPs, ESPs, Third-Party services for your various email strategies, you should include them in a single SPF Record.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">E.g v=spf1 ip4:17.67.137.221 include:spf.protection.outlook.com include:thirdpartyservice.com ~all<\/span><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" id=\"dkim-yes\"><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-microsoft-365-dkim-configuration\"><b>Microsoft 365 DKIM Configuration<\/b><\/h2>\n\n\n\n<p><b>Step 1:<\/b><span style=\"font-weight: 400;\"> Go to the DKIM Page from your Microsoft 365 Defender portal <\/span><a href=\"https:\/\/login.microsoftonline.com\/common\/oauth2\/authorize?client_id=80ccca67-54bd-44ab-8625-4b79c4dc7775&amp;response_type=code%20id_token&amp;scope=openid%20profile&amp;state=OpenIdConnect.AuthenticationProperties%3D4eivcF5kHeMv7ldUN49rWcvmcMSpQfQlGg6GSlBoRYEeQBUPg_y5lPE9v3j_Cb_9cy08qlvPjMqUzG3lipmpaJIAacGpN1vZVOE1gth16bQz5e262mrAm07jVJGQi3QUTNKZgamJsd298sUM-EVabA&amp;response_mode=form_post&amp;nonce=638822518776922219.MmJjYjZhMzgtZTliNC00OGM4LWFiYWUtZTg0NmU1YTczMjk4Y2ExYmVmMjUtNTliNy00ODFlLThjZTAtYmI2N2Y1MDU3MWVh&amp;client-request-id=318ac5dc-50b7-4514-85ef-5c6c07b5eded&amp;redirect_uri=https%3A%2F%2Fsecurity.microsoft.com%2F&amp;claims=%7B%22id_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D&amp;x-client-SKU=ID_NET472&amp;x-client-ver=8.3.0.0\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><span style=\"font-weight: 400;\">https:\/\/security.microsoft.com\/dkimv2<\/span><\/a><\/p>\n\n\n\n<p><b>Step 2:<\/b><span style=\"font-weight: 400;\"> Next, select your organizational domain name, and click \u201cEnable\u201d.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"353\" src=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/b68668a9fdaeb8d38c96b16fb57653a4-1024x353.png\" alt=\"b68668a9fdaeb8d38c96b16fb57653a4\" class=\"wp-image-26307\" title=\"b68668a9fdaeb8d38c96b16fb57653a4\" srcset=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/b68668a9fdaeb8d38c96b16fb57653a4-1024x353.png 1024w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/b68668a9fdaeb8d38c96b16fb57653a4-300x103.png 300w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/b68668a9fdaeb8d38c96b16fb57653a4-768x265.png 768w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/b68668a9fdaeb8d38c96b16fb57653a4.png 1416w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n\n\n\n\n<p><b>Step 3:<\/b><span style=\"font-weight: 400;\"> Once you click on the \u201cEnable\u201d, a new pop up window will appear with the applicable CNAME Records.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"582\" src=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2024\/11\/image-3-1024x582.png\" alt=\"\" class=\"wp-image-52614\" srcset=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2024\/11\/image-3-1024x582.png 1024w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2024\/11\/image-3-300x170.png 300w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2024\/11\/image-3-768x436.png 768w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2024\/11\/image-3-1536x872.png 1536w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2024\/11\/image-3-2048x1163.png 2048w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2024\/11\/image-3-1200x681.png 1200w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2024\/11\/image-3-1980x1124.png 1980w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n\n\n\n\n<p><span style=\"font-weight: 400;\">To summarize, this contains 2 separate CNAME Records which looks like this:<\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><i><span style=\"font-weight: 400;\">Type: <\/span><\/i><span style=\"font-weight: 400;\">CNAME<\/span><i><span style=\"font-weight: 400;\"><br \/>Host Name: <\/span><\/i><span style=\"font-weight: 400;\">selector1._domainkey<\/span><i><span style=\"font-weight: 400;\"><br \/>Value: <\/span><\/i><span style=\"font-weight: 400;\">selector1-yourdomain-com._domainkey.tenantdomain.y-v1.dkim.mail.microsoft (This part is UNIQUE to each domain)<\/span><\/li>\n\n\n\n<li><i><span style=\"font-weight: 400;\">Type:<\/span><\/i><span style=\"font-weight: 400;\"> CNAME<br \/><\/span><i><span style=\"font-weight: 400;\">Host Name:<\/span><\/i><span style=\"font-weight: 400;\"> selector2._domainkey<br \/><\/span><i><span style=\"font-weight: 400;\">Value:<\/span><\/i><span style=\"font-weight: 400;\"> selector2-yourdomain-com._domainkey.tenantdomain.<span style=\"font-weight: 400;\">y-v1.dkim.mail.microsoft<\/span> (This part is UNIQUE to each domain)<\/span><\/li>\n<\/ol>\n\n\n\n<p><b>Step 4:<\/b><span style=\"font-weight: 400;\"> Copy these 2 CNAME Values and paste them in your DNS Provider (In this example, we\u2019ll be using CloudFlare)<\/span><\/p>\n\n\n\n<p><b>1st CNAME:<\/b><br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-26287\" title=\"4c5d33a4d9a5645aaf3dd398e8341d29\" src=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/4c5d33a4d9a5645aaf3dd398e8341d29-1024x256.png\" alt=\"4c5d33a4d9a5645aaf3dd398e8341d29\" width=\"1024\" height=\"256\" srcset=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/4c5d33a4d9a5645aaf3dd398e8341d29-1024x256.png 1024w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/4c5d33a4d9a5645aaf3dd398e8341d29-300x75.png 300w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/4c5d33a4d9a5645aaf3dd398e8341d29-768x192.png 768w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/4c5d33a4d9a5645aaf3dd398e8341d29-1536x384.png 1536w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/4c5d33a4d9a5645aaf3dd398e8341d29.png 1662w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n\n\n\n<p><b>2nd CNAME:<\/b><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-26297\" title=\"9e274c01f9e7832eec70bab2cb9f74ad\" src=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/9e274c01f9e7832eec70bab2cb9f74ad-1024x244.png\" alt=\"\" width=\"1024\" height=\"244\" srcset=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/9e274c01f9e7832eec70bab2cb9f74ad-1024x244.png 1024w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/9e274c01f9e7832eec70bab2cb9f74ad-300x71.png 300w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/9e274c01f9e7832eec70bab2cb9f74ad-768x183.png 768w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/9e274c01f9e7832eec70bab2cb9f74ad-1536x366.png 1536w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/9e274c01f9e7832eec70bab2cb9f74ad.png 1538w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><br \/><b>Step 5: <\/b><span style=\"font-weight: 400;\">Once the 2 CNAME Records are implemented in your DNS, go back to your Microsoft 365 Defender portal and re-click the \u201cEnable\u201d button. If everything has been configured correctly, you&#8217;ll get to see the green check with the \u201cEnabled\u201d notification.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"457\" height=\"371\" src=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/9d4389efb6dc71582831cf4694e35ca7.png\" alt=\"9d4389efb6dc71582831cf4694e35ca7\" class=\"wp-image-26292\" title=\"9d4389efb6dc71582831cf4694e35ca7\" srcset=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/9d4389efb6dc71582831cf4694e35ca7.png 457w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/9d4389efb6dc71582831cf4694e35ca7-300x244.png 300w\" sizes=\"(max-width: 457px) 100vw, 457px\" \/><\/figure>\n\n\n\n<p class=\"vg_note\"><strong>Important note: <\/strong>If the provider recommends publishing also a DMARC record, there\u2019s no need to do so if you already have a DMARC record in place, as each domain can only have one DMARC record.<\/p>\n\n\n\n\n\n\n\n<p><span style=\"font-weight: 400;\">Congrats, you now successfully authenticated your outgoing mail stream from Office 365 with SPF and DKIM.<\/span><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" id=\"video-config\"><p><iframe title=\"Microsoft 365 SPF and DKIM Setup: Step by Step | EasyDMARC\" width=\"580\" height=\"326\" src=\"https:\/\/www.youtube.com\/embed\/KaqfYJm4eU4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<\/div>\n<\/div>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>Our informative post will help you find out &#8230;<\/p>\n","protected":false},"author":1,"featured_media":42130,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[205,209],"tags":[],"class_list":["post-17212","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge-base","category-source-configuration"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Microsoft 365 SPF and DKIM Configuration | EasyDMARC<\/title>\n<meta name=\"description\" content=\"How can you set up SPF, DKIM Signatures on your Microsoft 365 email to eliminate spam from your domain and increase security.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Microsoft 365 SPF and DKIM Configuration: Step by Step\" \/>\n<meta property=\"og:description\" content=\"How can you set up SPF, DKIM Signatures on your Microsoft 365 email to eliminate spam from your domain and increase security.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/\" \/>\n<meta property=\"og:site_name\" content=\"EasyDMARC\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/EasyDMARC\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-21T11:33:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-22T14:59:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/Microsoft-365-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1618\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"EasyDMARC\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@easydmarc\" \/>\n<meta name=\"twitter:site\" content=\"@easydmarc\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"EasyDMARC\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/\"},\"author\":{\"name\":\"EasyDMARC\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/person\\\/449261e9810b270cc697c7c9c5b89e97\"},\"headline\":\"Microsoft 365 SPF and DKIM Configuration: Step by Step\",\"datePublished\":\"2024-11-21T11:33:00+00:00\",\"dateModified\":\"2025-09-22T14:59:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/\"},\"wordCount\":509,\"publisher\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Microsoft-365-scaled.jpg\",\"articleSection\":[\"Knowledge Base\",\"Source Configuration\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/\",\"name\":\"Microsoft 365 SPF and DKIM Configuration | EasyDMARC\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Microsoft-365-scaled.jpg\",\"datePublished\":\"2024-11-21T11:33:00+00:00\",\"dateModified\":\"2025-09-22T14:59:55+00:00\",\"description\":\"How can you set up SPF, DKIM Signatures on your Microsoft 365 email to eliminate spam from your domain and increase security.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/#primaryimage\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Microsoft-365-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Microsoft-365-scaled.jpg\",\"width\":2560,\"height\":1618,\"caption\":\"Microsoft\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/microsoft-365-spf-and-dkim-configuration-step-by-step\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/category\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Source Configuration\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/category\\\/knowledge-base\\\/source-configuration\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Microsoft 365 SPF and DKIM Configuration: Step by Step\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/\",\"name\":\"EasyDMARC\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/#organization\",\"name\":\"EasyDMARC\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/img\\\/logo.png\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/EasyDMARC\\\/\",\"https:\\\/\\\/x.com\\\/easydmarc\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/easydmarc\\\/mycompany\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/person\\\/449261e9810b270cc697c7c9c5b89e97\",\"name\":\"EasyDMARC\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"caption\":\"EasyDMARC\"},\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/author\\\/easydmarc\\\/\"}]}<\/script>\n<meta property=\"og:video\" content=\"https:\/\/www.youtube.com\/embed\/KaqfYJm4eU4\" \/>\n<meta property=\"og:video:type\" content=\"text\/html\" \/>\n<meta property=\"og:video:duration\" content=\"396\" \/>\n<meta property=\"og:video:width\" content=\"480\" \/>\n<meta property=\"og:video:height\" content=\"270\" \/>\n<meta property=\"ya:ovs:adult\" content=\"false\" \/>\n<meta property=\"ya:ovs:upload_date\" content=\"2024-11-21T11:33:00+00:00\" \/>\n<meta property=\"ya:ovs:allow_embed\" content=\"true\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Microsoft 365 SPF and DKIM Configuration | EasyDMARC","description":"How can you set up SPF, DKIM Signatures on your Microsoft 365 email to eliminate spam from your domain and increase security.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/","og_locale":"en_US","og_type":"article","og_title":"Microsoft 365 SPF and DKIM Configuration: Step by Step","og_description":"How can you set up SPF, DKIM Signatures on your Microsoft 365 email to eliminate spam from your domain and increase security.","og_url":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/","og_site_name":"EasyDMARC","article_publisher":"https:\/\/www.facebook.com\/EasyDMARC\/","article_published_time":"2024-11-21T11:33:00+00:00","article_modified_time":"2025-09-22T14:59:55+00:00","og_image":[{"width":2560,"height":1618,"url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/Microsoft-365-scaled.jpg","type":"image\/jpeg"}],"author":"EasyDMARC","twitter_card":"summary_large_image","twitter_creator":"@easydmarc","twitter_site":"@easydmarc","twitter_misc":{"Written by":"EasyDMARC","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/#article","isPartOf":{"@id":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/"},"author":{"name":"EasyDMARC","@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/person\/449261e9810b270cc697c7c9c5b89e97"},"headline":"Microsoft 365 SPF and DKIM Configuration: Step by Step","datePublished":"2024-11-21T11:33:00+00:00","dateModified":"2025-09-22T14:59:55+00:00","mainEntityOfPage":{"@id":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/"},"wordCount":509,"publisher":{"@id":"https:\/\/easydmarc.com\/blog\/#organization"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/#primaryimage"},"thumbnailUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/Microsoft-365-scaled.jpg","articleSection":["Knowledge Base","Source Configuration"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/","url":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/","name":"Microsoft 365 SPF and DKIM Configuration | EasyDMARC","isPartOf":{"@id":"https:\/\/easydmarc.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/#primaryimage"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/#primaryimage"},"thumbnailUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/Microsoft-365-scaled.jpg","datePublished":"2024-11-21T11:33:00+00:00","dateModified":"2025-09-22T14:59:55+00:00","description":"How can you set up SPF, DKIM Signatures on your Microsoft 365 email to eliminate spam from your domain and increase security.","breadcrumb":{"@id":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/#primaryimage","url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/Microsoft-365-scaled.jpg","contentUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/Microsoft-365-scaled.jpg","width":2560,"height":1618,"caption":"Microsoft"},{"@type":"BreadcrumbList","@id":"https:\/\/easydmarc.com\/blog\/microsoft-365-spf-and-dkim-configuration-step-by-step\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/easydmarc.com\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/easydmarc.com\/blog\/category\/knowledge-base\/"},{"@type":"ListItem","position":3,"name":"Source Configuration","item":"https:\/\/easydmarc.com\/blog\/category\/knowledge-base\/source-configuration\/"},{"@type":"ListItem","position":4,"name":"Microsoft 365 SPF and DKIM Configuration: Step by Step"}]},{"@type":"WebSite","@id":"https:\/\/easydmarc.com\/blog\/#website","url":"https:\/\/easydmarc.com\/blog\/","name":"EasyDMARC","description":"Blog","publisher":{"@id":"https:\/\/easydmarc.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/easydmarc.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/easydmarc.com\/#organization","name":"EasyDMARC","url":"https:\/\/easydmarc.com\/","logo":{"@type":"ImageObject","url":"https:\/\/easydmarc.com\/img\/logo.png"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/EasyDMARC\/","https:\/\/x.com\/easydmarc","https:\/\/www.linkedin.com\/company\/easydmarc\/mycompany\/"]},{"@type":"Person","@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/person\/449261e9810b270cc697c7c9c5b89e97","name":"EasyDMARC","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","caption":"EasyDMARC"},"url":"https:\/\/easydmarc.com\/blog\/author\/easydmarc\/"}]},"og_video":"https:\/\/www.youtube.com\/embed\/KaqfYJm4eU4","og_video_type":"text\/html","og_video_duration":"396","og_video_width":"480","og_video_height":"270","ya_ovs_adult":"false","ya_ovs_upload_date":"2024-11-21T11:33:00+00:00","ya_ovs_allow_embed":"true"},"jetpack_featured_media_url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2020\/12\/Microsoft-365-scaled.jpg","_links":{"self":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/17212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/comments?post=17212"}],"version-history":[{"count":27,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/17212\/revisions"}],"predecessor-version":[{"id":52618,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/17212\/revisions\/52618"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/media\/42130"}],"wp:attachment":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/media?parent=17212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/categories?post=17212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/tags?post=17212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}