Hi @Andry Haretonuyk,
Welcome to the Microsoft Q&A platform!
Based on your description, you are experiencing a permissions issue when trying to change the "Authentication" properties in the Exchange Control Panel (ECP). The error message "Access is denied. HResult = -2147024891" usually means that the required permissions for the action you are trying to perform are not in place.
Here are several things you can check and try:
- Make sure the Exchange Trusted Subsystem group has the appropriate permissions. This group should have Full Control permissions to the Default Web Site in IIS:
- Open IIS Manager.
- Navigate to Sites > Default Web Site.
- Right-click the Default Web Site and select Permissions.
- Add the Exchange Trusted Subsystem and grant Full Control permissions.
- Restart IIS and the Exchange server.
- Check the identity of the application pool used by the Exchange virtual directory. It should run under "MSExchangeECPAppPooL".
- Make sure the directory permissions are set correctly:
- Navigate to C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess.
- Right-click "ecp" and select "Properties".
- Go to the Security tab and make sure the Exchange Trusted Subsystems group has full control over this directory.
- Since you mentioned that recreating the virtual directory in PowerShell fixes the issue without errors, you might consider this as a workaround if the above steps don't resolve the issue.
- Check Event Viewer for any related events that might provide more insight into the issue.
- Make sure there are no DNS misconfigurations that could be causing the issue.
These steps should help you diagnose and potentially resolve the permissions issue you're facing. If the issue persists, it might be worth considering a deeper investigation into the migration path and the state of the Active Directory schema, especially if this is a new Exchange server coexisting with an older version.
Please feel free to contact me for any updates. And if this helps, don't forget to mark it as an answer.
Best,
Jake Zhang