Sometimes you will encounter this error upon installation of Lync Server 2013 Standard Edition and the Central Management Store (CMS) is hosted on other sites. And basically you used a different user to install the Standard Edition server which don’t have access or right into the XDS database.
- Open the xds database
- Add the user used to download the topology. Assign as db_owner.
- Log off and login again from Lync SE and download of topology should be successful at this time.