Microsoft 365
Microsoft's SPF example for a custom domain in Microsoft 365 is v=spf1 include:spf.protection.outlook.com -all. DKIM public keys are CNAME records. The CNAME values printed in the article are examples. The ones you publish are the ones the Defender portal shows for the domain.
The record
v=spf1 include:spf.protection.outlook.com -all
Microsoft's SPF page shows that include next to sample ip4 mechanisms, and says the syntax follows RFC 7208. Do not copy a CNAME from the DKIM article. The article says those values are for illustration only.
Do not copy the CNAME example
Microsoft's SPF page shows that include next to sample ip4 mechanisms, and says the syntax follows RFC 7208. Do not copy a CNAME from the DKIM article. The article says those values are for illustration only. The ones you publish are the ones the Defender portal shows for the domain.
Two records that both start with v=spf1 on the same name are a permerror. Add every other sender to this one record. The -all in Microsoft's example is Microsoft's.