Share via

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

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Access | Development
Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

0 comments No comments

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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.