Hi @Anant Hiremath ,
Welcome to Q&A forum!
Sorry for the late update. I tested it and didn't encounter the problem you mentioned. According to the error message, it seems to be a permission problem. But this is a common error. There are many reasons for this error, and the specific cause cannot be determined at present. I did a lot of searching and didn't find an effective solution. We recommend that you use jwt to parse the access token to check the permissions. Or, please explain the verification method you use so that I can reproduce it.
Non-official, just for reference.
In addition, you can use the Graph API to get Site Pages:
GET /sites/{site-id}/pages/microsoft.graph.sitePage
This is my test:
Good day!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.