Soft deleted mailboxes will be available for 30 days. If the mailbox available in soft deleted state then we can restore the mailbox.

We can view whether the mailbox is in soft deleted state using the below command

Get-Mailbox UserID –Softdeleted


If it is available as a soft deleted mailbox, then we can run the below command to restore the mailbox.

New-MailboxRestoreRequest -SourceMailbox <GUID from above step> -TargetMailbox <GUID from new target mailbox you’ve created>

Wait for the restore to happen in the backend. To check the restore request status, you can run the below command

Get-MailboxRestoreRequest –Identity MailboxRestoreRequest1

Exchange Online made the soft deleted mailbox very simple. You can follow the above steps to restore a soft deleted mailbox.

Deleted SharePoint Online Site collections will be available in recycled state for 30 days and the deleted SharePoint site collection will be permanently deleted. Using SharePoint Online PowerShell, we can view the deleted SharePoint Site collection and restore the deleted SharePoint Site Collection.

To view the deleted SharePoint Site Collection, we can run the below command

Get-SPODeletedSite

Status of the deleted site will show like recycled

Get-SPODeletedSite | FL Status, DaysRemaining

To view the deleted OneDrive Personal Site

Get-SPODeletedSite –IncludePersonalSite:$True

To Restore the deleted SharePoint Online Site Collection, we can run the below command

Restore-SPODeletedSite -Identity https://superhybridcloud.sharepoint.com/sites/specialpay

Hope this post is informative. Leave your comments if any assistance required.

OneDrive for Business Online report helps organization to view the OneDrive Usage details and if any sharing capabilities are restricted or allowed only to few domains, then the OneDrive for Business Online report shows the details on, to which domain sharing capabilities enabled for a User.

Connect to SPO Service in PowerShell and run the below command to generate one drive details

-IncludePersonalSite Parameter shows only the personal site (OneDrive sites) details in the SharePoint Online Tenant.

If you are having more than 200 users in your organization, then you need to run the below command to get all the OneDrive site details. By default, only 200 users details will be pulled.

In addition, we can pass a filter like below and export the results to CSV file

Output file will look like below

You can do a filter and see the required results on the output.

We may have a requirement to see the OneDrive site details of a user, we can see the details of the OneDrive site for the user in PowerShell by using the below command.

Get-SPOSite -Identity https://superhybridcloud-my.sharepoint.com/personal/Raj_superhybridcloud_com

Identity of an OneDrive site will be like below in SharePoint Online. You can construct your OneDrive site collection Url by referring the below

https://superhybridcloud-my.sharepoint.com/ – Tenant Name followed by my.sharepoint.com

/personal/ – it is a personal site collection

/Raj_superhybridcloud_com – User Principal Name of a user like ID@companyname.com, and we need to call it as id_domainname_com

Identity = https://superhybridcloud-my.sharepoint.com/personal/Raj_superhybridcloud_com

In addition, we can view the full details about the one drive site of a user using below command.

Get-SPOSite -Identity https://superhybridcloud-my.sharepoint.com/personal/Raj_superhybridcloud_com | fl

Hope this is informative J

We saw how the moderation works in previous post… here we will see how the email moderation works in a Hybrid Exchange Environment.

Hybrid Exchange environment is a configuration/deployment that provides seamless experience for an Exchange Organization between an On-Premise Exchange Organization and Exchange Online in Office 365. So, 2 Exchange environment are combined to show as a single exchange organization. If you see the below environment, Company superhybirdcloud.com is having an Office 365 Tenant with the name superhybridcloud.onmicrosoft.com and mailboxes are available in both Exchange On-Premise and in Exchange Online with the Hybrid Configuration.

Arbitration Mailbox will be available in both the Exchange environment and based on the sender location, respective arbitration mailbox will process the email moderation and the moderator can be in Exchange On-Premise or Exchange online.

For this topic on how the E-Mail Moderation works in Hybrid Exchange Environment, we will see below 2 scenarios for better understanding.

  1. On-Premise Users sent an email to Moderated DL and Moderator Mailbox is in Exchange Online.
  2. Exchange Online User sent an email to Moderated DL and Moderator Mailbox is in On-Premise Exchange.

On-Premise Users sent an email to Moderated DL and Moderator Mailbox is in Exchange Online.

In this scenario, Arbitration Mailbox in On-Premise Exchange will do the Email Moderation. Below diagram explains the moderations flow when On-Premise Users sent an email to Moderated DL and Moderator Mailbox is in Exchange Online.

  1. On-Premise User send an email to Moderation enabled distribution group
  2. Categorizer identifies the email to be moderated and it will reroute the email to Arbitration Mailbox.
  3. Store drive stores the email in Arbitration Mailbox and send a request to Moderator to approve or reject the email. Email from someguid@superhybridcloud.com arbitration mailbox sent to moderator with approve/reject option.
  4. Moderator mailbox is in Exchange Online and On-Premise Transport server will route the email to Exchange Online to approve/reject the email, and the moderator’s decision will be send back to someguid@superhybridcloud.com arbitration mailbox, which is in On-Premise.
  5. Store Drive component on the Transport Role will mark the Moderators decision on the copy email available in On-Premise Exchange Arbitration Mailbox
  6. Information assistant process the email based on the Moderator decision,

    6.a If the moderator approve the email, then the email will be delivered to the recipients (distribution group members). Members can be in On-Premise Exchange and Exchange Online, On-Premise transport server will resolve the recipient and deliver the email accordingly.

    6.b If the moderator reject the email, then the rejected notification will be sent to the sender.

  7. If moderator did not take any action, then the message will expire and message expiration notification will be sent to the Sender.

