unable to delete a trusted host using the SDK

Document ID : KB000117571
Last Modified Date : 15/10/2018
Show Technical Document Details
When trying to remove a trusted host that was previously registered using smreghost, we are receiving errors in the SDK.
Single Sign On version: any
When using the policy management API in the SDK, the user which you connect with must be defined as a "legacy" administrator, not an XPS administrator.Ā  In the example here, a trusted host is a "system" object so the legacy administrator needs to have "Manage system and domain object" permissions to succeed.