## Loại trừ User khỏi Dynamic Distribution List bằng CustomAttribute15
### 1. Kết nối Exchange Online
```powershell
Install-Module ExchangeOnlineManagement -Scope CurrentUser
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline
```
A. Xoa NamesRange
1. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.
2. Click Insert > Module, and paste the following code in the Module Window.
Window PowerShell là ứng dụng có sẵn trên các hệ điều hành Windows. Để sử dụng PowerShell kết nối với tài khoản Microsoft 365 ta làm các bước như sau:
Start / Window PowerShell . Lưu ý bạn phải mở ứng dụng này bằng quyền administrator (chuột phải và chọn Run as administrator )
Another way to make sure that you get a fresh copy of the OAB is by renaming the oab-files to .old when Outlook is closed.
They are stored in the following location:
C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Outlook\C:\Users\%username%\AppData\Local\Microsoft\Outlook
You can paste the path mentioned above in the Address Bar of Explorer to quickly open the location.