Azure-Samples / azure-batch-samples

Azure Batch and HPC Code Samples
Other
261 stars 487 forks source link

Know which user launched a Job #249

Closed dedreira closed 5 years ago

dedreira commented 6 years ago

Hi all, is there a way to know which Active Directory user ran a job against an Azure Batch account authenticated with AAD? I'm asking this with billing purposes on my mind :) Thanks in advance!

alfpark commented 5 years ago

General questions about Batch should be asked here: https://github.com/Azure/Batch

You may be able to ascertain this information thorough AAD audit logs. Otherwise, you will need to track this information in your application.

Closing as this issue is not sample related.