<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Runbook Lab</title>
    <description>The latest articles on DEV Community by Runbook Lab (@runbooklab).</description>
    <link>https://dev.to/runbooklab</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4202924%2Fe7e1f6c4-b64d-418f-a107-f81114607db2.png</url>
      <title>DEV Community: Runbook Lab</title>
      <link>https://dev.to/runbooklab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/runbooklab"/>
    <language>en</language>
    <item>
      <title>Find every external mail forward in Exchange Online before you turn forwarding off</title>
      <dc:creator>Runbook Lab</dc:creator>
      <pubDate>Thu, 05 Nov 2026 11:05:01 +0000</pubDate>
      <link>https://dev.to/runbooklab/find-every-external-mail-forward-in-exchange-online-before-you-turn-forwarding-off-1k8</link>
      <guid>https://dev.to/runbooklab/find-every-external-mail-forward-in-exchange-online-before-you-turn-forwarding-off-1k8</guid>
      <description>&lt;p&gt;A forward to an outside address is the quietest way to keep reading a mailbox after a takeover. Exchange Online can block it with one setting, but the default value of that setting does not mean the same thing in every tenant. Here is how to see where you stand with read-only commands, and how to switch it off without surprising the people who rely on a forward.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;What changes: nothing changes on its own. Microsoft recommends setting automatic external forwarding explicitly to Off in the outbound spam policy, because the default, Automatic, behaves differently from tenant to tenant.
Who: Exchange Online admins, any plan (Exchange Online Protection is enough).
By when: no deadline. It is a standing recommendation.
Do this:
1. List mailboxes with a forward and inbox rules that forward or redirect outside.
2. Set the default outbound spam policy to Off and give approved forwards their own scoped policy.
Check: Get-HostedOutboundSpamFilterPolicy | Format-List Name,AutoForwardingMode (read-only)
Source: Microsoft Learn, "Control automatic external email forwarding from cloud mailboxes"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why "Automatic" is not an answer
&lt;/h2&gt;

&lt;p&gt;The outbound spam filter policy has three values for automatic forwarding:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Automatic - System-controlled&lt;/strong&gt; is the default. Microsoft says it was first equivalent to On, and in 2021 it became equivalent to Off for new organisations and for existing ones that weren't actively using it. Tenants that were already using it can still behave as On.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;On - Forwarding is enabled&lt;/strong&gt; allows automatic external forwarding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Off - Forwarding is disabled&lt;/strong&gt; blocks it and returns a non-delivery report to the sender.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because the result of Automatic depends on your tenant's history, Microsoft's advice is to configure On or Off instead. Its recommended settings for both the Standard and Strict presets are Off.&lt;/p&gt;

&lt;p&gt;Two details from the same Learn page matter for planning:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Off blocks both kinds of automatic forwarding: inbox rules that users create (or an attacker creates for them) and mailbox forwarding that admins set (SMTP forwarding).&lt;/li&gt;
&lt;li&gt;Forwarding between internal users is not affected.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: see your current setting (read-only)
&lt;/h2&gt;

&lt;p&gt;Connect with the ExchangeOnlineManagement module and read every outbound policy:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nc"&gt;Connect&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;ExchangeOnline&lt;/span&gt;
&lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;HostedOutboundSpamFilterPolicy&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;
  &lt;span class="nc"&gt;Format&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Table&lt;/span&gt; &lt;span class="nc"&gt;Name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;AutoForwardingMode&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the policy named Default says &lt;code&gt;Automatic&lt;/code&gt;, you do not know from this output alone whether forwarding works in your tenant. That is the reason to make it explicit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: list the forwards that exist today (read-only)
&lt;/h2&gt;

&lt;p&gt;Mailbox forwarding set by admins:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$f&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Mailbox&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;ResultSize&lt;/span&gt; &lt;span class="nc"&gt;Unlimited&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;
  &lt;span class="nc"&gt;Where&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ForwardingSmtpAddress&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ForwardingAddress&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="s2"&gt;"Mailboxes with a forward: $(@($f).Count)"&lt;/span&gt;
