I'm pulling distinguished names from a AD group and then looping through "get user info" to create a data table.
The loop works fine until it hits a distinguished name that has an escaped character in it (example CN=Jon Doe\, II,OU=...) at which point it errors out being unable to find the directory object.
I was able to validate it was the "," in the CN causing the problem by renaming a test user. At out scale, it is not practical to remove special characters from all usernames to make the automation work.
Does anyone have any ideas on how I can pass a distinguished name containing special characters to other power automate modules (get user info, is just the first or several that will run off the distinguished names on my list)?
A generalized solution that could handle all LDAP special characters would be preferred.
Thanks,