Pages

Monday, August 10, 2020

Xóa Mailbox database bằng tay

Dùng khi không thể xóa Mailbox database trên ECP.

1. Kiểm tra trước khi xóa.

Get-MailboxRestoreRequest
Get-MoveRequest

Get-Mailbox -Database DBName1 -monitoring Get-Mailbox -Database DBName1 -Auditlong Get-Mailbox -Database DBName1 -Archive
- Chuyển All mailbox Dabase qua Mailbox khác

Get-Mailbox -Database “Source Database Name” -Arbitration | New-MoveRequest – TargetDatabase “Target Database Name”

Get-Mailbox -Database “Source Database Name” -Archive |

New-MoveRequest -TargetDatabase “Target Database Name”


- Xóa mailbox system Get-Mailbox -Database DBName1 -Archive | Disable-Mailbox - Xem tình trạng
Get-MoveRequestStatistics -MoveRequestQueue “Target Database Name”

Get-MoveRequest | where {$_.status -eq “Completed”} | Remove-MoveRequest


2. Mở ADSIedit và theo đường dẫn như bên dưới.

Configuration > Services > Microsoft Exchange > ExchOrganization > Mailbox Replication

Lưu ý: Kiểm tra chính xác Database cần xóa

[image%255B3%255D.png]

Gỡ bỏ Exchange 2016 bằng command


Mount file ISO Exchange 2016 và gõ lệnh như bên dưới.

X:\ Setup.exe /mode:Uninstall /IAcceptExchangeServerLicenseTerms

X: là ổ đĩa đã mount file ISO

Friday, July 24, 2020

JET_errFileAccessDenied, Cannot access file, the file is locked or in use, Cannot see Active Directory, hr=0x80004005, ec=-501

When the Exchange mailbox database won't mount, you can't access the mailbox files, send or receive emails on Outlook or checking mailbox logs, etc. Don’t worry if you are unable to access the Exchange Server database. On this page, EaseUS software will analyze the causes of why the Exchange Server mailbox database fails to mount and offer reliable solutions to resolve this issue without losing database.

Causes of Exchange mailbox not mounting:


Monday, July 20, 2020

Exchange 2013/2016: HTTP redirection issues with ECP virtual directory – /owa/ecp


Exchange 2013: HTTP redirection issues with ECP virtual directory – /owa/ecp
When you try to access ECP on Exchange 2013, browser redirects to /owa/ecp and shows “Bad Request”
You will see this if HTTP redirection is applied on Default website and those settings got replicated to all Virtual directories underneath.
Let’s look at How to enable HTTP redirect on Exchange 2013.
To enable HTTP to HTTPS redirection on exchange 2013, on IIS VDir highlight Default website and click HTTP Redirect:

Sunday, July 12, 2020

Exchange 2016 Certificate Problem

Khi gặp lỗi như bên dưới, tiến hành kiểm tra Evenlog sẽ thấy lỗi mô tả như bên dưới.

A special Rpc error occurs on server S-XXXXXX: Could not grant Network Service access to the certificate with
thumbprint xxxxxxxxxxxxxxxxxxxxxxxxxxxxx because a cryptographic exception was thrown.
    + CategoryInfo          : NotSpecified: (:) [Enable-ExchangeCertificate], InvalidOperationException
    + FullyQualifiedErrorId : [Server=S-XXXXXX,RequestId=0ce68699-de3e-4ac4-9c7a-094b538d302d,TimeStamp=01/06/2020 13:
   59:03] [FailureCategory=Cmdlet-InvalidOperationException] D9EA479C,Microsoft.Exchange.Management.SystemConfigurati
  onTasks.EnableExchangeCertificate
    + PSComputerName        : s-XXXXXX.xxxxxxxx.co.uk

1. Gỡ bỏ hoặc Disable Antivirus


2. Tiến hành import ssl lại, tham khảo như link bên dưới.


3. Trường hợp khi import ssl mới, vào Ecp, Exchange Console bị lỗi, tham khảo link bên dưới để fix

An error occurred while using SSL configuration for endpoint 0.0.0.0:444 or Microsoft Exchange 2013/ 2016/ 2019 shows blank ECP & OWA after changes to SSL certificates

An error occurred while using SSL configuration for endpoint 0.0.0.0:444

The other day, one of my Exchange 2016 lab servers stopped working. Well, I say "stopped working" but most things seemed to be working except for the Exchange Management Shell where I would get the following error when opening it:
OWA and ECP were also not working: I would simply get a blank page after signing in...

Thursday, July 9, 2020

Cấu hình IIS SMTP Relay qua Office 365


Cấu hình IIS SMTP Relay qua Office 365 

Yêu cầu phải có IP WAN Static và cấu hình Router như bên dưới.
o   Cấu hình trên Router để Server SMTP chỉ đi internet trên IP WAN này
o   Allow port 25 chiều out
Trên Office 365:
-          Allow IP WAN to O365 phần Connector
-          Allow IP WAN filter phần Connection filter

1.      Vào Office 365 / Exchange admin center
Mail flow / Connector
Tạo connect cho phép IP WAN gửi vào O365

Wednesday, July 8, 2020

How do I use Office365 for SMTP?

How to set up a multifunction device or application to send email using Office 365

This article explains how you can send email from devices and business applications when all of your mailboxes are in Office 365. For example:
  • You have a scanner, and you want to email scanned documents to yourself or someone else.
  • You have a line-of-business (LOB) application that manages appointments, and you want to email reminders to clients of their appointment time.

Saturday, June 20, 2020

Check if activation is blocked on that server for the DB

Check if activation is blocked on that server for the DB. The error indicates that
Get-MailboxDatabaseCopyStatus  MBX-DB1\EMAIL2 |FL activationsuspended
or for the entire server
Get-MailboxServer  EMAIL2 | FL DatabaseCopyAutoActivationPolicy
If you want to remove that block:
Get-MailboxDatabaseCopyStatus  MBX-DB1\EMAIL2 |  Resume-MailboxDatabaseCopy

Thursday, June 18, 2020

Database Unable to Mount while Restoring the Microsoft Exchange Database

Database Unable to Mount while Restoring the Microsoft Exchange Database

Symptom
When I restore a Microsoft Exchange database, the database is unable to mount. The required logs are missing or the transaction logs are not contiguous. There are event errors such as 454, 455, and 2006 in the event log.