Azure Enterprise APP -- Exctract Login

Angelo Bertolotti 21 Reputation points
2021-08-31T15:30:52.12+00:00

Good morning
Please move under the Azure forum.

I would need to extract the latest accesses for all Enterprise APPs for accuracy: User sign-in (non-interactive), Service Principal sign-in, Managed Identity Sign-in.

What command can I use? I have to extract a CSV.

Can you help me?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,733 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,751 Reputation points Microsoft Employee
    2021-09-01T23:47:31.46+00:00

    Hi @Angelo Bertolotti ,

    Thanks for using Microsoft Q&A !!
    You can get all these logs from Enterprise Application blade on Azure Portal under sign-logs blade and there you have option to download as csv.
    128394-image.png

    I don't think we have a PowerShell cmdlet available which can provide you all these different level of information, but you can get some sign-in logs by using Get- AzureADAuditSignInLogs under AzureADPreview module. You can redirect output of this cmdlet to a csv by using Export-Csv -
    Get-AzureADAuditSignInLogs | Export-Csv -Path .\AzureADSignInLogs.csv

    Please refer to the documentation for details.

    Thanks
    Saurabh

    1 person found this answer helpful.