Get-AzAutomationAccount should include the resource Id in the results
Get-AzAutomationAccount doesn't currently return the resource id as of version 1.4.0. It should! :-) Should be an easy update.
Currently it returns these properties:
Thanks for the feedback. We will get this reviewed internally and share an update.