Hello Community,
I wrote some scripts to put objects, firewall rules, authentication servers and many more settings with API Calls to the XG v18 Firewalls. All of this works as expected. The only thing is that I can’t create Admin-Users for the firewalls, that uses Active Directory Authentication. My firewall has a AD-Connection to die Domain Controllers and I created a AD-User-Group on the firewall ("AdminUsers"). Now when I do the xml-Request I get only the error message: Operation could not be performed on Entity.
This is my Request:
<Request>
<Login>
<Username>admin</Username>
<Password passwordform='encrypt'>#encr_pass#</Password>
</Login>
<Set operation='add'>
<User>
<Username>user.name@dom.local</Username>
<Name>user.name@dom.local</Name>
<UserType>Administrator</UserType>
<EmailList>
<EmailID> user.name@dom.de</EmailID>
</EmailList>
<Group>AdminUsers</Group>
<SurfingQuotaPolicy>Unlimited Internet Access</SurfingQuotaPolicy>
<AccessTimePolicy>Allowed all the time</AccessTimePolicy>
<SSLVPNPolicy>No Policy Applied</SSLVPNPolicy>
<ClientlessPolicy>No Policy Applied</ClientlessPolicy>
<ScheduleForApplianceAccess>All The Time</ScheduleForApplianceAccess>
<LoginRestrictionForAppliance>AnyNode</LoginRestrictionForAppliance>
<Profile>Administrator</Profile>
</User>
</Set>
</Request>
This is the response from the firewall:
<?xml version="1.0" encoding="UTF-8"?>
<Response APIVersion="1800.1" IPS_CAT_VER="1">
<Login>
<status>Authentication Successful</status>
</Login>
<User transactionid="">
<Status code="500">Operation could not be performed on Entity.</Status>
</User>
</Response>
Has anybody an idea what is wrong with my request?
Thanks,
Ben
This thread was automatically locked due to age.