When deleting an Active Directory group using SPML, the following error may be observed:
<deleteResponse status="failure" xmlns="urn:oasis:names:tc:SPML:2:0"><error>unsupportedOperation</error><errorMessage>Exception from HRESULT: 0x80041266</errorMessage></deleteResponse>
while using the following request:
<deleteRequest xmlns='urn:oasis:names:tc:SPML:2:0' >
This is a permissions related issue, the account being used with SPML lacks the appropriate permissions to delete groups.
Ensure the following Access Template permissions are set for the account being used with SPML:
- Delete tree Apply To Group;
- Delete Apply To Group;