&lt;span class="nv"&gt;$f&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nc"&gt;Select&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="nc"&gt;UserPrincipalName&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;ForwardingSmtpAddress&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;ForwardingAddress&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;DeliverToMailboxAndForward&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inbox rules that forward or redirect. This walks every mailbox, so run it out of hours in a large tenant or limit it to a pilot group first:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Mailbox&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;ResultSize&lt;/span&gt; &lt;span class="nc"&gt;Unlimited&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="k"&gt;ForEach&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nv"&gt;$upn&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;UserPrincipalName&lt;/span&gt;
  &lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;InboxRule&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Mailbox&lt;/span&gt; &lt;span class="nv"&gt;$upn&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;ErrorAction&lt;/span&gt; &lt;span class="nc"&gt;SilentlyContinue&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;
    &lt;span class="nc"&gt;Where&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ForwardTo&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ForwardAsAttachmentTo&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;RedirectTo&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;
    &lt;span class="nc"&gt;Select&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; @&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'Mailbox'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nv"&gt;$upn&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Enabled&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;ForwardTo&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;ForwardAsAttachmentTo&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;RedirectTo&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Not every address in those results is external: check the domain of each one against your accepted domains. The Auto forwarded messages report in the Defender portal shows the same picture from the mail flow side.&lt;/p&gt;

&lt;p&gt;Write the counts down. They are your baseline, and any forward you did not expect deserves a closer look before anything else: an inbox rule forwarding to a free mail address on a finance mailbox is a sign-in investigation, not a settings task.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: ask, then set Off
&lt;/h2&gt;

&lt;p&gt;For each remaining forward, ask the owner whether it is still needed. Then:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the Defender portal go to Email &amp;amp; collaboration &amp;gt; Policies &amp;amp; rules &amp;gt; Threat policies &amp;gt; Anti-spam, open &lt;strong&gt;Anti-spam outbound policy (Default)&lt;/strong&gt; and set &lt;strong&gt;Automatic forwarding rules&lt;/strong&gt; to &lt;strong&gt;Off - Forwarding is disabled&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;For forwards that the business approves, create a custom outbound spam policy with forwarding On, scoped to those senders only. To limit where they can forward, use remote domains: when one control allows forwarding and another blocks it, the block typically wins.&lt;/li&gt;
&lt;li&gt;Tell the helpdesk what users will see. The bounce reads: &lt;code&gt;5.7.520 Access denied, Your organization does not allow external forwarding. Please contact your administrator for further assistance. AS(7555)&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Rollback
&lt;/h2&gt;

&lt;p&gt;Set the default outbound policy back to its previous value, or add the affected user to the custom outbound policy with forwarding On.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to verify
&lt;/h2&gt;

&lt;p&gt;The default outbound policy shows &lt;code&gt;AutoForwardingMode&lt;/code&gt; Off; every remaining forward sits in a named custom policy with an owner; a test inbox rule that forwards outside the tenant returns 5.7.520.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you change anything
&lt;/h2&gt;

&lt;p&gt;Run Steps 1 and 2 today, even if you change nothing this week. Finding a forward you can't explain matters more than the setting.&lt;/p&gt;

&lt;p&gt;This check is control E07 in our free Microsoft 365 Emergency Top 10, which comes with a Jira import, an Excel plan and read-only PowerShell checks: &lt;a href="https://runbooklabhq.com/kits/m365-hardening/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=m365-top10&amp;amp;utm_content=devto-005" rel="noopener noreferrer"&gt;https://runbooklabhq.com/kits/m365-hardening/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=m365-top10&amp;amp;utm_content=devto-005&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Microsoft Learn: Control automatic external email forwarding from cloud mailboxes (read 5 November 2026)&lt;/li&gt;
&lt;li&gt;Microsoft Learn: Recommended settings for EOP and Microsoft Defender for Office 365 security&lt;/li&gt;
&lt;li&gt;Microsoft Learn: Configure outbound spam filtering&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Drafted with AI assistance and reviewed before publishing. Runbook Lab is not affiliated with Microsoft.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>microsoft</category>
      <category>powershell</category>
      <category>sysadmin</category>
    </item>
    <item>
      <title>SSPR stops using the phone number in the directory in November: find who loses self-service reset</title>
      <dc:creator>Runbook Lab</dc:creator>
      <pubDate>Thu, 29 Oct 2026 13:13:42 +0000</pubDate>
      <link>https://dev.to/runbooklab/sspr-stops-using-the-phone-number-in-the-directory-in-november-find-who-loses-self-service-reset-55m5</link>
      <guid>https://dev.to/runbooklab/sspr-stops-using-the-phone-number-in-the-directory-in-november-find-who-loses-self-service-reset-55m5</guid>
      <description>&lt;p&gt;&lt;strong&gt;Updated 13 November 2026:&lt;/strong&gt; Microsoft Learn (last updated 5 November 2026) now says "Starting February 2027, SSPR will only accept explicitly registered authentication methods." MC1325414 (last updated 4 August 2026) still says enforcement begins 7 November 2026. This article gave the Message Center dates. The check below is unchanged; run it now.&lt;/p&gt;

