Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: There is no such object on the server

Pavan Patil 21 Reputation points
2022-11-02T13:41:07.043+00:00

Problem while executing action 'CreateUser'. There is no such object on the server.

getting below error in power automate please assist

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: There is no such object on the server.
at Microsoft.Flow.RPA.Desktop.Modules.ActiveDirectory.Actions.ActiveDirectoryBase.HandleException(Exception ex)
at Microsoft.Flow.RPA.Desktop.Modules.ActiveDirectory.Actions.CreateUserAction.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary2 inputArguments, Dictionary2 outputArguments)

Any suggestion will greatly appreciated

Thanks,
Pavan

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
883 questions
Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
825 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,886 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. David Eriksson 1 Reputation point
    2022-12-28T09:17:47.59+00:00

    I just had and solved this problem, the issue for me was that the username was to long for the "User Logon name (tre-Windows 2000)" field which is 20 characters.
    The "CreateUser" function unfortonatly uses one field "Username" for both the modern "User logon name" and the pre 2000 one.

    Hope this helps.

    0 comments No comments