Jump to content

Investigating Notes Folder Archiving in Exchange Online: Difference between revisions

From HEIN+FRICKE
Swapnil.mangalkar@heinfricke.team (talk | contribs)
Blanked the page
Tags: Blanking Visual edit
Swapnil.mangalkar@heinfricke.team (talk | contribs)
No edit summary
Line 1: Line 1:
Investigating Notes Folder Archiving in Exchange Online


---
## Objective
The goal of this article is to investigate why Outlook Notes are being moved to the Online Archive and to verify whether retention policies or archive policies are applied to the Notes folder in Exchange Online.
---
## Background
Outlook Notes are usually not impacted by retention policies or auto-archiving in Exchange Online. However, there were cases where Notes were found in the Online Archive. This article documents the steps and PowerShell commands used to investigate the issue.
---
## Commands Used for Investigation
### 1. Estimate number of Notes in mailbox
```powershell
Search-Mailbox -Identity Kroeger@zippel24.com -SearchQuery 'Kind:notes' -EstimateResultOnly
```
This command estimates the number of Notes in the mailbox without modifying them.
---
### 2. Check mailbox folder statistics
```powershell
Get-MailboxFolderStatistics -Identity Kroeger@zippel24.com | Where-Object {$_.FolderPath -like "*Notes*"}
```
Finds all folders in the mailbox related to Notes.
Example folder path found: /Notizen (localized German folder name for Notes)
---
### 3. Check Notes folder in the Online Archive
```powershell
Get-MailboxFolderStatistics -Archive -Identity "Kroeger@zippel24.com" | Where-Object {$_.FolderPath -like "*Notizen*"}
```
Confirms whether Notes are present in the Online Archive.
---
### 4. Verify mailbox retention policy
```powershell
Get-Mailbox -Identity Kroeger@zippel24.com | Select-Object DisplayName,RetentionPolicy
```
Shows the retention policy assigned to the mailbox.
In this case, the user has the Default MRM Policy.
---
### 5. List all retention tags in the policy
```powershell
Get-RetentionPolicy -Identity "Default MRM Policy" | Select RetentionPolicyTagLinks
```
Shows all retention tags linked to the assigned policy.
---
### 6. Check retention tags applicable to Notes
```powershell
Get-RetentionPolicyTag | Where-Object {$_.Type -eq "Personal" -or $_.Type -eq "All"} | Select Name,Type,AgeLimitForRetention,RetentionAction
```
Checks all retention tags of type Personal or All, including their action and age limit.
---
### 7. Check folder-level retention/archive settings for Notes
```powershell
Get-MailboxFolderStatistics -Identity Kroeger@zippel24.com -FolderScope Notes | Select-Object Name,FolderPath,RetentionPolicy,ArchivePolicy,MessageAgeLimit
```
Confirms whether the Notes folder has any retention or archive policy applied.
**Result:**
```
Name            : Notizen
FolderPath      : /Notizen
RetentionPolicy :
ArchivePolicy  :
MessageAgeLimit :
```
**Interpretation:** No retention or archive policies are applied to the Notes folder.
---
## Findings
- Notes folder is not governed by retention policies in Exchange Online.
- No server-side archive policy is applied to the Notes folder.
- Any Notes movement to the Online Archive is likely caused by client-side Outlook AutoArchive or manual actions.
- Microsoft best practices advise not using Global Admin accounts for everyday tasks, and instead using role-based access with PIM for temporary elevated permissions.
---
## Conclusion
The investigation confirms that Outlook Notes are not automatically archived by Exchange Online policies. If Notes are moving to the Online Archive, it is likely due to local Outlook AutoArchive settings or manual user actions. Administrators should verify client-side settings to prevent unintended archiving.
---
## References
- [Microsoft Docs: Retention Policies in Exchange Online](https://learn.microsoft.com/en-us/microsoft-365/compliance/retention-policies)
- [Microsoft Docs: Mailbox Folder Statistics](https://learn.microsoft.com/en-us/powershell/module/exchange/get-mailboxfolderstatistics)

Revision as of 08:35, 27 November 2025

Investigating Notes Folder Archiving in Exchange Online

---

    1. Objective

The goal of this article is to investigate why Outlook Notes are being moved to the Online Archive and to verify whether retention policies or archive policies are applied to the Notes folder in Exchange Online.

---

    1. Background

Outlook Notes are usually not impacted by retention policies or auto-archiving in Exchange Online. However, there were cases where Notes were found in the Online Archive. This article documents the steps and PowerShell commands used to investigate the issue.

---

    1. Commands Used for Investigation
      1. 1. Estimate number of Notes in mailbox

```powershell Search-Mailbox -Identity Kroeger@zippel24.com -SearchQuery 'Kind:notes' -EstimateResultOnly ``` This command estimates the number of Notes in the mailbox without modifying them.

---

      1. 2. Check mailbox folder statistics

```powershell Get-MailboxFolderStatistics -Identity Kroeger@zippel24.com | Where-Object {$_.FolderPath -like "*Notes*"} ``` Finds all folders in the mailbox related to Notes. Example folder path found: /Notizen (localized German folder name for Notes)

---

      1. 3. Check Notes folder in the Online Archive

```powershell Get-MailboxFolderStatistics -Archive -Identity "Kroeger@zippel24.com" | Where-Object {$_.FolderPath -like "*Notizen*"} ``` Confirms whether Notes are present in the Online Archive.

---

      1. 4. Verify mailbox retention policy

```powershell Get-Mailbox -Identity Kroeger@zippel24.com | Select-Object DisplayName,RetentionPolicy ``` Shows the retention policy assigned to the mailbox. In this case, the user has the Default MRM Policy.

---

      1. 5. List all retention tags in the policy

```powershell Get-RetentionPolicy -Identity "Default MRM Policy" | Select RetentionPolicyTagLinks ``` Shows all retention tags linked to the assigned policy.

---

      1. 6. Check retention tags applicable to Notes

```powershell Get-RetentionPolicyTag | Where-Object {$_.Type -eq "Personal" -or $_.Type -eq "All"} | Select Name,Type,AgeLimitForRetention,RetentionAction ``` Checks all retention tags of type Personal or All, including their action and age limit.

---

      1. 7. Check folder-level retention/archive settings for Notes

```powershell Get-MailboxFolderStatistics -Identity Kroeger@zippel24.com -FolderScope Notes | Select-Object Name,FolderPath,RetentionPolicy,ArchivePolicy,MessageAgeLimit ``` Confirms whether the Notes folder has any retention or archive policy applied.

    • Result:**

``` Name  : Notizen FolderPath  : /Notizen RetentionPolicy : ArchivePolicy  : MessageAgeLimit : ```

    • Interpretation:** No retention or archive policies are applied to the Notes folder.

---

    1. Findings

- Notes folder is not governed by retention policies in Exchange Online. - No server-side archive policy is applied to the Notes folder. - Any Notes movement to the Online Archive is likely caused by client-side Outlook AutoArchive or manual actions. - Microsoft best practices advise not using Global Admin accounts for everyday tasks, and instead using role-based access with PIM for temporary elevated permissions.

---

    1. Conclusion

The investigation confirms that Outlook Notes are not automatically archived by Exchange Online policies. If Notes are moving to the Online Archive, it is likely due to local Outlook AutoArchive settings or manual user actions. Administrators should verify client-side settings to prevent unintended archiving.

---

    1. References

- [Microsoft Docs: Retention Policies in Exchange Online](https://learn.microsoft.com/en-us/microsoft-365/compliance/retention-policies) - [Microsoft Docs: Mailbox Folder Statistics](https://learn.microsoft.com/en-us/powershell/module/exchange/get-mailboxfolderstatistics)