Accessing Security and Compliance with Azure Active Directory permissions

Eisenhaur, Liam 21 Reputation points
2020-07-22T14:31:10.253+00:00

I am building a console app that I have registered in Azure Active Directory. This app needs to be able to read Audit Logs and other data from Microsoft Security and Compliance. I am currently trying permissions in Microsoft Graph, but have been unsuccessful. Any help is appreciated.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,912 questions
Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,250 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,369 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,486 Reputation points
    2020-07-22T17:25:12.933+00:00

    @Eisenhaur, Liam Here is the official documentation for Graph API : https://video2.skills-academy.com/en-us/graph/overview

    Now what permissions you need, depends on what call you are making and what information it would fetch. You can navigate to different operations for various Azure Components and check which permissions are required to perform those operations. E.g. In order to list directoryAudit activities, you can navigate to the sections highlighted below and look for permissions needed to perform that operation:

    13345-image.png

    As per your requirement, you should consider exploring "Security" section in the left pane as well.

    -----------------------------------------------------------------------------------------------------------

    Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.

    1 person found this answer helpful.

  2. Vasil Michev 99,431 Reputation points MVP
    2020-07-22T15:20:38.227+00:00