Forum Discussion
Report Azure AD Application Usage
Hello together
I need to get the the report from Azure AD Application Usage
The following link shows this in the Admin Center
https://portal.azure.com/#blade/Microsoft_AAD_IAM/StartboardApplicationsMenuBlade/AllApps/menuId/
Is there a way to do this from within PowerShell (as it's part of a reporting "Suite") to be able exporting it to CSV/Excel in an easier way?
Can this be achieved using the Graph API Module for PowerShell?
Thank you for your Help and best regards
Thomas
TechThomas Generally, applications inside Azure AD are service principals, and you can get a list of all service principals by using the "Get-AzureADServicePrincipal -All $true" command using PowerShell and export those as a CSV file using the Export-CSV cmdlet. You can also have a look a this Graph API call.
7 Replies
TechThomas Generally, applications inside Azure AD are service principals, and you can get a list of all service principals by using the "Get-AzureADServicePrincipal -All $true" command using PowerShell and export those as a CSV file using the Export-CSV cmdlet. You can also have a look a this Graph API call.
- TechThomasCopper Contributori found now the cmdlet to find the enterpriseapplications.
Get-AzureADServicePrincipal -all $true | Sort-Object DisplayName | Where-Object {$_.Tags -match "App"} - TechThomasCopper Contributorthank you for your fast reply.
With "Get-AzureADServicePrincipal -All $true" it lists ServicePrincipal, but as soon as I compare the enterpriseapplications in the link I mentioned, lot of applications are unfortunately not listed- Are there any specific applications you are missing? When I run this against one of my tenants, it seems (but didn't manually check) I got well over 2000 apps. The default Microsoft ones are not shown in this list for example.