Get-ADOPermission -Branch is in it's own parameter set, and should be of the -RepositoryID parameter set.