I make the user, but it seems that Exchange can't find it :/
[PS] C:\Program Files\Microsoft\Exchange Server\V15\Scripts>.\new-TestCasConnectivityUser.ps1
Please enter a temporary secure password for creating test users. For security purposes, the password will be changed regularly and automatically by the system.
Enter password: ********
Create test user on: exchange01.abc.se
Click CTRL+Break to quit or click Enter to continue.:
UserPrincipalName: extest_b89d032ca51c4@abc.se
WARNING: The command completed successfully but no settings of 'abc.se/Users/extest_b89d032ca51c4' have been modified.
[PS] C:\Program Files\Microsoft\Exchange Server\V15\Scripts>Test-OutlookWebServices | fl
Unable to find the client accesss monitoring user. Please run C:\Program Files\Microsoft\Exchange Server\V15\Scripts\New-TestCasConnectivityUser.ps1. Exception:
Microsoft.Exchange.Monitoring.CasHealthInstructResetCredentialsException: Sign in with Domain Administrator permissions and run the new-TestCASConnectivityUser.ps1 script to create the automated task user.
at Microsoft.Exchange.Monitoring.CommonTestTasks.GetDefaultTestAccount(ClientAccessContext context)
at Microsoft.Exchange.Monitoring.TestWebServicesTaskBase.GetMonitoringAccount()
+ CategoryInfo : InvalidData: (:) [Test-OutlookWebServices], TestWebServicesTaskException
+ FullyQualifiedErrorId : 462B91E2,Microsoft.Exchange.Monitoring.TestOutlookWebServicesTask
+ PSComputerName : exchange01.abc.se
(Exchange 2013 CU1 on Win Server 2012)