Hi @abhishek appu , to access the Graph API you'll need to make sure you have the proper permissions. You'll need all the Delegated and Application permissions included here. Please let me know if you have any questions and I can help you further.
If this answer helped you please mark it as "Verified" so other users can reference it.
Thank you,
James