Hello @Rupesh Kumar ,
Thanks for reaching out!
When creating an "All Day" event using Outlook UI, the start and end times only specify the date, not the date and time. As per my understanding on this, it is working as per it is designed. Graph API is simply following the Outlook UI and returning results in response. An Allday event runs from midnight this day to midnight next day. Midnight of "2023-01-07T00:00:00" is basically the end of "2023-01-06" or more precisely ("2023-01-06T23:59:59").
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.