Get-azureADApplication using ObjectID
Hi All, I have exported a csv file by running Get-OrganizationAddIn cmdlet script , but with that file i am not able to find out the owners of these integradted apps. Now i am importing this CSV file into Get-AzureADApplication cmdlet but i am unable to list any results by using the filter for ServicePrincipalObjectID , I am thinking just because it is going through thousands of applications within the tenant, so any help would be really helpful. Below is the snippet:
$securityid = Import-Csv -Path C:TempOrgAddins-25Jul2024-162827.csv | select -ExpandProperty ServicePrincipalObjectId foreach($id in $securityid) { Get-AzureADApplication -ObjectId $id -all $true}
Hi All, I have exported a csv file by running Get-OrganizationAddIn cmdlet script , but with that file i am not able to find out the owners of these integradted apps. Now i am importing this CSV file into Get-AzureADApplication cmdlet but i am unable to list any results by using the filter for ServicePrincipalObjectID , I am thinking just because it is going through thousands of applications within the tenant, so any help would be really helpful. Below is the snippet: $securityid = Import-Csv -Path C:TempOrgAddins-25Jul2024-162827.csv | select -ExpandProperty ServicePrincipalObjectId foreach($id in $securityid) { Get-AzureADApplication -ObjectId $id -all $true} Read More