Hello Diksha Yadav,
Thank you for reaching out to this Q&A Forum.
The necessary permission for accessing this endpoint is MailboxSettings.Read. After conducting tests with various users on my end, I have consistently encountered the same error. Currently, I am only able to access my own user information. It appears that there might be an issue associated with this particular endpoint. As it falls within the v1.0 version, I would recommend you try adding MailboxSettings.Read first and if that doesn't work, please open a support ticket.
Hope that helps.
Thanks.|
--please don't forget to upvote
and Accept as answer
if the reply is helpful—