Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Azure AD Reporting Api

Azure graph API wrapper for retrieving active directory reporting information.

Introduction

Simple and light way solution for accessing active directory reporting information in .NET projects. Currently only implemented report auditEvents but will implement the missing reports and filters as soon as I required this functionality. This also includes the release of a Nuget Package.

Requirements

Active Directory application and service principal - [details](https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-service-principal-portal/

Samples

Create a client:

using AzureADReportingApi;
using AzureADReportingApi.Http;
using AzureADReportingApi.Models;

var connection = AzureConnection.Create(
                "clientId",
                "clientSecret",
                "tenantDomain"
                );

var client = new AzureAdReportingClient(connection);

Request with default filters:

var auditEvents = client.GetAuditEvents();

Request with filter:

var auditEvents = client.GetAuditEvents(DateTime.UtcNow.AddDays(-5), DateTime.UtcNow);

About

Easy way to access Azure AD reports

Resources

License

Releases

No releases published
You can’t perform that action at this time.