Open
Description
Description of the new feature
Would love to see the option of -WorkspaceKey in addition to -WorkspaceId for Log Analytics cmdlets
Proposed implementation details (optional)
Log analytics cmdlets appear to rely on a user to log in with Connect-AzAccount. However, in situations where you'd like to automate with script, it would be very helpful if these cmdlets would take the WorkspaceId/WorkspaceKey combination and not requiring a user to log in when that combination of args is given.
For example, Invoke-AzOperationalInsightsQuery would be enabled to take -WorkspaceId xxxx and a new -WorkspaceKey xxxx argument. When both of those are present, it is not necessary to use Connect-AzAccount to authenticate.