GetUserAvailability: Configuration Not Found in AD
Resolve address space configuration errors for free/busy functionality.
Error Message
PowerShell Error
Configuration information for forest/domain xxx.com could not be found in Active Directory
Full exception: Microsoft.Exchange.InfoWorker.Common.Availability.AddressSpaceNotFoundException
What's Happening
Root Cause
Missing Address Space Configuration
This error occurs when Active Directory lacks the necessary address space configuration for the specified domain. Exchange uses address spaces to determine how to route free/busy availability requests between environments.
What This Means
When a user requests free/busy information for someone in another domain, Exchange looks up the address space configuration to find where to route the request. If no address space is configured for that domain, the request fails with this error.
Affected Scenarios
- • Hybrid Exchange/Office 365 environments
- • Cross-forest free/busy queries
- • Coexistence between Google and Office 365
- • Multi-tenant configurations
Solution
Configure Address Space
The solution involves configuring the AvailabilityAddressSpace in Exchange to tell it how to route free/busy requests for the affected domain.
PowerShell Command
Add-AvailabilityAddressSpace ` -ForestName domain.com ` -AccessMethod OrgWideFreebusy ` -Credentials (Get-Credential) ` -TargetAutodiscoverEpr "https://autodiscover.domain.com/autodiscover/autodiscover.xml"
ForestName: The domain for which you want to enable free/busy lookups
AccessMethod: The type of access (OrgWideFreebusy, PerUserFreebusy, etc.)
TargetAutodiscoverEpr: The autodiscover endpoint for the target domain
Refresh Address List
Verification
After configuring the address space, verify the configuration:
Get-AvailabilityAddressSpace | Format-List
This should show the newly configured address space for the domain.