-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
Azure PS TeamGeneratorRelated to cmdlet generatorRelated to cmdlet generatorfeature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.
Milestone
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.
Metadata
Metadata
Assignees
Labels
Azure PS TeamGeneratorRelated to cmdlet generatorRelated to cmdlet generatorfeature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.