Error:
When trying to obtain the calendars for a user it will error out with the following error message:
Unable to retrieve mailbox folder statistics for mailbox $Username. Failure: '$Username' doesn't represent a unique recipient.
Cause:
Currently unknown. I believe it to be an issue with an account having volunteering in the username but I am currently not sure
Work Around:
Have a check for this error message and when it appears ask if they would like to search using the full address instead of the username. For Example: "Admin@admin.com" Compared to "Admin"
Work Around Proposed implementation:
Detect the error -> Ask the user if they would like to use full address -> Function to list all the domains -> User Selects the required domain -> Runs the original function substituting the username for the full address
Error:
When trying to obtain the calendars for a user it will error out with the following error message:
Unable to retrieve mailbox folder statistics for mailbox $Username. Failure: '$Username' doesn't represent a unique recipient.
Cause:
Currently unknown. I believe it to be an issue with an account having volunteering in the username but I am currently not sure
Work Around:
Have a check for this error message and when it appears ask if they would like to search using the full address instead of the username. For Example: "Admin@admin.com" Compared to "Admin"
Work Around Proposed implementation:
Detect the error -> Ask the user if they would like to use full address -> Function to list all the domains -> User Selects the required domain -> Runs the original function substituting the username for the full address