The depletion of IPv4 addresses and the need to improve network performance have made the transition to IPv6 important. Last week, Microsoft announced IPv6 support for Exchange Online.
Exchange Online IPV6 Planning
As of October 2024, 16, Exchange Online announced that it will begin phasing in IPv6 for all Accepted Domains using IPv6. This step will enable customers to more easily comply with regulations and benefit from the enhanced security and performance benefits offered by IPvXNUMX.
Exchange Online MX Record Query
By default, Exchange Online uses an MX record that matches the IPV4 address, these records must be entered during the initial Tenant creation, you can follow the article below to add Exchange Online MX, SPF and DKIM records.
When checking via MXToolbox or IntoDNS, the MX record that matches the IPv4 address should be displayed.
When control is provided via MXToolbox, only the MX record associated with IPv4 is displayed.
Commands to be used for Exchange Online IPv6
To enable IPv6 in Exchange Online, we need to use Remote PowerShell, the operations performed here become active within 10-15 minutes. The command sets used are as follows;
PowerShell is used to enable or disable IPv6 Accepted Domain. To enableEnable-IPv6ForAcceptedDomain -Domain "yilmazcengiz.tr"
To disable the command,Disable-IPv6ForAcceptedDomain -Domain "yilmazcengiz.tr"
You can use the command.
Exchange Online IPv6 Enablement Steps
To enable IPv6 in Exchange Online, we need to connect to Exchange Online with PowerShell.
Connect-ExchangeOnline -UserPrincipalName "[email protected]"
PS C:\Users\CengizYILMAZ> Connect-ExchangeOnline -UserPrincipalName [email protected]
----------------------------------------------------------------------------------------
This V3 EXO PowerShell module contains new REST API backed Exchange Online cmdlets which doesn't require WinRM for Client-Server communication. You can now run these cmdlets after turning off WinRM Basic Auth in your client machine thus making it more secure.
Unlike the EXO* prefixed cmdlets, the cmdlets in this module support full functional parity with the RPS (V1) cmdlets.
V3 cmdlets in the downloaded module are resilient to transient failures, handling retries and throttling errors inherently.
REST backed EOP and SCC cmdlets are also available in the V3 module. Similar to EXO, the cmdlets can be run without WinRM basic auth enabled.
For more information check https://aka.ms/exov3-module
----------------------------------------------------------------------------------------
After establishing a connection with the Connect-ExchangeOnline parameter, Enable-IPv6ForAcceptedDomain
We need to use the command.
Enable-IPv6ForAcceptedDomain -Domain "yilmazcengiz.tr"
PS C:\Users\CengizYILMAZ> Enable-IPv6ForAcceptedDomain -Domain "yilmazcengiz.tr"
Result Status AdditionalInfo
------ ------ --------------
Success Enabled
PS C:\Users\CengizYILMAZ> Enable-IPv6ForAcceptedDomain -Domain "365gurusu.com"
Result Status AdditionalInfo
------ ------ --------------
Success Enabled
After enabling IPv6 in Exchange Online with Enable-IPv6ForAcceptedDomain, you need to wait 15-20 minutes.
Exchange Online IPv6 Activation Verification
After completing IPv6 activation for our domains in Exchange Online, you can provide the necessary controls via MXToolbox or IntoDNS.
Previously, when the MX query was made, only IP blocks associated with IPv4 were visible. When the IPv6 activation process is completed in Exchange Online, records for IPv6 are also visible in the MX query.
As seen in the image yilmazcengiz.tr for domain ExchangeOnline IPv6 activation is complete and MX as a record IPv6 records are also visible.
Query for Exchange Online IPv6 Activation
You can use the Get-IPv6StatusForAcceptedDomain command to query the IPv6 status for your domains in Exchange Online.
Get-IPv6StatusForAcceptedDomain -Domain "yilmazcengiz.tr"
PS C:\Users\CengizYILMAZ> Get-IPv6StatusForAcceptedDomain -Domain "yilmazcengiz.tr"
Result Status AdditionalInfo
------ ------ --------------
Success Enabled
The IPv6 status that is not activated looks like this:
PS C:\Users\CengizYILMAZ> Get-IPv6StatusForAcceptedDomain -Domain "cloudguardia.com"
Result Status AdditionalInfo
------ ------ --------------
Success Disabled
Disable IPv6 in Exchange Online
To disable IPv6 in Exchange Online, the Disable-IPv6ForAcceptedDomain command must be used.
PS C:\Users\CengizYILMAZ> Disable-IPv6ForAcceptedDomain -Domain "365gurusu.com"
Result Status AdditionalInfo
------ ------ --------------
Success Disabled
In this article, we talked about the steps to enable IPv6 in Exchange Online and the steps to disable IPv6. I hope it was a useful article, see you in another article.
One comment on “How to Enable Exchange Online IPV6”