Closed datr93 closed 4 years ago
The error is from the service side. This is actually a common case. e.g. There are three parameters defined in http request body as optional. But actually, you need to provide either one of them. There is nothing we could do about this case.
Please let me if you have further questions.@datr93
@dolauli The server accepts no parameters. As you can see here. Does this the generated powershell will not support this case?
Your request body is not correct. First, "name" is in URL not in the requestbody. Second, if none of the optional parameters are provided, the request body will not contains "properties". And it is as below. { "location": "canadaeast" }
Solution has been provided to David through email.
Description
Cmdlet errors requiring at least one optional property to be passed.
Steps to reproduce
New-AzWvdWorkspace : ActivityId: dba6f10b-ea30-44bd-8769-74775f2844fd Error: Workspace properties are missing At line:1 char:1
Environment data
Module version
Azure Profile
Debug output
Error output