&lt;p&gt;From early November 2026, Entra self-service password reset only accepts methods a user actually registered. The phone number and alternate email that sit in the directory stop counting. The users this catches can be listed today with read-only commands.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;What changes: SSPR verification uses only registered authentication methods. Directory attributes (mobilePhone, businessPhones, otherMails) no longer work for SSPR unless the user registered them.
Who: all users in tenants with SSPR enabled, administrators included.
By when: Microsoft says act by 6 November 2026. Enforcement starts 7 November in the rollout schedule and 9 November in the title of the same message.
Do this:
1. List users who are allowed to use SSPR but aren't registered for it.
2. Turn on the registration campaign and brief the helpdesk.
Check: Get-MgReportAuthenticationMethodUserRegistrationDetail (read-only)
Source: MC1325414, Microsoft Learn "Prepopulate user authentication contact information for SSPR"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What Microsoft actually said
&lt;/h2&gt;

&lt;p&gt;Message Center MC1325414 (published 28 May 2026, version 6 updated 4 August 2026):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"SSPR will require explicitly registered authentication methods for verification."&lt;/li&gt;
&lt;li&gt;Directory attributes such as &lt;code&gt;mobilePhone&lt;/code&gt;, &lt;code&gt;businessPhone&lt;/code&gt; and &lt;code&gt;otherMails&lt;/code&gt; "will no longer be valid unless registered."&lt;/li&gt;
&lt;li&gt;It applies to all users, including administrators, in tenants with SSPR enabled, in the public cloud and the US Government clouds.&lt;/li&gt;
&lt;li&gt;Users without a registered method at enforcement can't finish a reset. They are prompted to register or to contact an administrator.&lt;/li&gt;
&lt;li&gt;Dates in the message: registration campaign from 5 October 2026, enforcement from 7 November 2026, act by 6 November 2026. The title says 9 November. Plan for the earlier date.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Learn page on prepopulating contact information carries the same warning in an Important box. It is also the page that shows how those directory values got there in the first place: Entra Connect syncs &lt;code&gt;telephoneNumber&lt;/code&gt; and &lt;code&gt;mobile&lt;/code&gt; from on-premises AD into Office phone and Mobile phone, and admins set &lt;code&gt;otherMails&lt;/code&gt; and &lt;code&gt;mobilePhone&lt;/code&gt; with &lt;code&gt;Update-MgUser&lt;/code&gt;. That was the documented way to pre-load SSPR for years. Every tenant that followed it has users who never registered anything themselves.&lt;/p&gt;

&lt;p&gt;The person who finds out first is the one who forgot their password on a Friday afternoon.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: list who is enabled but not registered
&lt;/h2&gt;

&lt;p&gt;The user registration details report is the view Microsoft points to in the message (Entra admin center &amp;gt; Authentication methods &amp;gt; User registration details). Access needs a role such as Reports Reader, Security Reader or Global Reader, and the Usage and insights reports need Entra ID P1 or P2. The Graph permission is &lt;code&gt;AuditLog.Read.All&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Three flags matter here, and they mean different things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;IsSsprEnabled&lt;/code&gt;: policy allows the user to use SSPR.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;IsSsprRegistered&lt;/code&gt;: the user has registered the number of methods SSPR needs.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;IsSsprCapable&lt;/code&gt;: both of the above.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The users to worry about are enabled but not registered.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nc"&gt;Connect&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgGraph&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Scopes&lt;/span&gt; &lt;span class="nc"&gt;AuditLog&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Read&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;All&lt;/span&gt;

