How to check mail forwarding in office 365
To check mail forwarding in Office 365, you can follow these steps:
Method 1: Using the Office 365 Admin Center
- Sign in to the Office 365 Admin Center with your admin credentials.
- Click on Users > Active users.
- Select the user whose mail forwarding you want to check.
- Click on the Mail tab.
- Scroll down to the Mail forwarding section.
- Check the Forwarding setting to see if it's enabled or disabled.
- If enabled, you'll see the forwarding email address and the forwarding rule.
Method 2: Using PowerShell
- Open PowerShell and connect to your Office 365 tenant using the following command:
Connect-AzureAD
- Run the following command to get the mail forwarding settings for a specific user:
Get-AzureADUser -ObjectId <userObjectId> | Select-Object -ExpandProperty ForwardingSMTPAddress
- Replace
<userObjectId>
with the actual object ID of the user whose mail forwarding you want to check. - The command will return the forwarding email address if it's enabled, or
null
if it's disabled.
Method 3: Using the Exchange Online PowerShell module
- Open PowerShell and connect to your Office 365 tenant using the following command:
Connect-ExchangeOnline
- Run the following command to get the mail forwarding settings for a specific user:
Get-MailUser -Identity <userAlias> | Select-Object -ExpandProperty ForwardingSMTPAddress
- Replace
<userAlias>
with the actual alias of the user whose mail forwarding you want to check. - The command will return the forwarding email address if it's enabled, or
$null
if it's disabled.
Note: Make sure you have the necessary permissions and credentials to access the Office 365 Admin Center, PowerShell, or Exchange Online PowerShell module.