gromox-dscli — AutoDiscover command line utility


PASS=secret gromox-dscli [-H https://host/path] [-h hostonly] [-u emailaddr]


This utility facilitates sending/receiving AutoDiscover request/responses to/from a server for testing.


-H https://host/Autodiscover/Autodiscover.xml
The full URL for making the request. Useful when the request URI is non-standard.
Default: https://localhost/Autodiscover/Autodiscover.xml
Username to send along in the request.
Default: (none)
-h host
The hostname to use for making the request. From this, the full URL is constructed as “https://host/Autodiscover/Autodiscover.xml”. There is no implied DNS SRV lookup based no the email address, so unless localhost is indeed your desired target, you need to specify -h/-H.
Default: derive from -e argument, otherwise localhost
-x /o=1234578/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=username
LegacyDN field to send along in the request.
Default: (none)

Normative references

  • MS-OXDISCO: Autodiscover HTTP Service Protocol
  • MS-OXDSCLI: Autodiscover Publishing and Lookup Protocol

See also