Hi @yusvanth Subramanian,
Thanks for reaching out to Microsoft!
As mentioned in the documentation,
The following table specifies the properties that can be updated.
The request body must include either expirationDateTime or notificationUrl for updating subscription.
Since it works fine with curl or postman, we suggest you approach GitHub repository for the Java SDK. This will bring it to the attention of the maintainers who can investigate and potentially fix the issue.
As a temporary solution, ensure that both expirationDateTime
and notificationUrl
are included in your patch requests.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.