The command spo list webhook get has an option id which is marked as optional in the docs. Also in the command logic the id is an optional property.
This should be a required property because the code assumes that it is always filled in.
What has to be adjusted?
- Make the option required in the docs
- Remove ID option from telemetry
- Make the option required in our code
Sort of same problem for spo list webhook set. In the docs this option is marked as optional while it should be required. The code is fine. For this command we can also specify that the expirationDateTime cannot be more than 6 months in the future.
The command spo list webhook get has an option
idwhich is marked as optional in the docs. Also in the command logic theidis an optional property.This should be a required property because the code assumes that it is always filled in.
What has to be adjusted?
Sort of same problem for
spo list webhook set. In the docs this option is marked as optional while it should be required. The code is fine. For this command we can also specify that theexpirationDateTimecannot be more than 6 months in the future.