Forum Discussion
TechThomas
Aug 25, 2021Copper Contributor
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/StartboardApplica...
- Aug 25, 2021
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.
pvanberlo
Aug 25, 2021MCT
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.
- TechThomasAug 25, 2021Copper Contributori found now the cmdlet to find the enterpriseapplications.
Get-AzureADServicePrincipal -all $true | Sort-Object DisplayName | Where-Object {$_.Tags -match "App"} - TechThomasAug 25, 2021Copper 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- pvanberloAug 25, 2021MCTAre 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.
- TechThomasAug 25, 2021Copper ContributorI also get receive large number of results, but when I filter to displayname, AppID or Object ID, I am missing some applications in the output, which I can see under enterpriseapplications in the admin center.
little bit strange, some user-specific apps are visible in the output and some are not visible.