What API permissions does Azure AD client app needs to get token for calling Graph search for microsoft.graph.driveItem ? https://learn.microsoft.com/en-us/graph/search-concept-files
According to the documentation I only need the following permissions:
Sites.Read.All, Sites.ReadWrite.All
But, when i use token returned , it doesnt work