&lt;span class="nv"&gt;$r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; @&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgReportAuthenticationMethodUserRegistrationDetail&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;All&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nv"&gt;$gap&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; @&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$r&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nc"&gt;Where&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;IsSsprEnabled&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;IsSsprRegistered&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="s2"&gt;"Users in report: $($r.Count)"&lt;/span&gt;
&lt;span class="s2"&gt;"SSPR enabled: $(@($r | Where-Object { $_.IsSsprEnabled }).Count)"&lt;/span&gt;
&lt;span class="s2"&gt;"Enabled but not registered: $($gap.Count)"&lt;/span&gt;
&lt;span class="s2"&gt;"  of which admins: $(@($gap | Where-Object { $_.IsAdmin }).Count)"&lt;/span&gt;

&lt;span class="nv"&gt;$gap&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nc"&gt;Select&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="nc"&gt;UserPrincipalName&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;UserType&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;IsAdmin&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    @&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'Methods'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;MethodsRegistered&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;join&lt;/span&gt; &lt;span class="s1"&gt;';'&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;
    &lt;span class="nc"&gt;Export&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Csv&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;NoTypeInformation&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Encoding&lt;/span&gt; &lt;span class="no"&gt;UTF8&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;\&lt;span class="n"&gt;sspr&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gap&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;csv&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every call here is a &lt;code&gt;Get-&lt;/code&gt;. Nothing changes in the tenant.&lt;/p&gt;

&lt;p&gt;If &lt;code&gt;SSPR enabled&lt;/code&gt; is zero, SSPR is either off or scoped to a group that is empty. Check the scope in Entra admin center &amp;gt; Password reset &amp;gt; Properties before you decide the change doesn't affect you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: see who was relying on directory data
&lt;/h2&gt;

&lt;p&gt;The report says who isn't registered. It doesn't say who had a phone or email in the directory that SSPR was quietly using. That second list is the one the helpdesk will hear from, so join the two:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nc"&gt;Connect&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgGraph&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Scopes&lt;/span&gt; &lt;span class="nc"&gt;AuditLog&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Read&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;All&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;User&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Read&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;All&lt;/span&gt;

&lt;span class="nv"&gt;$rows&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;foreach&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$u&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;$gap&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nv"&gt;$d&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgUser&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;UserId&lt;/span&gt; &lt;span class="nv"&gt;$u&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Id&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Property&lt;/span&gt; &lt;span class="n"&gt;userPrincipalName&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;mobilePhone&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;businessPhones&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;otherMails&lt;/span&gt;
    &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;pscustomobject&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;@&lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;UserPrincipalName&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;UserPrincipalName&lt;/span&gt;
        &lt;span class="nc"&gt;IsAdmin&lt;/span&gt;           &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$u&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;IsAdmin&lt;/span&gt;
        &lt;span class="nc"&gt;DirMobile&lt;/span&gt;         &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;bool&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="nv"&gt;$d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;MobilePhone&lt;/span&gt;
        &lt;span class="nc"&gt;DirOffice&lt;/span&gt;         &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;bool&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;@&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;BusinessPhones&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Count&lt;/span&gt;
        &lt;span class="nc"&gt;DirOtherMail&lt;/span&gt;      &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;bool&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;@&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;OtherMails&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Count&lt;/span&gt;
        &lt;span class="nc"&gt;Registered&lt;/span&gt;        &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$u&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;MethodsRegistered&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;join&lt;/span&gt; &lt;span class="s1"&gt;';'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nv"&gt;$rows&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nc"&gt;Where&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;DirMobile&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;DirOffice&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;DirOtherMail&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;
    &lt;span class="nc"&gt;Export&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Csv&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;NoTypeInformation&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Encoding&lt;/span&gt; &lt;span class="no"&gt;UTF8&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;\&lt;span class="n"&gt;sspr&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;directory&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;only&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;csv&lt;/span&gt;

