Skip to content

[Insights] Need example of properly formed WorkspaceId #4465

Closed
@markcowl

Description

@markcowl

From the gallery: https://www.powershellgallery.com/packages/AzureRM.Insights/3.2.1

I'm trying to use Set-AzureRmDiagnosticSetting  with the workspaceid parameter (which I got from the gui and is of the form "185*****-e8c2-49*7-d0ab410" but I get the error: 

Property id '************************************'' at path 'properties.workspaceId' is invalid. Expect fully 
qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'.

But I'm not sure where the relevant name space it here?

Please respond to the issue, and please add an example in the markdown file to show a properly formed WorkspaceId

Metadata

Metadata

Labels

MonitorService AttentionThis issue is responsible by Azure service team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions