Before adding a user to a group I check if the user is already a member of the said SharePoint group using the Plumsail action "Is User Member of SharePoint Group". This sometimes works without issues, and in other runs it fails responding with an 400. The error is the following:
"message": "Can't resolve the username: (...)"
After having this issue I encapsulated this action with an Until Loop having a delay of 30 seconds between each execution. If it does not work in the first run it is able to run it between the 2nd to 4th run and able to add all the users. This of course consumes more actions and takes longer than necessary, which is undesired.
Could you please help me to understand this behavior and help me address it? Best regards.