Forum Discussion
sivapratap kurapati
Jan 30, 2018Copper Contributor
script to fetch Azure AD Applications and associated user and groups details in the tenant
Hi Team,
Please help in fetching user and group details for all the registered application in Azure Tenant to csv.
I was successful in listing out the applications using Get-AzureADApplicatio...
VasilMichev
Jan 31, 2018MVP
Your best option is to use the Get-AzureADServicePrincipal cmdlet - Get-AzureADApplication only returns applications your company has registered. As for the permissions/user assignments, Get-AzureADServicePrincipalOAuth2PermissionGrant is a good start, then you can add the missing information via other cmdlets. I have a sample script for this here: https://gallery.technet.microsoft.com/Azure-AD-Integrated-44658ec2?redir=0