Exchange Online User sent an email to Moderated DL and Moderator Mailbox is in On-Premise Exchange

In this scenario, as you guessed… Arbitration Mailbox in Exchange Online will do the Email Moderation. As on date, this is not a working scenario and Microsoft Product Engineering Team working on it.

  1. Exchange Online User send an email to Moderation enabled distribution group. Since the Distribution Group objects along with Moderation details are synced from On-Premise Active Directory to Azure AD, DL moderation enabled details will be available in Exchange Online.
  2. Categorizer identifies the email to be moderated and it will reroute the email to Exchange Online Arbitration Mailbox with the email address someguid@superhybridcloud.onmicrosoft.com
  3. Store drive stores the email in Arbitration Mailbox and send a request to Moderator to approve or reject the email. Exchange Online Arbitration mailbox (someguid@superhybridcloud.onmicrosoft.com) will send an email to On-Premise Exchange moderator with approve/reject option.
  4. Moderator mailbox is in Exchange On-Premise and the moderator’s decision will be send back to arbitration mailbox someguid@superhybridcloud.onmicrosoft.com, which is in Exchange Online.

Directory Based Edge Blocking is a feature in Exchange Online Protection where it will see whether Azure AD is having the recipient address available or not and if it is not available, EOP will drop the email.

Here on step 4, moderator approval or rejection email will be sent to Exchange Online Arbitration Mailbox with email address as someguid@superhybridcloud.onmicrosoft.com and if you see by default, this address will not be available in Azure AD. EOP will drop the email and next steps will not continue.

Microsoft Support Team is aware of this issue and they are working on permanent fix.

As a work around, if the moderator is in Exchange Online for the email sent from On-Premise Exchange and Exchange Online, the email moderation will work without any issues.

Post your comments if any details required.

How the E-Mail Moderation works?

December 15th, 2018 | Posted by admin in Exchange - (0 Comments)

E-Mail Moderation enables you to control messages sent to a group, where a moderator will approve or reject the email to group. E-Mail moderation plays an important role to allow sending email to large distribution group to avoid un wanted emails delivering to large audience.

We need to understand what is arbitration mailbox before looking at how the email moderations works. Exchange installation creates 5 different arbitration mailbox used for sytem purporse, Microsoft Exchange Approval Assistant arbitration mailbox handles the Email moderation.

Below diagram shows how the message moderation works in Exchange On-Premise.

  1. Sender send an email to a Moderation Enabled Distribution Group.
  2. Categorizer identifies the email to be moderated and it will reroute the email to Arbitration Mailbox.
  3. Store drive stores the email in Arbitration Mailbox and send a request to Moderator to approve or reject the email
  4. Moderator will approve/reject the email, and the action will be send to arbitration mailbox
  5. Store Drive component on the Transport Role will mark the Moderators decision on the copy email available in Arbitration Mailbox
  6. Information assistant process the email based on the Moderator decision,

    6.a If the moderator approve the email, then the email will be delivered to the recipients (distribution group members)

    6.b If the moderator reject the email, then a rejected notification will be sent to the sender.

Note: If the moderator didn’t take an action to approve/reject the email, then the email will expire and the expiration notification will sent to the sender.

On the next blog, I will explain how the message moderation works in Hybrid Exchange Environment.

Let us assume that Exchange Hybrid Organization pointed its MX record to Office 365 or Exchange Online Protection, the mail flow works as shown in the below diagram.

In this article, we will see how the inbound and outbound flow works when the email routing configured to route through Exchange Online Protection.

Inbound Mail Flow

MX record point towards Office 365 Tenant -> Exchange Online Protection will receive the email and it will do the Recipient validation using Directory Based Edge Blocking, if the recipient is not available email will be dropped -> Anti-Virus scanning will occur, EOP has 3 AV engines -> Recipient resolution will occur like distribution group expansion -> Transport Rule will be applied, if any marked as SPAM using Transport rule then those emails will be quarantined -> Anti-Spam Protection will occur which includes, content scanning, outlook safe sender validation, URL blocking, bulk mail filtering, international spam filtering – > customer delivery pool and then to On-Premise Server.

Outbound Mail Flow

Office 365 or On-Premise user send an email -> Virus Scanning will occur -> Recipient Resolve -> Transport Rules -> SPAM Protection -> Outbound Delivery Pool -> Recipient MX resolution -> Recipient domain.

If an outbound email identified with high SPAM score, then it will delivered via high-risk delivery pool.

Above are the high level illustration of how the mail flow works in Office 365.

Office 365 Interview Questions and Answers

December 11th, 2018 | Posted by admin in Exchange - (1 Comments)

If you are looking for Office 365 Interview Questions and Answers, we can assist you in clearing your interview with real time Office 365 Interview questions and Answers. Please reach me @ Superhybrid.cloud@yahoo.com to get the document for a considerable fee.


It is prepared in a way that it helps you to gain 100% confidence to attend your Office 365 Administrator Interview and surely you will get selected if you go through all the Q&A.

All the best for your new job .

Sample Screen Capture