Is there a way to get the list of Permissions granted for an App in Apps registered via Appregnew.aspx and look-up'ed in appinv.aspx? Ask is one App Id/ClientId will have permissions to more than one document library/Apps. In those cases, how to know what document libraries are granted permission in a single app(One client id). Any powershell script to retrieve permission manifest information with input as Client/App Id.
Note: This is against SharePoint Online