Exchange Server 2013 Troubleshooting: Unable to access Resource Mailbox using ECP Encounter “500 Unexpected Error”
Issue:
Unable to access Resource Mailbox using ECP. Encounter “500 Unexpected Error”
Symptom:
Accessing the resource tab under settings of resource mailbox gives errors
Log Name: Application
Source: MSExchange Control Panel
Date: 12/22/2016 3:45:20 PM
Event ID: 5
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: cas.contoso.com
Description:
Current user: '"contoso.com/Accounts/user1" on behalf of "contoso.com/Accounts/Generic/ConferenceRoom"'
Web service call 'https:// cas.contoso.com:444/ecp/DDI/DDIService.svc/GetList?schema=MobileDeviceService&msExchEcpCanary=BpaxpOQmuEm9OmaRC7FIOj-WkVp8INQIZ5ipGsuiueENwI5OBPLT0_OtO4gfDD1N1SG3ksZ6WEE.(https://localhost/ecp/conferenceroom@contoso.com/DDI/DDIService.svc/GetList?schema=MobileDeviceService&msExchEcpCanary=BpaxpOQmuEm9OmaRC7FIOj-WkVp8INQIZ5ipGsuiueENwI5OBPLT0_OtO4gfDD1N1SG3ksZ6WEE.)' failed with the following error:
Microsoft.Exchange.Configuration.Authorization.CmdletAccessDeniedException: You don't have permission to open this page. If you're a new user or were recently assigned credentials, please wait 15 minutes and try again.
Cause:
Stale entries of disconnected mailbox causing invalid search filter.
Resolution:
- Take backup of calendar permissions : get-calendarprocessing conferenceroom |fl >c:\temp\backup.txt
- Remove the accounts under bookinpolicy,reuqestinpolicy and requestoutofpolicy. Probably one of the fields has corrupted account entry.
- Set-calendarprocessing conferenceroom -BookInPolicy $null -RequestInPolicy $null – RequestOutOfPolicy $null
- Validate if you can access the conference room without the error
- Provide the permissions under bookinpolicy,RequestInPolicy and RequestOutOfPolicy to conferenceroom from backup.txt
References:
https://technet.microsoft.com/en-us/library/dd335046(v=exchg.150).aspx