Microsoft GraphAPI Read.Mail Specific Folder Error

Hello Everyone,

I am trying to access messages inside a specific folder using Microsoft GraphAPI. When I set the value of the mailfolders in my EndPoint as Inbox, I can read, but when I name another specific folder, I get an Error Invalid Id Malformed error. If anyone has encountered this problem before, can you help?

You can find the screenshots below.

Thank you.

Inbox EndPoint:

Success Inbox Folder Response:


My specific folder:


Specific folder endpoint:

Specific Folder Error response:


Hi @omer.ozturk

I think you have to pass folder id instead of folder name in endpoint.


1 Like

Hi @brij.sharma,

Yes you are right, i wrote the folder name instead of folder id.

Now it is allright. Thank you for your help.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.