Our team recently set up an Active Directory source and set up roles with membership criteria - granting AD groups through account creation on the source.
However, we ran into the following error for all identities granted the role:
Exception occurred while executing the RPCRequest: Errors returned from IQService. Error occurred while setting password for the account. Exception has been thrown by the target of an invocation.One or more input parameters are invalid . HRESULT:[0x80070005], Error occurred while setting password for the account. Exception has been thrown by the target of an invocation.One or more input parameters are invalid . HRESULT:[0x80070005]
Logs from IQService on the Active Directory server:
Based on the returned MS code see the following Error code 0x80070005 means Access denied and it usually occurs because of lack of permissions. I would verify that the service account has the correct permissions applied to it.
In the services control panel, is IQ service running as “local system” or is it running as your service account? I found that you’ll need to run it as the service account for administrative actions like this to happen.
Can you share the account request and also is AD account getting created or no? I remember seeing this error in the past and I suspect that this is not related to password. I would suggest to review the account request.
From experience, I would say do not rely on the error. I mean don’t think that issue is with Password only. It can be other attribute as well, for example UPN. Without UPN (missing value or uniqueness) you cannot create account in AD.
Some attribute is missing or failing.
Check if account is created or not, though it gives error (I guess it is created partially, I experienced it many times)
See the provisioning activity in IDN, take that data. Login to IQ service server, create PowerShell script to create AD account using the data from IDN. Run this PowerShell script using service account used in AD Source, you will get exact error.
We also got the same error and the issue which was identified was that the password of admin user was expired. We updated the password and it started working again.