question

DhilipanR-5584 avatar image
0 Votes"
DhilipanR-5584 asked ·

Export application list from Enterprise applications with SSO type

Am trying to List all Enterprise Applications configured for Single Sign-On.

Tried the command Get-AzureADServicePrincipal -All $true with below details in tag but didnt get all the applications.

"WindowsAzureActiveDirectoryGalleryApplicationPrimaryV1"
"WindowsAzureActiveDirectoryCustomSingleSignOnApplication"
"WindowsAzureActiveDirectoryIntegratedApp"

Is there any script to export applications with tags to identify whether its a SAML or Oauth type ?

azure-active-directoryazure-ad-authentication-protocolsazure-ad-app-management
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered ·

Hello @DhilipanR-5584 · Thank you for reaching out.

You need to use below commands to fetch the enterprise applications based on the value specified in Tags attribute:

 Connect-AzureAD (sign in using global admin or application admin account)
 Get-AzureADServicePrincipal -All $true | Where-Object {$_.tags -eq "WindowsAzureActiveDirectoryGalleryApplicationPrimaryV1"}
 Get-AzureADServicePrincipal -All $true | Where-Object {$_.tags -eq "WindowsAzureActiveDirectoryCustomSingleSignOnApplication"}
 Get-AzureADServicePrincipal -All $true | Where-Object {$_.tags -eq "WindowsAzureActiveDirectoryIntegratedApp"}

Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I tried this oneline command "

Get-AzureADServicePrincipal -All $true | Where-Object { ($.Tags -contains "WindowsAzureActiveDirectoryCustomSingleSignOnApplication") -or ($.Tags -contains "WindowsAzureActiveDirectoryGalleryApplicationNonPrimaryV1")} | Select DisplayName, @{Name="AppType"; Expression={$apptype}} "

But for some reasons am not getting all the applications. I even tried your command and the output is same.


I have exported all the applications from App registrations -> All Application -> Download but it dont have the SSO type like SAML or OAuth

0 Votes 0 ·