I have an App Registered in the Azure Active Directory with api permissions
ExternalItem.read.All - Delegate (Graph)
sites.read.All - Application (Graph)
I am using this app to get data from the SharePoint via graph search API.
It was working fine until recently I am facing the below error.
"message": "Access to OneDriveFile in Graph API requires the following permissions: Files.Read.All, Sites.Read.All, Files.ReadWrite.All, Sites.ReadWrite.All. However, the application only has the following permissions granted: ExternalItem.Read.All, User.Read",
Any idea regarding the same?