&lt;span class="s2"&gt;"Gap users with directory phone or email: $(@($rows | Where-Object { $_.DirMobile -or $_.DirOffice -or $_.DirOtherMail }).Count)"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The export holds true/false flags, not the phone numbers themselves. Keep it that way if the file is going into a ticket.&lt;/p&gt;

&lt;p&gt;For a few thousand users this is one Graph call per gap user. Run it once, not on a schedule.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: split the list
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Admins.&lt;/strong&gt; The message is explicit that administrators are included. Admin SSPR has its own policy and usually needs two methods. Break-glass accounts should not depend on SSPR at all; check they are excluded by design and documented.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guests.&lt;/strong&gt; Guests rarely reset passwords in your tenant. Note them and move on unless they hold access you care about.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Members.&lt;/strong&gt; The main number. These users get the registration campaign and a short message: what changes, where to register (My Security Info), and who to call.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 4: let the campaign do the asking
&lt;/h2&gt;

&lt;p&gt;Microsoft's own advice in the message: allow or enable the registration campaign so users are prompted at sign-in, plan helpdesk-assisted registration as the fallback, and tell IT admins, the helpdesk and users before enforcement.&lt;/p&gt;

&lt;p&gt;Check the campaign state without changing it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nc"&gt;Connect&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgGraph&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Scopes&lt;/span&gt; &lt;span class="nc"&gt;Policy&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Read&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;All&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgPolicyAuthenticationMethodPolicy&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;RegistrationEnforcement&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;AuthenticationMethodsRegistrationCampaign&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;
    &lt;span class="nc"&gt;Select&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="nc"&gt;State&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;SnoozeDurationInDays&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then re-run Step 1 every couple of days until enforcement. The "Enabled but not registered" count is the number to track. It should go down; if it doesn't, the campaign isn't reaching those users.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you change anything
&lt;/h2&gt;

&lt;p&gt;Write down the count from Step 1 today. If a reset ticket comes in after enforcement, that number tells you whether it was expected or something else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Message Center MC1325414, "Microsoft Entra ID SSPR will require registered authentication methods starting November 9, 2026" (v6, 4 August 2026)&lt;/li&gt;
&lt;li&gt;Microsoft Learn: Prepopulate user authentication contact information for Microsoft Entra self-service password reset (SSPR): &lt;a href="https://learn.microsoft.com/entra/identity/authentication/howto-sspr-authenticationdata" rel="noopener noreferrer"&gt;https://learn.microsoft.com/entra/identity/authentication/howto-sspr-authenticationdata&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Microsoft Graph reference: userRegistrationDetails resource type, List userRegistrationDetails&lt;/li&gt;
&lt;li&gt;Microsoft Learn: Authentication Methods Activity (roles and licence)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Drafted with AI assistance and checked against Microsoft Learn and Message Center before publishing.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>microsoft</category>
      <category>powershell</category>
      <category>sysadmin</category>
    </item>
    <item>
      <title>Microsoft retires SMS and voice MFA on 1 February 2027: find the users it will block</title>
      <dc:creator>Runbook Lab</dc:creator>
      <pubDate>Tue, 27 Oct 2026 19:08:37 +0000</pubDate>
      <link>https://dev.to/runbooklab/microsoft-retires-sms-and-voice-mfa-on-1-february-2027-find-the-users-it-will-block-2nn8</link>
      <guid>https://dev.to/runbooklab/microsoft-retires-sms-and-voice-mfa-on-1-february-2027-find-the-users-it-will-block-2nn8</guid>
      <description>&lt;p&gt;Microsoft retires its own SMS and voice MFA on 1 February 2027. The users it will stop are already in your tenant, and you can list them today with one read-only command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;What changes: Microsoft-provided SMS and voice MFA retires. Users whose only MFA method is SMS or voice must register a passkey during sign-in before they can continue.
