Closed SwathiDhanwada-MSFT closed 5 years ago
Set-AzDiagnosticSetting -ResourceId "/subscriptions/
As you can see we are not using the workspace ID but rather the resource id of the workspace. Besides the documentation not being explicit on the parameter, the parameter itself is not well named as well.
Description
Set-AzDiagnosticSetting cmdlet execution fails with error" Null/Empty, Code: Null, Status code:BadRequest, Reason phrase: Bad Request"
Steps to reproduce
Environment data
Module versions
Debug output
Error output