This is expected functionality.
The PowerShell Help documentation included with the Active Roles Management Shell states the following regarding the SearchRoot parameter:
WORKAROUND
Do not use the -Identity parameter if it is necessary to specify a SearchRoot as well. Instead, use one of the other identifying parameters, such as -SamAccountName
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center