Get Site collection details - SharePoint APP only Principal

Highlighted
Occasional Contributor

I am trying to get the list SharePoint apps  that are registered from - [Site Collection URL]/_layouts/15/AppRegNew.aspx page and their sitecollections

I am able to retrieve the following app details only (App name, app id, app secret and expiration period) using MSOnline Powershell command Get-MsolServicePrincipal 

 

Is there a way to get the Site collection url in which the APP Is registered ? 

0 Replies