In SPO, how to get the App Display Name and App Identifier details which are displayed in _layouts/15/appprincipals.aspx?Scope=Web
page using PowerShell?
Get-PnPApp
command displays the app details installed from app store but doesn't display the app details from _layouts/15/appprincipals.aspx?Scope=Web
page
I am not able to find any PowerShell command to get the ClientID/App Identifier details from _layouts/15/appprincipals.aspx?Scope=Web
page.
Update 26-Jun-2023:
Based on Vlaad Karassev recommendation, tried using Get-PnpAzureACSPrincipal command but getting the below error:
What am i doing wrong?
Connect-PnPOnline -Url "SiteURL" -TenantAdminUrl "TenantAdminSiteURL" -UseWebLogin
Get-PnPAzureACSPrincipal -scope Site -IncludeSubsites