Hi sravankumar-2945,
Hope you are doing well,
We have seen the similar issue Graph API not working - Get Staff Members for few of our users yesterday, Microsoft Product engineering team has identified the issue and fixed. Hence you are not seeing the issue now.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".