question

cruise-6690 avatar image
0 Votes"
cruise-6690 asked cruise-6690 commented

Azure Active Directory ,Can you export logs to automatic timing to local without using event center and Monitor?

Azure Active Directory ,Can you export logs to automatic timing to local without using event center and Monitor? Or it can be transferred directly to an existing ES?

azure-active-directory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MarileeTurscak-MSFT avatar image
0 Votes"
MarileeTurscak-MSFT answered cruise-6690 commented

What sort of Azure AD logs are you looking for?

You can export all audit logs to a CSV file using Powershell.

1) You need to import the AzureAD Preview module and connect to Azure AD account

84132-image.png

2) Next you need to run : Get-AzureADAuditDirectoryLogs | Export-Csv -path C:\Reports.csv

27830-2.png

You can also export audit logs directly from the Portal.

https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/quickstart-download-audit-report

https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/quickstart-azure-monitor-route-logs-to-storage-account





image.png (28.7 KiB)
image.png (8.6 KiB)
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Is to want to be a month at a time to import into the local, automation,Don't need to export manually every time,Such an effect。

0 Votes 0 ·

Is to want to be a month at a time to import into the local, automation,Don't need to export manually every time,Such an effect。

0 Votes 0 ·

Audit logs and login logs

0 Votes 0 ·

Can we just have our usual PowerShell?Don't need a PowerShell plug-in or version of Azure

0 Votes 0 ·

Hello, do you have the screenshot of login? What are the requirements? What are the commands?

0 Votes 0 ·