Who: all users except Global Administrators and external users. Internal guests are included.
By when: 1 February 2027. Global Administrators and external users: 1 July 2027.
Do this:
1. List the users whose only MFA method is SMS or voice.
2. Enable passkeys for them and run a registration campaign.
Check: Get-MgReportAuthenticationMethodUserRegistrationDetail (read-only)
Source: MC1519855, Microsoft Learn "SMS and voice retirement FAQ"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What Microsoft actually said
&lt;/h2&gt;

&lt;p&gt;From the Microsoft Learn FAQ (last updated 23 September 2026) and Message Center post MC1519855 (21 October 2026):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;From 1 February 2027 the retirement applies to all users except Global Administrators and external users. Those two groups follow on 1 July 2027.&lt;/li&gt;
&lt;li&gt;Internal guests are not in the July group. They follow the February date.&lt;/li&gt;
&lt;li&gt;After the date, a user whose only MFA method is SMS or voice has to register a passkey during sign-in to keep using the account. It is a blocking prompt, not a nudge.&lt;/li&gt;
&lt;li&gt;There is no opt-out for enforcement. The temporary opt-out (&lt;code&gt;passkeyDynamicMigration&lt;/code&gt;) only covers the changes between 1 September 2026 and 1 February 2027.&lt;/li&gt;
&lt;li&gt;If you really need SMS or voice, you can contract a telephony provider through Microsoft Security Store. The configuration becomes available from 30 October 2026. Tenants with a provider configured keep SMS or voice under their own policies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So the question for most tenants is not "do we keep SMS". It is "who is going to hit that prompt on a Monday morning in February".&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: list the phone-only users
&lt;/h2&gt;

&lt;p&gt;You need the user registration details report. It needs Entra ID P1 or P2, the &lt;code&gt;AuditLog.Read.All&lt;/code&gt; permission and a role such as Reports Reader, Security Reader or Global Reader.&lt;/p&gt;

&lt;p&gt;Portal route: Entra admin center &amp;gt; Entra ID &amp;gt; Authentication methods &amp;gt; User registration details, then filter on methods registered. Fine for a look. For a list you can work from, use Microsoft Graph PowerShell:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nc"&gt;Connect&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgGraph&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Scopes&lt;/span&gt; &lt;span class="nc"&gt;AuditLog&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Read&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;All&lt;/span&gt;

&lt;span class="nv"&gt;$r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; @&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgReportAuthenticationMethodUserRegistrationDetail&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;All&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Phone methods, and methods that don't count as a way out&lt;/span&gt;
&lt;span class="nv"&gt;$phone&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; @&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'mobilePhone'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'alternateMobilePhone'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'officePhone'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nv"&gt;$weak&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; @&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'mobilePhone'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'alternateMobilePhone'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'officePhone'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'email'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'securityQuestion'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nv"&gt;$only&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; @&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$r&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nc"&gt;Where&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nv"&gt;$m&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; @&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;MethodsRegistered&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$m&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nc"&gt;Where&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nv"&gt;$phone&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;contains&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Count&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gt&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="ow"&gt;and&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$m&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nc"&gt;Where&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nv"&gt;$weak&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;notcontains&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Count&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;eq&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="s2"&gt;"Users in report: $($r.Count)"&lt;/span&gt;
&lt;span class="s2"&gt;"Phone-only users: $($only.Count)"&lt;/span&gt;
&lt;span class="s2"&gt;"  admins: $(@($only | Where-Object { $_.IsAdmin }).Count)"&lt;/span&gt;
&lt;span class="s2"&gt;"  guests: $(@($only | Where-Object { $_.UserType -eq 'guest' }).Count)"&lt;/span&gt;

&lt;span class="nv"&gt;$only&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nc"&gt;Select&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="nc"&gt;UserPrincipalName&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;UserType&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;IsAdmin&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    @&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'Methods'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;MethodsRegistered&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;join&lt;/span&gt; &lt;span class="s1"&gt;';'&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;
    &lt;span class="nc"&gt;Export&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Csv&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;NoTypeInformation&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Encoding&lt;/span&gt; &lt;span class="no"&gt;UTF8&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;\&lt;span class="n"&gt;phone&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;only&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;users&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;csv&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Everything here is a &lt;code&gt;Get-&lt;/code&gt; call. It changes nothing.&lt;/p&gt;

