Skip to content

While creating a user account from time to time getting this. It says, cannot find an COM object to set password. #151

@kassainov

Description

@kassainov

Traceback (most recent call last):
File "pyad\aduser.py", line 22, in set_password
File "<COMObject >", line 2, in SetPassword
pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2147016672), None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "ad_connection.py", line 111, in create
File "pyad\aduser.py", line 16, in create
File "pyad\adcontainer.py", line 43, in create_user
File "pyad\aduser.py", line 25, in set_password
File "pyad\pyadutils.py", line 58, in pass_up_com_exception
pyad.pyadexceptions.InvalidObjectException: The requested object does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions