I just managed to get it working.
I found that if I use Bookings.ReadWrite.All
application permission it throws a 401 error, but with Bookings.Read.All
application permission it works fine, which seems to be a bug. I suggest you open a support ticket to report the issue.
Before:
After:
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.