&lt;p&gt;Why email and security questions are in the "weak" list: they are not MFA methods that will let a user through the prompt. A user with SMS plus email is still phone-only for this purpose. Anyone with Microsoft Authenticator, a passkey, a FIDO2 key, a software OTP or Windows Hello for Business drops out of the list.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: split the list before you plan
&lt;/h2&gt;

&lt;p&gt;Three buckets, three conversations:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Admins.&lt;/strong&gt; &lt;code&gt;IsAdmin&lt;/code&gt; is true for any admin role, not only Global Administrator. Only Global Administrators get 1 July 2027. Everyone else with a role is on 1 February. Check the role before you relax. Break-glass accounts should be on FIDO2 keys anyway.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guests.&lt;/strong&gt; The report can't tell an internal guest from an external (B2B) user who signs in through another organisation. Internal guests are on the February date. Decide per account: convert to member, give it another strong method, or remove it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Members.&lt;/strong&gt; Usually the big number. This is where the registration campaign and the user messages go.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 3: check the policy side
&lt;/h2&gt;

&lt;p&gt;Two more read-only looks tell you whether the tenant is ready for the move:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nc"&gt;Connect&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgGraph&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Scopes&lt;/span&gt; &lt;span class="nc"&gt;Policy&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Read&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;All&lt;/span&gt;

&lt;span class="c1"&gt;# Where SMS and voice are switched on, and for whom&lt;/span&gt;
&lt;span class="k"&gt;foreach&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$id&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="s1"&gt;'Sms'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'Voice'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nv"&gt;$c&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;AuthenticationMethodConfigurationId&lt;/span&gt; &lt;span class="nv"&gt;$id&lt;/span&gt;
    &lt;span class="nv"&gt;$t&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; @&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$c&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;AdditionalProperties&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'includeTargets'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="k"&gt;ForEach&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'id'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;join&lt;/span&gt; &lt;span class="s1"&gt;', '&lt;/span&gt;
    &lt;span class="s2"&gt;"$id : state=$($c.State); targets=$t"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c1"&gt;# Is Passkey (FIDO2) enabled, and for whom&lt;/span&gt;
&lt;span class="nv"&gt;$f&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;AuthenticationMethodConfigurationId&lt;/span&gt; &lt;span class="nc"&gt;Fido2&lt;/span&gt;
&lt;span class="s2"&gt;"Passkey (FIDO2): state=$($f.State)"&lt;/span&gt;

&lt;span class="c1"&gt;# Registration campaign state&lt;/span&gt;
&lt;span class="nv"&gt;$rc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;MgPolicyAuthenticationMethodPolicy&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;RegistrationEnforcement&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;AuthenticationMethodsRegistrationCampaign&lt;/span&gt;
&lt;span class="s2"&gt;"Registration campaign: $($rc.State)"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If Passkey (FIDO2) is disabled or doesn't target your phone-only group, that is the first change to make. Pilot it with IT staff first.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: count down, weekly
&lt;/h2&gt;

&lt;p&gt;Put the phone-only users in a group, aim the passkey registration campaign at it, and re-run the export every week. The number in the tracker should only go one way. Divide what's left by the weeks remaining minus one, and you know how many users the helpdesk needs to move each week to finish a week early.&lt;/p&gt;

&lt;p&gt;Month-end will find the finance user nobody told.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Microsoft Learn, SMS and voice retirement FAQ: &lt;a href="https://learn.microsoft.com/en-us/entra/identity/authentication/concept-sms-voice-retirement-faq" rel="noopener noreferrer"&gt;https://learn.microsoft.com/en-us/entra/identity/authentication/concept-sms-voice-retirement-faq&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Message Center MC1519855 (21 October 2026)&lt;/li&gt;
&lt;li&gt;Microsoft Graph reference: "List userRegistrationDetails"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Drafted with AI assistance and checked against Microsoft Learn before publishing.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>microsoft</category>
      <category>powershell</category>
      <category>sysadmin</category>
    </item>
    <item>
      <title>SMTP AUTH Basic auth goes off by default in December: how to find what will break</title>
      <dc:creator>Runbook Lab</dc:creator>
      <pubDate>Fri, 23 Oct 2026 15:30:23 +0000</pubDate>
      <link>https://dev.to/runbooklab/smtp-auth-basic-auth-goes-off-by-default-in-december-how-to-find-what-will-break-2m3a</link>
      <guid>https://dev.to/runbooklab/smtp-auth-basic-auth-goes-off-by-default-in-december-how-to-find-what-will-break-2m3a</guid>
      <description>&lt;p&gt;At the end of December 2026, Exchange Online switches SMTP AUTH Basic authentication off by default for existing tenants (Microsoft message MC786329, updated January 2026). Tenants created after that won't have it at all, and Microsoft says the final removal date will be announced in the second half of 2027.&lt;/p&gt;

