Hello @Ramana Reddy Chamakura ,
Thank you for contacting Microsoft Support.
I have successfully implemented the example from the documentation using Postman and received the response. However, you mentioned that you are using application permissions, while the documentation's example can only be implemented with delegated permissions. Please replace '/me' with '/users/{user-id}' and refer to the screenshot below.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".