Hi @Dariusz Roszak ,
According to my research and testing, we need to request one of the following permissions in this application: Sites.Read.All, Sites.ReadWrite.All, and the Permission type is ** Application **:
More information for reference:
Working with SharePoint sites in Microsoft Graph
Get a site resource
Hope it can help you. Thanks for your understanding.
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.