Hi Pankaj,
Bit of a long shot maybe, but have you looked at the MSTICPy module?
That python module has been used for years to integrate Microsoft Sentinel with log analytics and jupyter notebooks.
Try using chatgpt or github codespaces with copilot to try something like:
"give me a python script example using MSTICPy connecting to an azure log analytics workspace."
https://learn.microsoft.com/en-us/azure/sentinel/notebook-get-started