Yajvendra I think I have come across a bug. Not a critical one though.
Run this command for a mailbox you know is in the delicense state:
$ttt = get-pendingdelicenseUser mailto:email address removed for privacy reasons
$ttt will return a result.
Now Run this command using the same mailbox
$ttt = get-pendingdelicenseUser mailto:email address removed for privacy reasons -ErrorAction SilentlyContinue
$ttt will not return a result.
If you run get-pendingdelicenseUser with -ErrorAction Break and -Verbose switches, it looks like the developer tries to do something fancy with assignment of invocation parameters. The ErrorAction parameter ends up getting passed to a Invoke-WebRequest call and errors out.