&lt;p&gt;"Off by default" means you can turn it back on for now. But anything still sending with a username and password will fail on the day it flips, and it fails hard:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;550 5.7.30 Basic authentication is not supported for Client Submission.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's a permanent rejection, so nothing is queued or retried. The mail is just gone.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Find out who is still using it
&lt;/h2&gt;

&lt;p&gt;Exchange admin center → &lt;strong&gt;Reports → Mail flow → SMTP AUTH clients report&lt;/strong&gt;. Filter by authentication type. It's usually a short list: a few shared mailboxes behind printers and scanners, a line-of-business app or two, and some forgotten scripts.&lt;/p&gt;

&lt;p&gt;Entra sign-in logs show SMTP sign-ins too, if you prefer to start there.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Check how your tenant is configured (read-only)
&lt;/h2&gt;

&lt;p&gt;Tenant-wide setting:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;TransportConfig&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nc"&gt;Select&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="nc"&gt;SmtpClientAuthenticationDisabled&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Per mailbox. &lt;code&gt;$null&lt;/code&gt; means "follow the tenant setting", &lt;code&gt;$false&lt;/code&gt; means SMTP AUTH is explicitly allowed for that mailbox:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nc"&gt;Get&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;CASMailbox&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;ResultSize&lt;/span&gt; &lt;span class="nc"&gt;Unlimited&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;
  &lt;span class="nc"&gt;Where&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nv"&gt;$_&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;SmtpClientAuthenticationDisabled&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;eq&lt;/span&gt; &lt;span class="nv"&gt;$false&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;
  &lt;span class="nc"&gt;Select&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Object&lt;/span&gt; &lt;span class="nc"&gt;PrimarySmtpAddress&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;SmtpClientAuthenticationDisabled&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The mailboxes in that second list are the ones to look at first.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Pick a route per sender
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Apps that support it:&lt;/strong&gt; OAuth 2.0 for SMTP AUTH.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Printers and scanners that can't do OAuth:&lt;/strong&gt; IP-based relay through a connector. It needs a static public IP, and it isn't affected by this change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scripts:&lt;/strong&gt; Microsoft Graph &lt;code&gt;sendMail&lt;/code&gt; instead of &lt;code&gt;Send-MailMessage&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Internal-only notifications:&lt;/strong&gt; High Volume Email can work, but it's still in preview and only sends to internal recipients.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Move one device first
&lt;/h2&gt;

&lt;p&gt;Switch a single pilot device or mailbox, confirm mail actually arrives, then move the rest. Once a mailbox no longer needs SMTP AUTH, turn it off for that mailbox so it can't quietly come back:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nc"&gt;Set&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;CASMailbox&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Identity&lt;/span&gt; &lt;span class="n"&gt;scanner&lt;/span&gt;@&lt;span class="n"&gt;contoso&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;SmtpClientAuthenticationDisabled&lt;/span&gt; &lt;span class="nv"&gt;$true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Pull the SMTP AUTH clients report this week.&lt;/li&gt;
&lt;li&gt;Give every sender an owner and a route.&lt;/li&gt;
&lt;li&gt;Pilot one device, then the rest, well before the end of December.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What's on your list? Scanners seem to be everyone's number one.&lt;/p&gt;




</description>
      <category>security</category>
      <category>cybersecurity</category>
    </item>
  </channel>
</rss>
