SFDX Permission set assign command failing in latest version 7.84

In earlier versions < 7.84.2
sfdx force:user:permset:assign command was working fine, but in latest version it is throwing error Permission set "U" not found in target org. Do you need to push source?

Does anybody faced the similar issue with latest version? and know what would be the possible root cause for it.

Thanks in advance.

Answer

When you compare the last release v50 with the older, It looks like you have to add double quote around usernames now

V48enter image description here

V50 enter image description here

UPDATE : a case has been logged https://github.com/forcedotcom/cli/issues/802 and the team ask to use sfdx plugins:install user until they release a patch

Attribution
Source : Link , Question Author : Amit , Answer Author : Badbaxx

Leave a Comment